Skip to content

fix(peer): route Tauri events once - #2364

Merged
wsp1911 merged 1 commit into
GCWing:1.0.0-explorefrom
wsp1911:refine-flowchat-space
Aug 18, 2026
Merged

fix(peer): route Tauri events once#2364
wsp1911 merged 1 commit into
GCWing:1.0.0-explorefrom
wsp1911:refine-flowchat-space

Conversation

@wsp1911

@wsp1911 wsp1911 commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

The regression was introduced by Bob Lee in commit
14c4b5c, which moved the stateful
runtime-session cursor routing into every logical Tauri listener. The first
subscriber advanced SessionStream, causing later subscribers to drop the same
terminal event.

Share each native Tauri listener across all adapter instances so surface and
cursor routing runs once before logical subscriber fan-out. Keep subscription
ownership isolated per adapter and preserve held-event delivery semantics.

Add regressions for cross-adapter fan-out, adapter-specific disconnect, and
attachment-held events.

Refs: 14c4b5c

The regression was introduced by Bob Lee in commit
14c4b5c, which moved the stateful
runtime-session cursor routing into every logical Tauri listener. The first
subscriber advanced SessionStream, causing later subscribers to drop the same
terminal event.

Share each native Tauri listener across all adapter instances so surface and
cursor routing runs once before logical subscriber fan-out. Keep subscription
ownership isolated per adapter and preserve held-event delivery semantics.

Add regressions for cross-adapter fan-out, adapter-specific disconnect, and
attachment-held events.

Refs: 14c4b5c
@wsp1911
wsp1911 merged commit 5bb566c into GCWing:1.0.0-explore Aug 18, 2026
8 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.

1 participant