Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #548 +/- ##
==========================================
- Coverage 83.08% 83.08% -0.01%
==========================================
Files 1197 1197
Lines 123358 123358
==========================================
- Hits 102488 102487 -1
- Misses 20862 20863 +1
Partials 8 8 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Files one spec:
specs/todos/2026-10-13-01-interrupted-migration-bricks-db.md(opus, high).Stopping a container during its first start leaves a SQLite database that never starts again (
no such column: organization.default_escalation_policy_uid). Cause: bun's migrator marks a migration applied before running it unlessWithMarkAppliedOnSuccess(true)is set, and no migration is transactional. A migration that returns an error half way is recorded too, so the next boot skips it.The spec proposes: mark-on-success for both backends, an atomic first boot for SQLite (build in a temp file, rename), a backup before pending migrations on an existing SQLite file,
.tx.up.sqlas the default for new migrations, and a clearer error for already-broken databases. Two open questions (backup, Postgres scope), each with a recommended answer.Spec only, no code.
🤖 Generated with Claude Code