Repository navigation
feat(computers): offer linked computers only in the desktop app - #88
Merged
Merged
Conversation
nixuuu
added a commit
that referenced
this pull request
Nov 4, 2026
Stage 3 (final for now) of git worktree support, on top of #82. - **Squash-merge detection** for the "merged" cleanup policy and status: a branch counts as merged when its PR is merged (owner-scoped GitHub connector, checked in the gateway, no credentials on the worker) or, without a connector, when all its commits are patch-equivalent to the base or its changes are fully contained in the base after fetch. Covers squash-merged and rebased branches; partially merged ones stay. - **Worktrees for automation:** agent-spawned threads (`spawn_thread`), bots running code tasks and scheduled tasks follow the scoped worktree settings, with an explicit option (current checkout / new worktree / inherit). Side threads inherit their parent's worktree by default. Cleanup policies cover them. - Linked-computer threads keep a clear refusal (linked computers are desktop-only, #88); worktrees across linked computers are a later, separate change. - Migration `0068_worktree_automation`. The whole stack was rebased onto current dev with migrations 0066–0068. Known limitation: if thread creation fails after its worktree was created, the worktree stays on disk until cleanup. Checks per stage: install, gen:check, typecheck, lint, format:check, shard check. Top: check:tmp (1,035 pass, 153 skip, 0 fail), web build; composer and Settings → Worktrees checked in light/dark at desktop and phone widths.
nixuuu
added a commit
that referenced
this pull request
Nov 4, 2026
In the desktop app's local mode the gateway is part of the app, so the sidebar's green "Connected" said nothing useful. - When the gateway is the app's own (desktop role, reported through the gateway capabilities from #88), the sidebar shows nothing while the connection is live, and still shows "Reconnecting…" / "Gateway unavailable" when the bundled gateway has trouble. - Server gateways and the desktop app in remote mode keep showing "Connected". - The status live region stays mounted while quiet, so a later reconnect is still announced to screen readers. Checks: web typecheck, lint, format. Not checked in the packaged desktop app (needs a desktop-role gateway).
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked computers link Canopy desktop apps (their local-mode gateways). Server gateways (Docker / standalone binary) no longer offer or run linking; linking server gateways is not a supported use case.
CANOPY_GATEWAY_ROLE=desktop; everything else is aserver. Not a user setting.Checks: install, gen:check, typecheck, lint, format:check, check:tmp (953 pass, 147 skip, 0 fail), web build, desktop shell build. Browser checked on a server gateway and a desktop-local one, light/dark, desktop/phone widths.