Files
fleet/scripts
5dfdb1980f fix(ci): the hosted-Supabase test died on the runner instead of reporting (#5)
CI went red on main with exit 128 and no failure line — the suite stopped
mid-file, naming nothing.

Two causes, both mine. Sourcing the audit to get at its pure helpers also runs
its `set -euo pipefail` in the test's shell, so the first command that failed
took the whole suite with it. And the fixture repo committed with whatever git
identity happened to be lying around; a GitHub runner has none, so `git commit`
exits 128. Locally both were invisible: my identity is configured, so nothing
ever failed at that line.

A test suite whose job is to run commands that fail must not die on the first
one. Take -e back after sourcing, keep -u and pipefail, and give the fixture an
explicit identity so it does not care what the machine has.

Verified the way it actually breaks, not the way it passes:
HOME=$(mktemp -d) GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null
reproduces exit 128 before the fix and 28/28 after.


Claude-Session: https://claude.ai/code/session_018waGt1ieA9TjpscqrbrnGb

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 09:03:20 +00:00
..