Skip to content

fix(desktop): isolate managed acknowledgements from video and decode - #82

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/desktop-event-isolation-20261002
Oct 2, 2026
Merged

rldyourmnd merged 1 commit into
mainfrom
fix/desktop-event-isolation-20261002

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Managed desktop ACK/heartbeat observation could wait behind a video body on the local IPC socket and behind ordered native decode, even though remote QUIC control had higher priority. The native viewer now attaches a dedicated same-UID event socket. Retained control, event and media/decode futures progress independently; either socket departure ends only its desktop. Decoder FIFO, payload/global-worker limits and the shared peer connection remain.

The additive local v5 commands retain existing wire tags and legacy combined/headless APIs; an older manager refuses the extension without silent fallback. Upgrade the local agent and viewer together. Remote ALPN/framing and grants are unchanged. Route guards retain active claims, bound capacity/attachment, and cancel subscriber/desktop work on every exit. Full event queues and two-second blocked writes fail explicitly. Viewer diagnostics identify separated mode and correct the stale acquiring-surface stage after a successful redraw without a new CPU frame.

Validation: Mac five-crate all-feature baseline 309 passed/0 failed/1 explicit OpenSSH ignore; final client 21/0/0; updated remote-refusal/full-TCP-budget regression passes both transport variants. Default/all-feature strict workspace lint and formatting passed before final registry review; final lint/release and CI are running. Deterministic blocked video-body and full-media-queue tests prove independent event progress, including eight heartbeat echoes. Real same-UID manager API tests cover Iroh/Noq and shared-peer survival. Lifecycle tests cover single claim, active-route capacity, unexpected bytes, bounded event writes and owner-only cancellation. Original failed development/build observations are retained privately.

Scope: W2.4/W6.7. Native installed latency, loaded Full HD quality and sustained-network acceptance remain open; independent event observation does not bypass QUIC congestion or guarantee OS route availability. Research/contract/evidence: docs/native-viewer.md, docs/local-sessions.md, docs/reports/rds-event-isolation-20261002.md. No dependency changes or private runtime facts.

@rldyourmnd
rldyourmnd merged commit 854813b into main Oct 2, 2026
18 checks passed
@rldyourmnd
rldyourmnd deleted the fix/desktop-event-isolation-20261002 branch October 2, 2026 15:23
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