-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Detect silently dropped WebSocket connections and retry until subscriptions are restored #7164
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
Merged
TimoPtr
merged 14 commits into
home-assistant:main
from
markfrancisonly:fix/websocket-resubscribe-retry
Jul 29, 2026
Merged
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3bb142c
Retry reconnecting the WebSocket while subscriptions are active
markfrancisonly 9423e90
Serialize the restore loop handover and drop orphan resubscriptions
markfrancisonly 75c4b99
Cancel the WebSocket when a ping goes unanswered to detect silently d…
markfrancisonly 60df276
Back off reconnection attempts while the server stays unreachable
markfrancisonly 2e636e4
Merge branch 'main' into fix/websocket-resubscribe-retry
markfrancisonly d60e7a5
Merge remote-tracking branch 'upstream/main' into fix/websocket-resub…
markfrancisonly 3a4e4b3
Track reconnecting subscriptions with an explicit Reconnecting type
markfrancisonly 9960362
Merge branch 'main' into fix/websocket-resubscribe-retry
markfrancisonly 3bb983f
Decide reconnection atomically with the connection cleanup
markfrancisonly 28c5d56
Move resubscription within connect
TimoPtr ea186d7
Address remaining comments
TimoPtr 08e61d0
Merge remote-tracking branch 'origin/main' into pull/7164
TimoPtr 2e979bc
Apply suggestions from code review
TimoPtr 53f6b47
Properly nest test for WebSocketCoreImplTest
TimoPtr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.