Skip to content

Make remote computers own their work, settings and server lifecycle - #1973

Merged
currentbits merged 35 commits into
mainfrom
coder/remote-computers-rebuild
Nov 9, 2026
Merged

currentbits merged 35 commits into
mainfrom
coder/remote-computers-rebuild

Conversation

@currentbits

@currentbits currentbits commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Remote computers should keep owning their work when a client disconnects, use their own agent settings, and update the Node server they actually run. This rebuild applies the T3-style computer/route model to Solenta's existing execution backend.

  • Bind saved routes and credentials to verified computer identity, group authenticated alternate routes, and recover thread/terminal state after reconnect without replaying ambiguous mutations.
  • Add explicit preparation, host-specific provider/profile/workflow settings, and managed systemd-user/launchd lifecycle with verified same-version updates, data snapshots and recovery.
  • Enroll browsers with expiring single-use grants and scoped device sessions; scrub credentials from URLs and sign out revoked devices.
  • Make maintenance trials exit when their updater dies, reclaim only proven-dead operation locks, and support updating/restarting stopped Mac services.
  • Run foreground and real native-service archive acceptance on Apple Silicon, Intel Mac, Linux x64 and Linux ARM in CI. Check that renderer and server build stamps agree.

Validation: clean-environment npm test passed (core 38, renderer 3942, electron 6122 with 4 skipped, memory 247, stats 27); typecheck passed. After the final updater-IPC change, all 39 lifecycle/activation checks passed. The Apple Silicon packaged server and browser checks passed, including a worktree run, native PTY, pairing and live revocation. Native archive/service acceptance passed on all four CI targets, including service crash restart, idle/busy update behavior, stopped-service updates, killed-updater recovery and failed-trial rollback. All 14 CI checks passed on c3f871c. All 30 route/worker integration checks also passed after fixing persisted worker ownership, credential-specific failover and stale-tunnel fencing. Both review threads are resolved.

Scope: no deployed account broker/managed cloud tunnel, Windows server distribution, or claim of tested OS reboot/login/logout behavior. Linux pre-login operation requires actual linger configuration; macOS services belong to the GUI login session. Rollback covers the server data directory, not arbitrary repository or provider-home changes.

Refs #1968, #1969, #1970, #1971, #1972.

Created with GPT-6.1 Sol in Codex.

Willem added 30 commits November 8, 2026 18:12
Willem and others added 4 commits November 8, 2026 20:12
package-server.sh stamps package.json with the full git sha while vite
always baked the short one, so isBuildMismatch fired on every packaged
server and browsers booted straight into "Reload required". Vite now
uses an exported BUILD_SHA when the packager provides one, and the
per-arch server smoke asserts the renderer bundle carries the same
string as app:status build.sha.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T20:34:07.480437Z a18f41f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a18f41fb05

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread electron/hostHub.js Resolved
Comment thread electron/hostHub.js Resolved
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