Skip to content

fix(store): atomically rebase primary and named-root agreement - #22

Draft
Seagulls wants to merge 2 commits into
dev-publicfrom
fix/atomic-root-agreement-rebase-20261031
Draft

Seagulls wants to merge 2 commits into
dev-publicfrom
fix/atomic-root-agreement-rebase-20261031

Conversation

@Seagulls

Copy link
Copy Markdown
Owner

Scope

Standalone narrow correctness fix: prevent RebaseAgreedHashesForGame from partially committing primary agreement when the named-root SQL update fails. Both statements share one SQLite transaction; no schema/protocol change.

Regression

TestRebaseAgreedHashesRollsBackOnNamedRootSQLFailure injects failure in the second statement and checks primary/named-root agreement unchanged. Stock upstream RED; locally tested transaction variant GREEN with disposable SQLite.

Integration

Related to #19 and upstream topology PR #139. Does not fix combined Game/ignore update atomicity or stale full-row path writes. Draft until exact-head validation and broader integration. No real user data or deployment.

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.

1 participant