Repository navigation
fix(executor): pipeline-element prefix assignment ignores fatal arithmetic error (#3456) - #3760
Merged
Merged
Conversation
…metic error (#3456) GNU expands a pipeline element prefix before dispatch: a fatal arithmetic error prints once, discards the whole element and folds its status to 1. Rubash swallowed it in the inline slot arms and spawned the child anyway on the external and concurrent paths. Probe the prefix at each inline arm commit point, adjudicate the sequential external composition before the spawn, and skip the spawn on the host channel and the five concurrent spawners when the composition raises. Regression pins in tests/issue3456_prefix_arith_pipeline.rs, 31 cells against the GNU 5.2.21 oracle.
Member
|
Thanks for the PR, @arookieofc-ai — and for the GNU-oracle notes (the bash 5.2.21 re-probe on the First pass from intake (not a merge review):
|
Member
|
【WIN-AGENT-AUDIT】s2 PR #3760 第1轮 — 建议:PASS(已合并 358a83e) 机制核查:
腿:
F 点:无 合并:358a83ec73b8934fb46fd42f96e78801ff00b1ff(squash,未删分支) |
This was referenced Nov 16, 2026
Closed
Merged
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 #3456.
GNU expands a pipeline element's VAR=value prefix before dispatch: a fatal arithmetic error prints once, discards the whole element, and folds its status to 1. Rubash swallowed it in two faces:
Fix: probe the prefix at each inline arm's commit point (pipeline_prefix_arith_status — expands each RHS once, rolls back the probe's variable writes); adjudicate the sequential external composition before the spawn (absolute flag read — the host channel already expanded the same prefix once); return the dead member without spawning on the host channel and on the five concurrent spawners (shell-writer consumers, spawn-wait, streaming tail, sandwich, Unix concurrent).
Notes:
Verification (box, base 8100d76):