Repository navigation
Commit 1422af0
test(workflows): cover reserved-id collision through engine.execute()
The existing collision tests build StepContext(reserved_step_ids=...)
by hand, so they bypass _collect_reserved_step_ids and its execute()
wiring. Add an end-to-end test (sequential and concurrent) where an
outside step and a fan-out template share the id `leaf`, asserting the
outside result survives in persisted state and in the live context seen
by a later `steps.leaf` reference. Verified it fails (both variants)
when the reserved_step_ids wiring in execute() is removed.
Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 54a03a2 commit 1422af0
1 file changed
Lines changed: 54 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7168 | 7168 | | |
7169 | 7169 | | |
7170 | 7170 | | |
| 7171 | + | |
| 7172 | + | |
| 7173 | + | |
| 7174 | + | |
| 7175 | + | |
| 7176 | + | |
| 7177 | + | |
| 7178 | + | |
| 7179 | + | |
| 7180 | + | |
| 7181 | + | |
| 7182 | + | |
| 7183 | + | |
| 7184 | + | |
| 7185 | + | |
| 7186 | + | |
| 7187 | + | |
| 7188 | + | |
| 7189 | + | |
| 7190 | + | |
| 7191 | + | |
| 7192 | + | |
| 7193 | + | |
| 7194 | + | |
| 7195 | + | |
| 7196 | + | |
| 7197 | + | |
| 7198 | + | |
| 7199 | + | |
| 7200 | + | |
| 7201 | + | |
| 7202 | + | |
| 7203 | + | |
| 7204 | + | |
| 7205 | + | |
| 7206 | + | |
| 7207 | + | |
| 7208 | + | |
| 7209 | + | |
| 7210 | + | |
| 7211 | + | |
| 7212 | + | |
| 7213 | + | |
| 7214 | + | |
| 7215 | + | |
| 7216 | + | |
| 7217 | + | |
| 7218 | + | |
| 7219 | + | |
| 7220 | + | |
| 7221 | + | |
| 7222 | + | |
| 7223 | + | |
| 7224 | + | |
7171 | 7225 | | |
7172 | 7226 | | |
7173 | 7227 | | |
| |||
0 commit comments