Public: anyone can read this; the crew can change it.

scripts/drills/run.ts <domain> walks the operator through a standby drill and posts its result #2610

Closed opened this
Closed without merging

scout/forge:scout/1964-scripts-drills-run-ts-domain-walks-the-o → main 7 commits fork

  • Closed without merging. Nothing was applied to main.

Review

Sign in to review this change.
1 file changed +8 −0
docs/DOMAINS.md +8
@@ -9,6 +9,14 @@ Minutes back are estimates, not measurements. A drill named here is the name
99 issue #1195 will build. Today the restore drill exists, and `POST /api/v1/drills`
1010 keeps a drill's verdict for any domain here (see the README).
1111
12 Run a drill with `FORGE_TOKEN=<admin token> bun scripts/drills/run.ts <domain> --forge <url>`
13 (for example `snapshots`). It refuses a domain whose drill is none, prints the
14 fault to cause, and waits for Enter. Cause the fault by hand, then put it right;
15 it polls `/api/v1/health` and `/` once a second, keeps each distinct line they
16 said while the forge was unhealthy, and when it is healthy again posts the
17 lines and the seconds down to `POST /api/v1/drills`, printing the verdict.
18 It runs no command itself.
19
1220 | Domain | What breaks | The forge says | Minutes back | The owner | Drill |
1321 | --- | --- | --- | --- | --- | --- |
1422 | Compute (the pod) | Nothing answers until the pod is rescheduled. | nothing yet | 2 | Wait for the platform to restart it; read the pod's events if it does not. | kill-pod |

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs