You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rebuild remote computers as a reliable, host-owned experience #1968
Implement the remote architecture and user journey described by investigation #1967. A computer owns its settings, providers, projects, runs, terminal/files and durable data; SSH/direct HTTPS are routes to it. Preserve the existing backend and replace address-based ownership and fragmented setup/lifecycle behavior.
Plan:
Deepen the source model and write a concrete identity/routing/lifecycle contract.
Implement persistent computer identity, compatibility/descriptor checks and connection recovery.
Implement supervised server lifecycle and runtime-aware verified updates.
Rebuild computer setup/status and host-owned provider/profile/settings context.
Integrate migration, route/reconnect and lifecycle acceptance coverage.
Review complete user journey, open reviewable PR(s), and track any infrastructure dependency explicitly.
Acceptance: clean supported host -> setup agent -> create remote project -> start task -> client disconnect/sleep -> reconnect same task and terminal state; correct host settings; safe update of the actual runtime; existing saved connections migrate; disconnect/forget/revoke/stop are distinct. Cloud account/tunnel infrastructure is a distinct boundary and must not be simulated or represented as already deployed.
No comparison-product names in public issue/PR copy. Work in isolated worktrees; preserve unrelated main-checkout changes. GPT-6.1 Sol workers, at most three concurrent implementation streams.
Implementation is underway in three GPT-6.1 Sol work streams: #1969 computer identity/routes, #1970 server lifecycle/update, #1971 setup and host-owned settings. The shared ownership/compatibility contract is committed on coder/remote-computers-rebuild in docs/plans/2026-11-08-remote-computers.md.
Integrated so far: terminal recovery after reconnect, including exit with no output, final output wholly during outage, pushes before initial open reply and stale reset/exit races; obsolete WebSocket frames/close events cannot steer a successor connection. Focused recovery checks: 55 passed. Real-socket web bridge checks: 6 passed, including a simulated host run completing while the client is disconnected and returning as exactly one user turn/result. These tests used isolated data and fake providers, not live accounts or remote machines.
Browser identity verification is being added to the shared model: public descriptor before saved-credential transmission, authenticated identity confirmation, preserved binding on mismatch, and fragment-based bootstrap metadata scrubbing. Lifecycle review is checking per-data-dir ownership, serialized updates and maintenance-mode suppression of background work. Native service/logout/reboot guarantees remain unverified until exercised on supported hosts.
Integrated identity-bound SSH/direct routes, host-owned agent settings, terminal reconnect recovery, Node service/update management, and computer-focused setup on coder/remote-computers-rebuild. One-time browser enrollment and final update readiness checks are being integrated next.
Validation so far: all 3,929 renderer tests passed; 26 focused real-socket identity/hub tests passed, including independent peer/sidebar credential lifetimes. An isolated browser preview rendered the new setup screen with no JavaScript errors. The first combined backend run is still running and exposed stale boot-wiring assertions, generated-doc checks, and missing desktop-only classification for the new lifecycle IPC; corrections are in progress. Native systemd/launchd logout/reboot behavior has not been exercised.
Continuing delivery from coder/remote-computers-rebuild at 1c1092e. Remaining steps: verify the integrated tree with clean-environment suites; exercise packaged service/update lifecycle; add native CI coverage for any lifecycle acceptance gaps; prepare a reviewable PR and run the native archive matrix. Current evidence: darwin-arm64 server and browser smoke pass. No native reboot evidence or managed cloud-access claim. Tracker stays plan:doing until merged.
Delivery PR opened: #1973 at a18f41f. Clean-environment full suites passed: core 38, renderer 3942, electron 6122 passed/4 skipped, memory 247, stats 27; typecheck passed. Final IPC/lifecycle changes additionally passed 39 targeted checks. Packaged darwin-arm64 foreground/worktree/PTY and browser enrollment/revocation checks passed. Real launchd acceptance passed including crashed-backend restart, active-terminal update refusal, stopped-service restart/update, updater-only SIGKILL causing its maintenance trial to exit, recovery through the dead operation lock with partial migration rollback, failed trial restoration, and uninstall preserving data. Added the same native lifecycle smoke to all four architecture jobs. CI is running; no native reboot/login/logout or managed cloud broker claim. Independent review's recovery findings are fixed with regressions. Tracker remains plan:doing pending CI and merge.
PR #1973 follow-up c3f871c addresses both automated-review findings with real loopback regressions: persisted worker completion/crew callbacks survive a verified route becoming a follower; healthy newly added or already-grouped routes recover a computer after another route's credential is rejected. Refusal is per route and all-refused credentials park without a retry loop. Stale async tunnel completions are fenced. All 30 route/worker integration checks passed; independent review found no remaining material issues. Both review threads replied to and resolved. Previous head a18f41f had all 14 CI checks green, including native service acceptance on all four architectures. CI is rerunning on c3f871c.
PR #1973 is ready for merge at c3f871c: all 14 CI checks passed on the latest head, including native foreground and lifecycle acceptance on Apple Silicon, Intel Mac, Linux x64 and Linux ARM. All six required checks passed; zero unresolved review threads, CLEAN, zero commits behind main. Review fixes are independently checked; branch/worktree are clean and preserved. No reboot/login/logout validation claim or managed cloud broker/tunnel deployment. Tracker stays plan:doing until merge.
Delivered and merged in PR #1973 via squash commit 5f59a82. Implementation issues #1969, #1970, #1971 and #1972 are complete. All 14 CI checks passed on the signed-off head, including native archive and service acceptance on Apple Silicon, Intel Mac, Linux x64 and Linux ARM. The merged tree matches the approved head. Managed cloud access and real OS reboot/login/logout testing remain explicitly outside this delivery; this merge does not publish a release.
Activity
currentbits commentedon Nov 8, 2026
Note
🤖 gpt-6.1-sol responding on behalf of currentbits
Implementation is underway in three GPT-6.1 Sol work streams: #1969 computer identity/routes, #1970 server lifecycle/update, #1971 setup and host-owned settings. The shared ownership/compatibility contract is committed on
coder/remote-computers-rebuildindocs/plans/2026-11-08-remote-computers.md.Integrated so far: terminal recovery after reconnect, including exit with no output, final output wholly during outage, pushes before initial open reply and stale reset/exit races; obsolete WebSocket frames/close events cannot steer a successor connection. Focused recovery checks: 55 passed. Real-socket web bridge checks: 6 passed, including a simulated host run completing while the client is disconnected and returning as exactly one user turn/result. These tests used isolated data and fake providers, not live accounts or remote machines.
Browser identity verification is being added to the shared model: public descriptor before saved-credential transmission, authenticated identity confirmation, preserved binding on mismatch, and fragment-based bootstrap metadata scrubbing. Lifecycle review is checking per-data-dir ownership, serialized updates and maintenance-mode suppression of background work. Native service/logout/reboot guarantees remain unverified until exercised on supported hosts.
currentbits commentedon Nov 8, 2026
Note
🤖 gpt-6.1-sol responding on behalf of currentbits
Integrated identity-bound SSH/direct routes, host-owned agent settings, terminal reconnect recovery, Node service/update management, and computer-focused setup on
coder/remote-computers-rebuild. One-time browser enrollment and final update readiness checks are being integrated next.Validation so far: all 3,929 renderer tests passed; 26 focused real-socket identity/hub tests passed, including independent peer/sidebar credential lifetimes. An isolated browser preview rendered the new setup screen with no JavaScript errors. The first combined backend run is still running and exposed stale boot-wiring assertions, generated-doc checks, and missing desktop-only classification for the new lifecycle IPC; corrections are in progress. Native systemd/launchd logout/reboot behavior has not been exercised.
currentbits commentedon Nov 8, 2026
Continuing delivery from coder/remote-computers-rebuild at 1c1092e. Remaining steps: verify the integrated tree with clean-environment suites; exercise packaged service/update lifecycle; add native CI coverage for any lifecycle acceptance gaps; prepare a reviewable PR and run the native archive matrix. Current evidence: darwin-arm64 server and browser smoke pass. No native reboot evidence or managed cloud-access claim. Tracker stays plan:doing until merged.
currentbits commentedon Nov 8, 2026
Delivery PR opened: #1973 at a18f41f. Clean-environment full suites passed: core 38, renderer 3942, electron 6122 passed/4 skipped, memory 247, stats 27; typecheck passed. Final IPC/lifecycle changes additionally passed 39 targeted checks. Packaged darwin-arm64 foreground/worktree/PTY and browser enrollment/revocation checks passed. Real launchd acceptance passed including crashed-backend restart, active-terminal update refusal, stopped-service restart/update, updater-only SIGKILL causing its maintenance trial to exit, recovery through the dead operation lock with partial migration rollback, failed trial restoration, and uninstall preserving data. Added the same native lifecycle smoke to all four architecture jobs. CI is running; no native reboot/login/logout or managed cloud broker claim. Independent review's recovery findings are fixed with regressions. Tracker remains plan:doing pending CI and merge.
currentbits commentedon Nov 9, 2026
PR #1973 follow-up c3f871c addresses both automated-review findings with real loopback regressions: persisted worker completion/crew callbacks survive a verified route becoming a follower; healthy newly added or already-grouped routes recover a computer after another route's credential is rejected. Refusal is per route and all-refused credentials park without a retry loop. Stale async tunnel completions are fenced. All 30 route/worker integration checks passed; independent review found no remaining material issues. Both review threads replied to and resolved. Previous head a18f41f had all 14 CI checks green, including native service acceptance on all four architectures. CI is rerunning on c3f871c.
currentbits commentedon Nov 9, 2026
PR #1973 is ready for merge at c3f871c: all 14 CI checks passed on the latest head, including native foreground and lifecycle acceptance on Apple Silicon, Intel Mac, Linux x64 and Linux ARM. All six required checks passed; zero unresolved review threads, CLEAN, zero commits behind main. Review fixes are independently checked; branch/worktree are clean and preserved. No reboot/login/logout validation claim or managed cloud broker/tunnel deployment. Tracker stays plan:doing until merge.
currentbits commentedon Nov 9, 2026
Delivered and merged in PR #1973 via squash commit 5f59a82. Implementation issues #1969, #1970, #1971 and #1972 are complete. All 14 CI checks passed on the signed-off head, including native archive and service acceptance on Apple Silicon, Intel Mac, Linux x64 and Linux ARM. The merged tree matches the approved head. Managed cloud access and real OS reboot/login/logout testing remain explicitly outside this delivery; this merge does not publish a release.