You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression gate gap: upstream_suite_slice_snapshots (errors.snap) red since before 12374592 — errors.tests stdout collapses 112→9 lines under stdin=null; snapshot suites absent from CI #333
Found during fix16 recovery (fix16 verified NOT the cause: the snapshot test fails identically at 1237459, one commit before fix16).
The errors suite snapshot fails in the regression runner (scratch dir + Stdio::null stdin + minimal PATH): expected 107 lines (incl. two 'after f' from errors1.sub invocations), actual 9 lines (declare -fr func / after f / / 1 / 1 / 1 / after return / after trap / end). Bisect facts:
Running errors.tests in third_party/bash/tests with terminal stdin: 111-112 lines (matches snapshot shape).
Same suite in a scratch copy with stdin </dev/null: 9 lines — the ${THIS_SH} ./errorsN.sub child invocations at tests:351+ stop producing stdout, while -c invocations still work.
Each errorsN.sub runs fine standalone with null stdin.
Also: the snapshot suites (upstream_suite_slice_snapshots, 13 suites incl. errors) are NOT in CI — the nextest switch (40fc2fa) covers only --lib and cli_tests, so this gate has been dark. Fix both: the stdin bug and the CI gap (add --test regression to the nextest job).
Activity
caomengxuan666 commentedon Sep 29, 2026
fix(exec): command-builtin re-dispatch never sets the posix special-b…