Skip to content

fix(web): show linked workers as connected when their computer answers - #890

Merged
M-Zajace merged 1 commit into
devfrom
fix/linked-worker-presence
Nov 16, 2026
Merged

M-Zajace merged 1 commit into
devfrom
fix/linked-worker-presence

Conversation

@M-Zajace

Copy link
Copy Markdown
Contributor

Summary

A worker of a linked computer that does not share configuration is read-only on this computer ("Manage this worker on its own computer. Configuration is not shared."). Settings → Workers treated read-only as away (worker.online && !linked?.readOnly), so such a worker always showed Disconnected, was dimmed and was left out of the "N of M connected" count, even while it ran.

  • LinkedWorker gets away: the worker's home does not answer now (no live worker, or the computer has an away reason).
  • The status badge, the row's dimming and the connected count follow worker.online && !away.
  • Read-only still only blocks changes (rename, tags, settings).

Related: #348

Verification

  • Seen on two real linked desktops (macOS and Windows, configuration not shared): each showed the other's running worker as Disconnected.
  • Locally: @canopy/web typecheck, lint and format on edited files. Not yet checked in a browser with two linked computers carrying the fix; the full gate is left to CI.

Copy audit (docs/copy.md §8)

No UI text changes: n/a.

A worker of a linked computer that does not share configuration is
read-only here, and Settings → Workers treated read-only as away: such a
worker always showed Disconnected, was dimmed and left out of the
connected count, even while it ran. Presence now follows the worker and
its computer's link; read-only still only blocks changes.

Related: #348
@M-Zajace
M-Zajace enabled auto-merge (squash) November 16, 2026 20:57
@M-Zajace
M-Zajace merged commit bfc3f36 into dev Nov 16, 2026
15 checks passed
@M-Zajace
M-Zajace deleted the fix/linked-worker-presence branch November 16, 2026 21:05
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