B-O4XU-flaky-full-monorepo-bun-test-in-the-quality-roster-order
Surfaced during the T-75UD release dry-run: the roster’s bare bun test (whole monorepo, ~2718
tests / 265 files) intermittently exits non-zero while immediate bare re-runs are 0-fail / exit 0
(verified twice). No named (fail) — it presents as a non-deterministic run-level failure. Likely a
pre-existing order/timing/port flake: candidates are the dashboard-server tests (bind TCP ports;
sdlc dashboard list PID rows appear in output) and the lease tests (mutate real refs/sdlc/* git
refs). Fix direction: identify the offender (run with a fixed seed / —rerun-each), then isolate it
— serialize or ephemeral-port the dashboard tests, and scope lease tests to a throwaway git dir.
Matters because a flaky suite will intermittently red the release gate this milestone just stood up.