Commit d883a48
fix(flows): reject an explicit null step_values directive
The guard returned early on a falsy directive, so {'step_values': None}
passed validation — and because the reserved key is excluded from
ignored-key reporting, the walk then applied the caller's other fields and
returned a clean success for a directive that did nothing. Key PRESENCE is
the test, so an explicit None now falls through to the not-an-object
rejection.
Found by CodeRabbit review on #2256.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012d29UJTiH4Uy2Pm37SBPtr1 parent 4ab5979 commit d883a48
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
856 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
857 | 860 | | |
| 861 | + | |
858 | 862 | | |
859 | 863 | | |
860 | 864 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1235 | 1235 | | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | | - | |
1239 | | - | |
| 1238 | + | |
| 1239 | + | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
| |||
0 commit comments