Repository navigation
Fix: close event emitting a terminal error - #21299
Conversation
WalkthroughThe Changes
Assessment against linked issues
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Automated tests Summary✅ All the CI tests have passed! |



What does this PR do?
This PR addresses the issue where the GraphQL connection’s close events were triggering a terminal error. The terminal error was intended to be generated only when the connection is rejected due to reasons such as insufficient permissions or an invalid session, not from a close event. With this fix, the close event will now simply update the connection status to "disconnected" and emit a log. Terminal errors will only be triggered by reconnection failures, such as permission issues or exceeded retry attempts.
Closes Issue(s)
Closes #21147
How to test
Join a new meeting and restart bbb-graphql-middleware using the command
sudo systemctl restart bbb-graphql-middleware