Skip to content

Prove outbox crash reclaim publishes once - #24

Merged
o-mid merged 3 commits into
developfrom
feat/outbox-reclaim
Sep 18, 2026
Merged

o-mid merged 3 commits into
developfrom
feat/outbox-reclaim

Conversation

@o-mid

@o-mid o-mid commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

Problem

Rows left in publishing after a crash were reclaimed on the next flush, but nothing proved Kafka sees that event once.

Solution

A store test claims a row, leaves it publishing, reclaims it, then flushes. The publisher sends the event once; a second flush does not send it again. Architecture copy names that crash path.

How to test

Set DATABASE_URL and run go test ./internal/store -count=1 -run TestReclaimStuckPublishingThenPublishOnce.

@vercel

vercel Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
engagepulse Ready Ready Preview Sep 18, 2026 9:33am UTC

@o-mid
o-mid merged commit 6f1499a into develop Sep 18, 2026
4 checks passed
@o-mid
o-mid deleted the feat/outbox-reclaim branch September 18, 2026 09:36

This branch was successfully deployed

1 active deployment
Preview — d207d675 Deployed Sep 18, 2026 by vercel[bot]
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