Commit 8721d7c
committed
Fix degrade extra-outputs key in fan-out example
The fan-out-with-retry degrade mode supplied its extra_outputs value
under the parent field name (`topics`) in degraded_update, but
proposal 0066 reads degraded_update in the subgraph's field-name space.
The subgraph field is `topic` (extra_outputs={topics: topic}), so the
parent-keyed entry was ignored, leaving the slot null (0069) and
tripping BatchState.topics: list[str] validation in degrade mode.
Key the degraded value by the subgraph field `topic` (the doc
walkthrough already documents `topic: other`). Caught running
MODE=degrade against the v0.14.0rc1 artifact; the example smoke test
only exercises fail_fast, so it slipped through #161.1 parent bcbf932 commit 8721d7c
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | | - | |
341 | | - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
342 | 345 | | |
343 | | - | |
| 346 | + | |
344 | 347 | | |
345 | 348 | | |
346 | 349 | | |
| |||
0 commit comments