Repository navigation
fix(gate): pin GNU-side locale + record oracle identity in the summary - #1729
Merged
Merged
Conversation
…mmary Second CI-only skew after the MSYS fix: with the GNU leg finally running on the runner, 12 of 93 rows mismatched — help/version rows (suspected quote-style locale skew: fresh distro C vs the corpus' C.UTF-8 attestation) and 8 rc-direction rows (-h accepted, brace/gap validation, format abbreviation) that smell like a different coreutils build than the 24.04/9.4 box the corpus was attested on. - .gnu.sh bodies now export LC_ALL=C.UTF-8 (GATE_GNU_LOCALE overridable) so oracle output bytes match the attestation locale - the teed summary now carries an oracle identity block (distro PRETTY_NAME + per-subset-command --version first line) so every CI run states which oracle it compared with — the evidence needed to adjudicate version-sensitive rows instead of guessing Verified locally (Git Bash, exact CI shell): subset still 81/0 GNU + 12/0 win, identity block prints csplit/pathchk/ptx 9.4 + Ubuntu 24.04.4 LTS.
caomengxuan666
force-pushed
the
fix/gate-oracle-identity
branch
from
November 14, 2026 12:16
1ed8876 to
48de444
Compare
caomengxuan666
added a commit
that referenced
this pull request
Nov 15, 2026
… fixture prefixes (#1767) Third family of the #1767 first-honest-scoring sweep (G2 report: devin-out-G2.md). All three verdicts are runner/oracle environment rows — zero rust2 code changes: - nice/nc01-bare strict->exit: the stdout IS the machine-bound niceness. GH runners start worker processes BelowNormal (actions/runner-images#7663), so both Windows sides print 10 while the WSL oracle prints 0 — rust==cpp, both != gnu, exactly the ledger signature. exit keeps the GNU rc anchor (rc is always 0); precedent mk19/sl20/sy01. - hostid/ho17-flagish-operand exit->win: g_rc=124 is the timeout(1) kill — a fresh CI WSL lacks /etc/hostid, gethostid() falls to name resolution and stalls past 10s (ho01-plain 124 proves it is not the -- spelling). win = rust-vs-cpp rc parity on the platform-bound machine-id output; precedent wa04/gr02. The workflow also pre-seeds /etc/hostid non-fatally (printf 4 bytes -> GNU prints 21483247, verified end-to-end locally) — an oracle-honesty fix in the same class as the #1766 distro pin and #1729 locale pin. - posix shard never ran: the workflow filtered --posix-mode out of progs, leaving preflight 'no command names given' exit 2 and no ledger. Preflight now takes the program set from cases-posix/*.tsv; run-gate.sh pre-creates the three GNU sandbox prefix mirrors, clearing chp01/mkp01 pendings. Local shard run 30/30 (4 strict + 26 posix-ok, 0 pending). Verified: run-gate.sh nice hostid -> GNU-gated 31 pass / 0 fail (the 2 local win-row fails are the local CPP_BIN's own 127 artifact, not present in the CI runtime package); YAML safe_load OK.
caomengxuan666
added a commit
that referenced
this pull request
Nov 15, 2026
…visible to the rust EEXIST check (#1767) (#1774) * fix(gate): mn03 fixture becomes a plain file — MSYS fifo emulation is invisible to the rust EEXIST check (#1767) GNU mknod fails EEXIST when the path exists as ANY node type (probed: plain file and fifo alike, rc 1). The row's fixture used mkfifo — the MSYS fifo emulation keeps the pipe outside the filesystem path, so the rust mknod's GetFileAttributesW EEXIST check never saw the fixture on the CI runner (mn03 r_rc=0 vs g_rc=1, ledger 43719808812 fs-owner shard). A plain-file fixture is byte-deterministic on every side. Verified: run-gate.sh mknod → 28/0 GNU-gated on the fixed fixture (GNU oracle 9.4 / Ubuntu 24.04.4). * fix(gate): GNU 9.4 sweep — nice/hostid rows + posix shard preflight + fixture prefixes (#1767) Third family of the #1767 first-honest-scoring sweep (G2 report: devin-out-G2.md). All three verdicts are runner/oracle environment rows — zero rust2 code changes: - nice/nc01-bare strict->exit: the stdout IS the machine-bound niceness. GH runners start worker processes BelowNormal (actions/runner-images#7663), so both Windows sides print 10 while the WSL oracle prints 0 — rust==cpp, both != gnu, exactly the ledger signature. exit keeps the GNU rc anchor (rc is always 0); precedent mk19/sl20/sy01. - hostid/ho17-flagish-operand exit->win: g_rc=124 is the timeout(1) kill — a fresh CI WSL lacks /etc/hostid, gethostid() falls to name resolution and stalls past 10s (ho01-plain 124 proves it is not the -- spelling). win = rust-vs-cpp rc parity on the platform-bound machine-id output; precedent wa04/gr02. The workflow also pre-seeds /etc/hostid non-fatally (printf 4 bytes -> GNU prints 21483247, verified end-to-end locally) — an oracle-honesty fix in the same class as the #1766 distro pin and #1729 locale pin. - posix shard never ran: the workflow filtered --posix-mode out of progs, leaving preflight 'no command names given' exit 2 and no ledger. Preflight now takes the program set from cases-posix/*.tsv; run-gate.sh pre-creates the three GNU sandbox prefix mirrors, clearing chp01/mkp01 pendings. Local shard run 30/30 (4 strict + 26 posix-ok, 0 pending). Verified: run-gate.sh nice hostid -> GNU-gated 31 pass / 0 fail (the 2 local win-row fails are the local CPP_BIN's own 127 artifact, not present in the CI runtime package); YAML safe_load OK.
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.
Follow-up to #1721's MSYS fix. With the GNU leg actually running on the runner, 12/93 rows mismatch: help/version rows (locale quote skew suspected — fresh distro C vs the C.UTF-8 attestation locale) and 8 rc-direction rows that smell like a different coreutils build than the 24.04/9.4 attestation box.
Verified locally (Git Bash): 81/0 + 12/0, identity block prints 9.4 / Ubuntu 24.04.4 LTS.