Skip to content

node: Update p2panda to new API#195

Merged
jsparber merged 7 commits intomainfrom
jsparber/new_p2panda
Feb 10, 2026
Merged

node: Update p2panda to new API#195
jsparber merged 7 commits intomainfrom
jsparber/new_p2panda

Conversation

@jsparber
Copy link
Collaborator

No description provided.

@jsparber jsparber force-pushed the jsparber/new_p2panda branch from 23c36d4 to 3f9f4a6 Compare January 19, 2026 16:52
@jsparber jsparber force-pushed the jsparber/new_p2panda branch 2 times, most recently from dad8f49 to 1114f61 Compare January 20, 2026 17:14
@mycognosist
Copy link
Collaborator

Here's an issue @sandreae and I found while testing this together:

  • We moved the patch into the workspace root Cargo.toml and then tested Reflection
    • Initial sync and updates work for a new doc
    • Then one peer exits the doc (back to the main screen) and opens it again
    • No connection ever occurs...
    • We think this might have something to do with some state not being dropped
    • We believe that the network should be torn down when you leave a doc, and recreated when you join one
    • This behaviour does not occur on the current Flatpak version of Reflection

Any ideas, @jsparber ?

@jsparber
Copy link
Collaborator Author

  • We believe that the network should be torn down when you leave a doc, and recreated when you join one

Could make sense even though it might make entering a document slower. Anyhow, this doesn't seam relevant here.

@adzialocha
Copy link
Member

adzialocha commented Jan 28, 2026

Any ideas, @jsparber ?

I could reproduce the issue in a test in p2panda-net, it might be related to the the topic being prematurely dropped by the node which stayed online. I'll investigate!

Edit: Yes, can confirm. I'm creating an issue here p2panda/p2panda#967

@jsparber jsparber force-pushed the jsparber/new_p2panda branch 2 times, most recently from 3d55e6e to dba1061 Compare February 4, 2026 08:58
@sandreae sandreae linked an issue Feb 9, 2026 that may be closed by this pull request
@jsparber jsparber force-pushed the jsparber/new_p2panda branch from 3f1b3a9 to c827460 Compare February 9, 2026 21:12
@jsparber jsparber changed the title WIP: node: Update p2panda to new API node: Update p2panda to new API Feb 9, 2026
@jsparber
Copy link
Collaborator Author

jsparber commented Feb 9, 2026

Blocked on the p2panda release, but ready from my side.

@jsparber jsparber force-pushed the jsparber/new_p2panda branch from c827460 to 0c3e06b Compare February 10, 2026 15:49
@jsparber jsparber merged commit f9d3b0c into main Feb 10, 2026
1 of 3 checks passed
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.

Initial sync not kicking in when document is large

4 participants