Consumer-side tests for #123: RoomOutbox as rendered; hung send to watchdog reload to resend #124

Merged
void merged 8 commits from void/stall-consumer-tests into dev 2026-11-13 04:11:33 +00:00
Member

Adds two test files, no production change.

  • RoomOutbox.render.test.tsx: renders the component from the outbox store: empty room renders nothing, fresh send reads Sending with no Resend, failed reads Not sent: with Resend and Discard, pre-load pending reads Interrupted with Resend.
  • stallRecovery.test.ts: a hung sendEvent stays in the outbox, the real startWatchdog fed by ownPendingAges reloads once at the stall threshold (not before, not twice inside the guard gap), then resendInterrupted sends the same txn id and clears the outbox.

vitest: 5 passed; eslint and prettier clean.

🤖 Generated with Claude Code

Adds two test files, no production change. - RoomOutbox.render.test.tsx: renders the component from the outbox store: empty room renders nothing, fresh send reads Sending with no Resend, failed reads Not sent: <error> with Resend and Discard, pre-load pending reads Interrupted with Resend. - stallRecovery.test.ts: a hung sendEvent stays in the outbox, the real startWatchdog fed by ownPendingAges reloads once at the stall threshold (not before, not twice inside the guard gap), then resendInterrupted sends the same txn id and clears the outbox. vitest: 5 passed; eslint and prettier clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
stallRecovery test: lint clean
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m10s
b7336b9abf
stallRecovery test: distinct txn ids per send; pin visible/online guards and own-tab pending filter; fix TS2698
Some checks failed
Build pull request / Build pull request (pull_request) Has been cancelled
686897cec2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
stallRecovery test: lint clean
Some checks failed
Build pull request / Build pull request (pull_request) Has been cancelled
ebae799288
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
stallRecovery test: a held SDK echo makes the resend use a fresh txn id
Some checks failed
Build pull request / Build pull request (pull_request) Has been cancelled
35d73db976
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
void force-pushed void/stall-consumer-tests from 35d73db976
Some checks failed
Build pull request / Build pull request (pull_request) Has been cancelled
to da9ef70c03
Some checks failed
Build pull request / Build pull request (pull_request) Has been cancelled
2026-11-13 04:04:48 +00:00
Compare
RoomOutbox actions test: Resend keeps the entry in the outbox, pending again
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m14s
ae3760fcc7
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
void merged commit 2aa468c36a into dev 2026-11-13 04:11:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Ratatoskr!124
No description provided.