Skip to content

fix: fail root and constant bootstrap closed on database errors - #156

Merged
philipgreat merged 2 commits into
mainfrom
fix/bootstrap-seed-fail-154-main
Sep 23, 2026
Merged

philipgreat merged 2 commits into
mainfrom
fix/bootstrap-seed-fail-154-main

Conversation

@philipgreat

Copy link
Copy Markdown
Contributor

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.

@philipgreat
philipgreat merged commit bf7b93d into main Sep 23, 2026
3 checks passed
@philipgreat
philipgreat deleted the fix/bootstrap-seed-fail-154-main branch November 23, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fail root and constant bootstrap closed on database errors

1 participant