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

The board warns when a green restore drill used more than 80% of its budget #2623

shipped production is serving it opened this has it
opened this

So the owner hears of a slowing restore a week before it turns red, not after.

Done looks like:

  • [ ] A pure function in src/snapshot/verdict.ts takes the newest drill. It returns one board line when the drill was green and its ms passed 80% of budgetMs, naming the slowest phase: "The last restore drill passed with 2 min to spare; bundles took 9 min of it." It returns none otherwise, and none for an older drill without a budget.
  • [ ] The line uses the same cause (drill) and href (/settings/backups) as the red drill's line, and goes away once a drill passes under 80%.
  • [ ] Tests: 79%, 81%, red, and no budget.
  • [ ] Run bun x tsc --noEmit and the drill verdict and board tests.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs