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

A migration is proven against production's data, and a failed one says which #29

shipped production is serving it opened this has it
opened this

Pull #16 died as start: exited with code 1 before answering with a stack at the serve() call — a migration failing on a preview's copy of production data, reported as a stack trace nobody could act on. Every issue still on the map adds a migration, so make this failure loud, cheap to reproduce, and caught before it ships.

What done looks like

Files I expect to change: src/db.ts, src/db.test.ts, forge.json, AGENTS.md, README.md.

Risks: do not edit a migration that has run to make a test pass — if one is wrong, the fix is another migration. Keep the --check run pointed at a temporary directory so the check never touches real data. The error text goes to stderr and names the migration index and SQLite's message, nothing about a person or a row.

Fit: Hearth — a failure that says what broke, and a check that catches it before a person does. A person assigns; I do not.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs