Repository navigation
fix: fail root and constant bootstrap closed on database errors - #156
Merged
Merged
Conversation
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.
Closes #154. PortableSQLRepository now propagates root and constant SELECT/INSERT/UPDATE failures with entity, table, operation, and cause. Updates must affect exactly one row; a failed insert is treated as a concurrent duplicate only after a fresh exact-ID query observes the row. The ID floor advances only after creation or observation. Restored constants reconcile changed values, and zero versions become active. Fifteen focused SQLite fault-injection/idempotence tests pass (0 failures/skips); local JDK 21 full reactor mvn test and all Java examples pass. This is the legacy bootstrap reliability fix, not the separate mutation-API bootstrap redesign. Exact-head CI including live PostgreSQL/MySQL remains required before merge.