Skip to content

Support managed daemon updates on Windows - #42392

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5178c01124b4dd86b507b53f5093ec9a9d48e12c
Sep 3, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5178c01124b4dd86b507b53f5093ec9a9d48e12c

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Support managed daemon updates on Windows

What changed

  • Run the daemon update loop on Windows using the non-interactive PowerShell installer.
  • Restart the managed app server after updates and hand updater ownership to a changed managed executable through a readiness handshake.
  • Contain installer descendants in a Windows job while allowing app-server and successor updater processes to break away.
  • Preserve or restore PID ownership when successor startup fails, without terminating a process that reused the PID.

Testing

  • Cover non-interactive installer success and script failure on Windows.
  • Cover updater handoff, readiness, rollback, inaccessible processes, and PID reuse.

## What changed

- Run the daemon update loop on Windows using the non-interactive PowerShell installer.
- Restart the managed app server after updates and hand updater ownership to a changed managed executable through a readiness handshake.
- Contain installer descendants in a Windows job while allowing app-server and successor updater processes to break away.
- Preserve or restore PID ownership when successor startup fails, without terminating a process that reused the PID.

## Testing

- Cover non-interactive installer success and script failure on Windows.
- Cover updater handoff, readiness, rollback, inaccessible processes, and PID reuse.

GitOrigin-RevId: 5178c01124b4dd86b507b53f5093ec9a9d48e12c
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5178c01124b4dd86b507b53f5093ec9a9d48e12c branch from 21587e6 to 9160823 Compare September 3, 2026 00:08
@copyberry
copyberry Bot merged commit 9160823 into main Sep 3, 2026
24 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5178c01124b4dd86b507b53f5093ec9a9d48e12c branch September 3, 2026 00:09
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 3, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants