Repository navigation
fix(feeder): tracked arm stops the stdin stream on a parse error (Fixes #950) - #952
Merged
Merged
Conversation
…#950) The stdin feeder's tracked (history/alias) arm recorded its stop verdict from the run classification's unwind alone. A syntax error produces no unwind, and Session::run has already drained the executor pendings, so the feeder saw no stop record and read past a bad batch, exiting 0 where GNU stops the stream with status 2. The fold now also takes `classification.parse_error` — the same parse-error term the unclosed/stray arms fold. Pins: tests/issue950_tracked_arm_parse_error.rs drives the filed stream end to end through the real binary (alias-live batch pairs an alias call with a stray close; feeder stops, rc 2, nothing after the bad batch runs), plus a clean-tracked-batch companion. 本 PR 删除了什么: nothing deleted — one fold condition widened.
caomengxuan666
marked this pull request as ready for review
November 6, 2026 09:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #950
fix(feeder): tracked arm stops the stdin stream on a parse error (Refs #950)
The stdin feeder's tracked (history/alias) arm recorded its stop
verdict from the run classification's unwind alone. A syntax error
produces no unwind, and Session::run has already drained the
executor pendings, so the feeder saw no stop record and read past
a bad batch, exiting 0 where GNU stops the stream with status 2.
The fold now also takes
classification.parse_error— the sameparse-error term the unclosed/stray arms fold.
Pins: tests/issue950_tracked_arm_parse_error.rs drives the filed
stream end to end through the real binary (alias-live batch pairs
an alias call with a stray close; feeder stops, rc 2, nothing
after the bad batch runs), plus a clean-tracked-batch companion.
本 PR 删除了什么: nothing deleted — one fold condition widened.