Commit 89e01c1
fix(processing-chain): cast processors to plain dict at entry
build_processing_chain stored values via 'processors[key] = node'. When
processors is a dbetto AttrsDict (which CLI configs are, after
Props.read_from), __setitem__ wraps any plain dict in a fresh
AttrsDict via __init__'s copy loop, decoupling the stored entry from
the local reference. Later in-place mutations like node["prereqs"] = ...
then never reached the entry in processors[key], so
resolve_dependencies failed with KeyError: 'prereqs'.
Cast processors to a plain dict once at the top of the function so all
subsequent assignments behave normally, regardless of the input type.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent d57a1e7 commit 89e01c1
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2372 | 2372 | | |
2373 | 2373 | | |
2374 | 2374 | | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
2375 | 2381 | | |
2376 | 2382 | | |
2377 | 2383 | | |
| |||
0 commit comments