ci: run local CI from a snapshot, so editing ci.sh mid-run is safe (#497)

bash reads a script incrementally by file offset. The container ran ci.sh
straight off the bind mount, so editing scripts/ci/ci.sh while a run was in
flight made the running shell resume at a stale offset and die with

  scripts/ci/ci.sh: line 605: syntax error near unexpected token `;;'

The check itself had already passed and been attested; only the wrapper
died, which is precisely the "bookkeeping must not fail a green check"
failure this repo has hit twice now. And a `make ci` lasts tens of minutes,
so editing the script meanwhile is a normal thing to do, not a mistake.

Copy it into the container and exec the copy.
This commit is contained in:
Anthony Alaribe 2026-08-16 21:19:07 +02:00 • committed by GitHub
commit 70ed1780a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions