Skip to content

fix(realtime): await inbound message event publication - #1682

Merged
realcodesiman merged 1 commit into
ChatbotXIO:mainfrom
tcalgarotto:fix/await-inbound-inbox-events
Nov 10, 2026
Merged

realcodesiman merged 1 commit into
ChatbotXIO:mainfrom
tcalgarotto:fix/await-inbound-inbox-events

Conversation

@tcalgarotto

Copy link
Copy Markdown
Contributor

What changed

The inbound message worker now awaits publication of the messageCreated realtime event before it completes processing the received message.

Why

The inbound path previously queued the event without waiting for the Redis stream publication attempt to finish. Waiting closes that timing gap and makes the worker's completion boundary include the realtime event enqueue.

Validation

  • Received-message worker tests (223 passed)
  • Worker typecheck
  • Full pnpm lint

@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 9, 2026
@realcodesiman
realcodesiman merged commit 6c3399b into ChatbotXIO:main Nov 10, 2026
14 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.

2 participants