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

A maintenance duty files one issue when the nightly backup is older than 36 hours #13331

shipped production is serving it opened this has it

Landed in pull #13349 · run

opened this

Intent: a missed backup is loud once, not silent.

Done:

Files: src/maintain/duties/backup_age.ts, src/maintain/registry.ts, test/maintain-backup-age.test.ts Risks: read only file mtimes under the backup directory; no shelling out. Suggested: torque.

commented

Reviewed pull #13349 at its head: ticked A duty in src/maintain/duties reads the newest backup's time and files one issue (deduplicated while open) naming the age and the path when over 36 hours.; Registered in the duty registry; one row on the maintenance board.; A test with an injected clock proves once-only and quiet when fresh..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs