Commit 74f6842
committed
flow: reset static BodyThrowEdges at startup (CodeRabbit — sticky in-process state)
BodyThrowEdges is static and was only ever SET, so a prior IN-PROCESS invocation
with --body-throw-edges could leak into a later run that did not request it (the
CLI normally runs as a fresh process, but a static set-once field is fragile if it
is ever embedded/tested in-process). Reset it to false before arg parsing. The other
config (emitEvents/flowLocals/reportStats) are locals, re-initialized each call, so
only this static field needs the reset.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rg8kSk1YT14x7A1vo5zgED1 parent 47ef5f8 commit 74f6842
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
0 commit comments