Repository navigation
feat: default to SQLite with optional PostgreSQL - #4
Merged
Merged
Conversation
Use portable JSON mappings, persistent SQLite Compose volumes, and an explicit PostgreSQL overlay. Configure SQLite for concurrent access and keep audit and shell remote operations outside nested write transactions. Co-Authored-By: Kimi <noreply@moonshot.cn>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4 +/- ##
============================================
+ Coverage 46.51% 52.57% +6.05%
- Complexity 524 549 +25
============================================
Files 107 108 +1
Lines 3145 3150 +5
Branches 395 395
============================================
+ Hits 1463 1656 +193
+ Misses 1443 1251 -192
- Partials 239 243 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch was successfully deployed
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.
Summary
jsonbcolumn definitions with dialect-managed JSON mappings.SQLITE_BUSYby correcting transaction boundaries.Evidence
SQLITE_BUSY; audited writes returned 201 without an audit row; Shell dispatch returned failure code 1 on nested writes.After: the new SQLite integration tests cover concurrent page requests, audit persistence, and Shell dispatch status/system-info writes; all pass.
./gradlew :noone-server:test— full suite passed, including SQLite integration tests and PostgreSQL Testcontainers Controller tests.docker compose config --quietfor dev, nightly, and prod./generatorand/shellsrender successfully against the default SQLite backend.Merge Danger
Door: two-way
Code and deployment defaults can be reverted, but operators should choose the intended database before upgrading.
Blast Radius: server persistence and deployment startup
Default Compose deployments now use SQLite. Existing PostgreSQL deployments must include
compose.postgres.yml; switching database types does not migrate data. Audit and Shell remote-operation transaction boundaries are shared by both database profiles.🤖 Generated with Kimi