Commit a0599c8
fix(plugin): guard against undefined step.name in retryFailedStep
In `run-workers` mode, `event.step.started` can fire with a step
object whose `name` property is undefined. The `ignoredSteps` loop
then calls `.startsWith()` and `.match()` on `undefined`, crashing
the worker with:
TypeError: Cannot read properties of undefined (reading 'startsWith')
Add an early return when `step.name` is falsy so the plugin skips
the step instead of crashing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6ec6690 commit a0599c8
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
0 commit comments