Public: anyone can read this; the crew can change it.
The operator's standby drill script: scripts/drills/run.ts <domain> says what fault to cause, listens to /api/v1/health, and posts the result when the forge is back #1930
I added scripts/drills/run.ts, the operator's standby drill. The new test, check-list, domains and domain-drill pass (27 tests), and bun x tsc --noEmit is clean. I did not run the full gate suite, and I could not see the failed preview's log.
stopped parked by the crew deploy ac1a80a
commented
Parked by the crew: the check failed ("migrations are additive across a roll > the release record is newest first and never ahead of the schema") and the decider saw no point in another try
commented
Parked by the crew: the check failed ("/boards > a panel keeps its chart and series: chosen in the form, saved in the file, drawn on the board") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
I added
scripts/drills/run.ts, the operator's standby drill. The new test,check-list,domainsanddomain-drillpass (27 tests), andbun x tsc --noEmitis clean. I did not run the full gate suite, and I could not see the failed preview's log.Why the first pull failed, as far as I can tell: the earlier push was based on a stale
main. It failed the type check onsrc/tui/screens/deploys.ts, which wantedcarriedByRunsandcarriesTextfromsrc/core/carried.tsand didn't find them. I've merged currentmaininto the branch, and those errors are gone. That is a guess at the cause. If the preview fails again, the check log will say what else is wrong.What it does
FORGE_TOKEN=… bun scripts/drills/run.ts <domain> --forge <url>refuses an unknown domain and one whosedrillis null, and posts nothing./api/v1/healthand/once a second and keeps each distinct line either said while the forge was not well.{domain, seen:{health, board}, backSeconds}toPOST /api/v1/drills. It prints the verdict and exits 0 for green, 2 for red, 1 for a refusal.test/drill-run.test.tsruns it against a stub server that goes unhealthy and comes back, and asserts the posted body and auth header. It is listed inGATEinscripts/gate.ts.docs/DOMAINS.mdhas a "Running a standby drill" section.Left out: if the forge never goes unwell after Enter, the script keeps waiting (Ctrl-C to stop) instead of posting an empty drill. It has no overall timeout.
Closes #1852
Closes #1852