Skip to content

feat: broker.fetch_unprocessed for test assertions#6

Merged
lesnik512 merged 1 commit into
mainfrom
feat/fetch-unprocessed
May 20, 2026
Merged

feat: broker.fetch_unprocessed for test assertions#6
lesnik512 merged 1 commit into
mainfrom
feat/fetch-unprocessed

Conversation

@lesnik512
Copy link
Copy Markdown
Member

Adds a session-based method to read every row still in the outbox table (pending, in-flight, or future-dated) — successful delivery deletes the row, so anything remaining is unprocessed. Same transactional contract as publish/cancel_timer: runs on the caller's session, no lease acquired, no row state mutated. Optional queue filter.

Adds a session-based method to read every row still in the outbox table
(pending, in-flight, or future-dated) — successful delivery deletes the
row, so anything remaining is unprocessed. Same transactional contract
as publish/cancel_timer: runs on the caller's session, no lease acquired,
no row state mutated. Optional queue filter.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 self-assigned this May 20, 2026
@lesnik512 lesnik512 merged commit a736786 into main May 20, 2026
3 checks passed
@lesnik512 lesnik512 deleted the feat/fetch-unprocessed branch May 20, 2026 17:59
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