channel: keep actors alive across disconnects#1217
Open
jjyr wants to merge 60 commits intonervosnetwork:developfrom
Open
channel: keep actors alive across disconnects#1217jjyr wants to merge 60 commits intonervosnetwork:developfrom
jjyr wants to merge 60 commits intonervosnetwork:developfrom
Conversation
aa26c15 to
29ecc54
Compare
29ecc54 to
b5e8232
Compare
08131a3 to
04bf90b
Compare
04bf90b to
38e9417
Compare
This was referenced Apr 9, 2026
chenyukang
reviewed
Apr 14, 2026
…-actor-stop-start
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
The Network actor is becoming single point of the system.
This PR keeps the channel actor alive even peer is disconnected, so we can offload channel's bussiness logic from network actor to channel actors.
Summary
Offline -> Syncing -> Online) and let the channel actor drive reestablish on reconnect.ChannelOnline/ChannelOfflineservice events so reconnect tests can wait on channel connectivity instead of actor recreation or fixed sleeps.Secondary changes
Pubkeyso requested disconnects and backoff reconnects stay aligned with long-lived actors.