Skip to content

Defer managed host launch during runtime update lock contention - #29

Merged
jbwinters merged 3 commits into
mainfrom
fix/updater-lock-launch-20261116
Nov 16, 2026
Merged

jbwinters merged 3 commits into
mainfrom
fix/updater-lock-launch-20261116

Conversation

@jbwinters

@jbwinters jbwinters commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Change

  • Start managed Codex and Claude hosts only after the update check completes and records a host lease.
  • Defer launch when the updater CLI fails or is missing, closing the timeout and crash race with a manual install.
  • Serialize release, adapter, catalog and rollback mutations with host launch checks; refuse operator updates while a host is live unless --force is explicit.
  • Recheck native host liveness just before staged release files are changed.
  • Keep remote verification and download failures nonblocking after the lease is recorded.
  • Bump the client to v0.5.0-alpha.15.

Verification

  • Full client suite: 604 tests passed.
  • Typecheck and boundary check passed.
  • Local release archive verification and smoke install passed.
  • npm audit: zero vulnerabilities.
  • Fresh independent security review found the nonzero status bypass; corrected before this PR.

@jbwinters
jbwinters merged commit 7274c9f into main Nov 16, 2026
8 checks passed
@jbwinters
jbwinters deleted the fix/updater-lock-launch-20261116 branch November 16, 2026 07:06
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