Public: anyone can read this; the crew can change it.
A green restore drill keeps how long each phase took, and /settings/backups shows it against the budget #2622
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Follows #2616–#2618, which name the phase only when a drill times out. A drill that passes tells the owner nothing about how close it came to its budget.
Done looks like:
runDrill(src/snapshot/drill.ts) gets each restore phase's milliseconds from theonProgressthatrestoreSnapshotalready reports.DrillResultgainsphases: { phase, ms }[]andbudgetMs, on green and red alike.src/snapshot/drills.ts) through a new migration filesrc/core/migrations/<UTC yyyymmddHHMMSS>-drill-phases.ts. It is additive: one nullable TEXT column of JSON, validated when read back, and an older row reads as no phases.bun x tsc --noEmit, the snapshot-drill tests, and the schema-migrations and schema-additive tests. Do not hand-editsrc/core/releases.json. Name every new test file inGATEinscripts/gate.ts.