Commit 7a96d61
fix(plugin): handle simplified step objects in retryFailedStep for workers
In `run-workers` mode, step events are serialized via `step.simplify()`
which maps `step.name` to `title` (not `name`). The `retryFailedStep`
plugin only checked `step.name`, which is `undefined` for simplified
step objects, causing a TypeError crash in the `ignoredSteps` loop.
Use `step.name || step.title` so the plugin works with both full Step
objects (in-process) and simplified ones (from workers).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6ec6690 commit 7a96d61
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
116 | 118 | | |
117 | | - | |
118 | | - | |
| 119 | + | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| |||
0 commit comments