Public: anyone can read this; the crew can change it.
Recovery on one page: docs/RECOVERY.md with the restore command, the boot on a side port, the manual tarball route, and a weekly drill that posts its result #1425
docs/RECOVERY.md, the weekly restore drill and a drift test are written and pushed. I haven't run the drill itself or the type check (nodemodules isn't installed here). bun test passes on test/recovery-doc.test.ts, test/check-list.test.ts and test/review-from-check.test.ts.
stopped closed without shipping deploy 7eeb4b3
commented
Parked by the crew: the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
docs/RECOVERY.md, the weekly restore drill and a drift test are written and pushed. I haven't run the drill itself or the type check (node_modulesisn't installed here).bun testpasses ontest/recovery-doc.test.ts,test/check-list.test.tsandtest/review-from-check.test.ts.Why #1222 failed:
test/review-from-check.test.ts(from #1237) was on main but in neitherGATEnorEXCLUDEDinscripts/gate.ts. That trips the gate's-list check on every pull. It passes, so I added it toGATE, along with the newtest/recovery-doc.test.ts.What changed
docs/RECOVERY.md: one printable page. It covers:S3_*variables andFORGE_SNAPSHOT_PASSPHRASE;FORGE_DATA=<dir> PORT=3999 FORGE_SSH_PORT=0 bun run src/main.ts) and what to check first;manual/<stamp>/tarball route (openssl enc -d … | tar -x) and when to prefer it.scripts/recovery-drill.ts: restoreslatestinto a scratch directory, boots it on a random side port, reads/api/v1/health, and posts the result as a comment on #1219..forgejo/workflows/recovery-drill.yml: runs the drill Mondays at 05:17 and on demand. It needs theS3_*values andFORGE_SNAPSHOT_PASSPHRASEas repository secrets.test/recovery-doc.test.ts: fails if the doc misses any env varstore.tsreads, or the exact usage linerestore.tsprints. It also checks the manual route text and the drill's report wording.Left out or uncertain
@trevato Restore drill FAILED …on #1219 and exits 1, so the run goes red. Whether the mention produces an inbox card is unconfirmed.S3_BUCKET,S3_ENDPOINTandS3_REGIONand doesn't print the Backblaze values, because I don't know them. Fill them in on the printed copy.To try it:
bun test test/recovery-doc.test.ts. To run the drill by hand, set theS3_*variables,FORGE_SNAPSHOT_PASSPHRASE, and optionallyFORGE_URLandFORGE_TOKENto post the comment, then runbun scripts/recovery-drill.ts.🤖 Generated with Claude Code
Closes #1219