Uh oh!
There was an error while loading. Please reload this page.
Publish store connector conformance specification - #31
Merged
Conversation
djgrant
marked this pull request as ready for review
July 22, 2026 06:24
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
What changed
@yieldstar/store-conformancewith a factory-only Vitest registration APIbun:sqlite, andnode:sqlitein the existing CI matrixWhy
The conformance suite previously lived inside the integration-test workspace, mixed portable contract assertions with implementation-specific assumptions, and did not define the crash boundary for wake delivery. Third-party connector authors could not consume or qualify against it.
The specification makes wake intent atomic with mutation or stale registration, requires retry and durable recovery for persistent backends, and explicitly permits duplicate delivery after a crash. A transactional outbox remains a recommended implementation rather than a protocol requirement.
Impact
Connector authors can install one published package and register the suite with a backend factory. Optional
createPeerandrestartfactory methods activate capability-specific race and recovery checks. Async remote drivers such as Turso and batch-only backends such as D1 remain future extensions.Validation
bun run bundlebun run test:bun— 113 passed, 1 skippedpnpm run test:node— 113 passed, 1 skippedbun run test:store-conformance-package— packed external install, 20 passed