Skip to content

fix(gate): pin GNU-side locale + record oracle identity in the summary - #1729

Merged
caomengxuan666 merged 1 commit into
mainfrom
fix/gate-oracle-identity
Nov 14, 2026
Merged

caomengxuan666 merged 1 commit into
mainfrom
fix/gate-oracle-identity

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

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.

  • .gnu.sh bodies export LC_ALL=C.UTF-8 (GATE_GNU_LOCALE overridable) — kills locale-byte skew deterministically
  • summary.txt now carries an oracle identity block (distro + per-command coreutils version) — the next CI run states exactly which oracle it compared with, giving evidence to adjudicate the version-sensitive rows instead of guessing

Verified locally (Git Bash): 81/0 + 12/0, identity block prints 9.4 / Ubuntu 24.04.4 LTS.

…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
caomengxuan666 force-pushed the fix/gate-oracle-identity branch from 1ed8876 to 48de444 Compare November 14, 2026 12:16
@caomengxuan666
caomengxuan666 merged commit ce1533d into main Nov 14, 2026
8 of 10 checks passed
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant