Skip to content

SpannerOutboxFixture#182

Merged
flovouin merged 6 commits into
mainfrom
feat/outbox-fixture
Apr 2, 2026
Merged

SpannerOutboxFixture#182
flovouin merged 6 commits into
mainfrom
feat/outbox-fixture

Conversation

@flovouin
Copy link
Copy Markdown
Contributor

@flovouin flovouin commented Apr 2, 2026

📝 Description of the PR

  • Adds SpannerOutboxFixture, which mocks fetchEvents and updateOutbox on SpannerOutboxSender to no-ops. This avoids transaction conflicts during tests (especially with the Spanner emulator's single-transaction limitation), and removes the need for consumers to set SPANNER_OUTBOX_POLLING_INTERVAL=0.
  • The fixture is included by default in createGoogleFixtures, and can be opted out of via disableSpannerOutbox: false.

📋 Check list

  • 🧪 Unit tests have been written.
  • 📝 Documentation has been updated.

@flovouin flovouin added the enhancement New feature or request label Apr 2, 2026
@flovouin flovouin force-pushed the feat/outbox-fixture branch from e934c49 to 72ad3ad Compare April 2, 2026 07:10
@flovouin flovouin merged commit 1a8ec45 into main Apr 2, 2026
2 checks passed
@flovouin flovouin deleted the feat/outbox-fixture branch April 2, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant