Skip to content

Improve sharing after leader reconnection#176

Merged
chmurson merged 4 commits intomainfrom
improve-sharing-after-leader-reconnection
Dec 4, 2025
Merged

Improve sharing after leader reconnection#176
chmurson merged 4 commits intomainfrom
improve-sharing-after-leader-reconnection

Conversation

@chmurson
Copy link
Copy Markdown
Collaborator

@chmurson chmurson commented Dec 4, 2025

Added a generic libp2p workflow framework (WorkflowBuilder, WorkflowManager, typed events) so we can define event-driven flows once and reuse them across data channels.

The problem that is solved:

  • when joiner reconnects to leader, after leader reconnects, joiner correctlu shares his "shared keys" state with leader

This is done through workflows, as simple reaction on events was not enough.

Worfklow Manager might be a bit overkill for the feature, but implementing this in non linear workflow way would make this particular functionality super obscure.

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 4, 2025

Deploy Preview for icod2 ready!

Name Link
🔨 Latest commit dda6f06
🔍 Latest deploy log https://app.netlify.com/projects/icod2/deploys/6931738da492dd0008c81056
😎 Deploy Preview https://deploy-preview-176--icod2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chmurson chmurson merged commit 7e98292 into main Dec 4, 2025
4 of 5 checks passed
@chmurson chmurson deleted the improve-sharing-after-leader-reconnection branch December 4, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant