Skip to content

fix(computers): send welcome before exposing the remote channel - #55

Merged
nixuuu merged 1 commit into
devfrom
fix/mirror-fallback-flake
Nov 4, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mirror-fallback-flake

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

A linked-computer connection became callable before its welcome frame was queued: if the status write was slow, a concurrent ListThreads could send remoteRequest first, which the dialing peer rejects. The responder now queues welcome before exposing readiness. A deterministic regression test holds the status write to reproduce the ordering; existing fallback assertions and timeouts are unchanged.

Verification: thread-mirrors ×30 (510 pass), the seven other linked-computer files ×5 (350 pass), full check:tmp 830 pass / 0 fail; install, gen:check, typecheck, lint, format:check, web build.
Note: the original CI failure (a peer without thread_mirror … stops listing when disconnected, #47) didn't reproduce locally, so attributing it to this race is likely but not proven.

@nixuuu
nixuuu merged commit 3336224 into dev Nov 4, 2026
2 checks passed
@nixuuu
nixuuu deleted the fix/mirror-fallback-flake branch November 4, 2026 12:26
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