gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc934361ac934361a|||PR tests: gates fail fast when the app exits during startmrec934361a/missions/FF1-gate-failfast.md

2.0 KB

  1. # FF1: gates fail fast when the app exits during start
  2. Task (Tracker's later step from 2026-11-08, hybriel#338 finding): "tests/browser.mjs startServer should fail fast and print the log when the server exits."
  3. Tracker's reading (unconfirmed): every gate that spawns bin/hybriel and then polls for up to 150 s (tests/browser.mjs startServer ~l.287, franchises.mjs ~l.103, mobile.mjs ~l.65, pager.mjs ~l.67, identkit.mjs ~l.42; check for others with `grep -n "did not come up" tests/*.mjs`) must stop polling at once when the spawned process exits, and throw an Error with the exit code/signal and the collected stdout+stderr log. Same message style as today. A shared helper in an existing tests/*.mjs file is fine if it makes the diff smaller; no new behaviour beyond this, no other cleanup.
  4. ## Rules
  5. - Read /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md fully. Gate files may be .mjs; no app (.hl) change.
  6. - Scratch only /media/STORAGE/claude-scratch/tracker/FF1/ (worktree there: `git worktree add -b ff1-gate-failfast /media/STORAGE/claude-scratch/tracker/FF1/wt main`; copy bin/ from main's worktree, bin is not in git? check `git ls-files bin | head`). Port 8702 (check `ss -ltnp`; never 8700).
  7. - Gates: all 11 in deploy.sh GATES, LC_ALL=C, under `flock /media/STORAGE/claude-scratch/tracker/gates.lock`, one run at a time, starts wait >=120 s. All 0 failed.
  8. - Proof of the new path: once, with a deliberately broken copy (e.g. a scratch copy of the worktree where project.hl has a syntax error, or bin/hybriel replaced by a script that prints a line and exits 3) show that browser.mjs fails within a few seconds and prints the log and exit code. Record the time and output.
  9. - Commit on the branch with subject starting exactly `|||PR ` (e.g. `|||PR tests: gates fail fast when the app exits during start`). Do NOT push, merge or deploy; no tickets, LOG or STATUS.
  10. - Stop everything you started; list it. Report /media/STORAGE/claude-scratch/tracker/FF1/REPORT.md; final message <=6 lines (commit sha, files, gates each, proof timing).
  11. - Limit ~40 requests.

Branches

Latest commits

  • c934361a|||PR tests: gates fail fast when the app exits during startmre
  • d714ae42Log/status: AP56 closed out, FF1mre
  • a429d088Mission FF1mre
  • 03bbfba3Log: AP56c causemre
  • 24845fe3Log: AP56b result, AP56cmre
  • 6a6d71eaLog: gitoria membershipmre
  • 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
  • 6bb7c20estatus: window 2026-11-09mre
  • 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
  • e84586a7Mission AP56bmre
  • 15917f03Record PR workflow rule (gitoria#50)mre
  • 942ac995status: paused workers statemre
  • 44b934e5log: respawn cleanupmre
  • 03a80097Log: Anton GC A/Bmre
  • c7cdef62Log: Apollo STOP, workers pausedmre
  • d0c083fbLog: usage stopmre
  • c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
  • 1eb6f1a1Missions AP56, BS1mre
  • 4871f8adLog: AP52 live on day52, browser gate greenmre
  • d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre