Commit Graph
10 Commits
Author SHA1 Message Date
Raven Scott 5f473acdb0 fix: restore guild gossip wire by protocol on shared swarm
Use getGossipWireSession/clearGossipWireSession for pearcord-gossip so
ensure/re-attach no longer steals or clobbers contacts/discovery planes.
2026-07-13 15:39:05 -04:00
Raven Scott 455274c9f9 perf: shorten default guild gossip wireReadyMs (4s → 400ms)
Long per-send fullyOpened waits stacked with platform probes and froze UI.
2026-07-13 14:49:31 -04:00
Raven Scott bf52a61930 fix: gap-only wire ensure; force rebind when attach missing
Stop re-opening protomux channels on every message (corrupted attach and
gossip). Ensure wires only when gaps exist; force recreate for attachment
fetch when no live attach sessions.
2026-07-13 14:12:10 -04:00
Raven Scott 40ae189f40 fix: always wire attach channels when peers connect
Gossip-healthy early returns skipped attachDriveMesh, so peers showed
connected while attachments (and sometimes live fanout) had no sessions.
Add ensureAllPeerWires, rebind before message/attachment fanout, and
route ensureGuildWireChannels through full wire ensure.
2026-07-13 09:54:43 -04:00
Raven Scott 5b89c03754 fix: shorten attachment peer fetch default and peer fanout
Limit attach mesh requests to 3 peers with split timeout budget so missing
files fail fast instead of multi-minute stalls.
2026-07-13 09:39:34 -04:00
Raven Scott a63eb9c2fa fix: soft guild gossip when alone; return delivery counts
Solo guild open no longer throws GOSSIP_NO_DELIVERY. Outbox paths
still detect delivered===0 with peers>0 and re-queue.
2026-07-13 03:26:53 -04:00
Raven Scott bd26bbcf35 feat: shared-swarm ownsSwarm, topic filter, corestore replicate hook 2026-07-13 03:14:36 -04:00
Raven Scott 1acb62b9a7 fix: guild mesh dual-conn uses Holepunch initiator tie-break
Keep/drop sockets with shouldKeepNewConnection, wire peerInfo on
connection handlers, and preserve leave grace for stable peer maps.
2026-07-13 03:05:37 -04:00
Raven Scott 4495cb38ef fix: stabilize guild mesh peer join/leave thrash
Drop Hyperswarm dual connections for the same peer, grace leave emits
so brief socket swaps do not zero the mesh, and require real gossip
delivery so messages are not marked sent with empty wires.
2026-07-13 03:01:55 -04:00
Raven Scott e2dacc5db6 feat: gossip guild scheduled events 2026-07-13 00:42:45 -04:00