Repository navigation
test(regression): re-record errors/exp upstream-suite snapshots (Refs #4288) - #4289
Merged
Merged
Conversation
…4288) Convergence to GNU bash 5.3.20, not a regression. Both diffs were verified byte-for-byte against the pristine 5.3.20 oracle and current rubash (see lane-master-ci-red-2026-11-30.md): - errors.snap: `ivar -3` (`${!1:-${1}}` with $1=`-3`) no longer outputs `-3`; GNU and current rubash both report bad substitution / invalid variable name with empty stdout. The old snapshot recorded the loose fallback (two lines, normal + `-o posix` runs of errors6.sub). Suspected engine change: 975af9c indirect expansion (2026-11-09) — not bisect-confirmed. - exp.snap: six `$xxx""`-style concatenations (exp.tests:82-93) now keep one empty word (`argv[1] = <>`), matching GNU: a quoted empty string keeps the word, only a bare unquoted empty expansion is dropped. The old snapshot (recorded 10-26) dropped all six. Suspected engine change: 568dce3 word-walk / quoted-result IFS protection (2026-11-03) — not bisect-confirmed. Bytes are the runner-true recording from the goldens job of master run 46312294455 (artifact regression-snapshots.zip, ID 15330985687), recorded with RUBASH_REGRESSION_RECORD=1 per the re-record protocol in tests/regression.rs; the other 11 snapshots in that artifact are byte-identical to the committed ones. The snapshot tests are #[cfg(windows)], so the recording could not be reproduced on the macOS lane host; the artifact is the protocol-prescribed source. Refs #4288 (not Fixes).
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.
UNVERIFIED-BY-CAPTAIN
test-only re-record of two upstream-suite snapshots. No source change.
Why: the two snapshots recorded pre-convergence behavior; current rubash matches GNU bash 5.3.20 on both faces (diagnosis:
lane-master-ci-red-2026-11-30.md):errors.snap:ivar -3(${!1:-${1}}with$1=-3) no longer outputs-3; GNU and current rubash both report bad substitution / invalid variable name with empty stdout (2 lines: normal +-o posixruns oferrors6.sub).exp.snap: six$xxx""-style concatenations (exp.tests:82-93) now keep one empty word (argv[1] = <>), matching GNU's rule that a quoted empty string keeps the word and only a bare unquoted empty expansion is dropped.Source of bytes: the runner-true recording from the goldens job of master run 46312294455 (artifact
regression-snapshots.zip, ID 15330985687), recorded withRUBASH_REGRESSION_RECORD=1per the re-record protocol intests/regression.rs. The other 11 snapshots in that artifact are byte-identical to the committed ones; only these two files change. The snapshot tests are#[cfg(windows)], so the recording could not be reproduced on the macOS lane host — the artifact is the protocol-prescribed source ("prefer it over transcribing the truncated 40-line panic window by hand").Caveat for the captain: the artifact was recorded at master
5ff7280f; this PR is based ona72db665(adds #4262). #4262's diff was reviewed hunk by hunk: its expansion-path changes only alter the glob-pattern argument at redirect-target and for-loop-word boundaries (falling back to the identical expanded string when the raw source carries no literal glob pattern), and neither re-recorded face sits on those paths — but the snapshot slices are Windows-only, so the Windows goldens job on this PR is the authoritative check that the bytes still hold at this base. If goldens fail here, a fresh Windows re-record is needed (devin-windows tunnel is currently down).Refs #4288 (not Fixes).