Files
ersatztv/scripts
timothyandClaude Opus 5 77317e5c71 test(785): pin the pre-push premise to both platforms, measured not assumed
The docstring said "git 2.55, macOS; the same holds on Linux". The second half was an
assertion, and this repo's canonical disaster (#775, the BOM guard) is precisely a guard
that behaved differently on the platform nobody measured — macOS had `xxd`, the Linux
runner did not, and it was fail-open there for months.

So it was measured on the runner host (Linux, git 2.47.3) rather than reasoned about:

  * git exports GIT_DIR=<repo>/.git/worktrees/<wt> to pre-push on a push from a worktree
  * `git rev-parse --show-toplevel` from web/ with that GIT_DIR answers `<wt>/web`
  * the nested `git diff --exit-code` reports exit 0 on a drifted file

and all three new suites were run there: 25 passed. Disarming the `unset` on that host
reddens 4 of the 9, the same four as on macOS.

Refs: #785
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 21:29:00 +02:00
..
2024-01-15 10:29:07 -06:00
2024-01-16 13:28:46 -06:00