-
Notifications
You must be signed in to change notification settings - Fork 0
connection: add missing closed/closing values to enum #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdded two ConnectionStatus enum values, Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant PubSub as PubSub
participant Mapper as ConnectionStateMapper
participant Chat as ConnectionStatus (Chat)
rect rgb(245,250,255)
PubSub->>Mapper: emits ConnectionState (opening/connected/closing/closed/failed)
note right of Mapper #e6f2ff: map PubSub → Chat statuses
end
alt state == closing
Mapper->>Chat: ConnectionStatus.Closing
else state == closed
Mapper->>Chat: ConnectionStatus.Closed
else other states
Mapper->>Chat: ConnectionStatus.(Opening/Connected/Failed/...)
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
1e42ad7 to
497761d
Compare
Code Coverage
|
These were omitted and mapped to failed. This change aligns with PubSub. [CHA-1225]
497761d to
39b04ad
Compare
ttypic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
These were omitted and mapped to failed. This change aligns with PubSub.
CHA-1225
Summary by CodeRabbit