Skip to content

fix(realtime): stabilize presence reporting test - #1583

Merged
realcodesiman merged 1 commit into
mainfrom
fix/realtime-presence-test-flakiness
Oct 29, 2026
Merged

realcodesiman merged 1 commit into
mainfrom
fix/realtime-presence-test-flakiness

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Summary

  • inject the gateway presence timer scheduler so the coalescing test controls callback execution
  • open the live sockets concurrently to assert a single coalesced presence report

Verification

  • pnpm lint
  • pnpm --filter realtime check-types
  • pnpm --filter realtime test -- gateway.test.ts

Refs #1349

@github-actions github-actions Bot added the bug Something isn't working as expected label Oct 29, 2026
@realcodesiman
realcodesiman merged commit 4c029c8 into main Oct 29, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant