Uh oh!
There was an error while loading. Please reload this page.
[ECO-5246] fix: Realtime Client Reconnection Logic - #1077
Conversation
WalkthroughThe changes involve the removal of a listener in the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ConnManager as ConnectionManager
participant Channel as ChannelBase
Client->>ConnManager: Initiate reconnection
ConnManager->>Channel: Check previous connection state
alt State was closing
ConnManager->>Channel: setConnectionClosed(REASON_CLOSED)
end
alt State was closed/failed
ConnManager->>Channel: setReinitialized()
end
Channel-->>ConnManager: Channel reset confirmed
ConnManager-->>Client: Connection reestablished
Assessment against linked issues
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (6)
🪧 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 ( |
5c5ac46 to
aa88969Compareaa88969 to
2ec29e7ComparesacOO7
commented
Mar 17, 2025
Not sure why tests are failing |
Uh oh!
There was an error while loading. Please reload this page.
2ec29e7 to
58c7179Compare58c7179 to
841c69eCompareUh oh!
There was an error while loading. Please reload this page.
Previously, we cleared all channels on the close event, causing all previously acquired channels to become orphaned. We have now removed this logic and fixed the reconnection behavior to align with the spec
841c69e to
ef11880Compare
Resolves#1074
Previously, we cleared all channels on the close event, causing all previously acquired channels to become orphaned. We have now removed this logic and fixed the reconnection behavior to align with the spec
Summary by CodeRabbit
Summary by CodeRabbit
Refactor
New Features
Tests