Give updated and restored WebUI runtimes ten minutes to become healthy,
preserving A0_SELF_UPDATE_HEALTH_TIMEOUT_SECONDS overrides. Backup and
checkout still precede the health-check window.
Expose the configured timeout in update information and use 600 seconds
as the browser fallback, retaining its 30-second buffer. Upgrade older
durable managers through the existing migration with backup protection.
Validation: 55 focused tests passed in the Docker framework runtime.
Three frontend simulations passed for recovery after six minutes, a
900-second override, and expiry at the default 630-second browser limit.
Allow user-data backups to include files dated outside ZIP's supported
range without changing source file dates. Use deflate level 1 to reduce
backup time while preserving backup contents and existing exclusions.
Require both capabilities in the existing startup migration so installed
durable updaters receive the fixes. Cover old timestamps, archive contents,
and migration of older backup settings.
Validation: 53 focused tests passed in the Docker framework runtime.
On an identical 2.079 GB snapshot, compression level 1 reduced average
backup time from 39.5 to 32.9 seconds with 2.1% larger archives. All four
benchmark archives passed CRC and matching-content checks.
Track rollback snapshots by Git object ID so an existing stash does not
make a successful snapshot look like a failure. Apply the saved object
and resolve its current reflog entry for cleanup, preserving unrelated
stashes and retaining snapshots when restoration fails.
Upgrade installed updater copies through the existing startup migration.
Cover staged, unstaged and untracked changes, changing stash stacks,
conflicts and stale runtimes. All 50 focused tests pass; the installed
framework-runtime check passes and the restarted WebUI returns HTTP 200.
Refresh an existing Codex CLI after successful or already-current self-updates without making npm failures fatal. Bootstrap the new behavior when startup synchronizes a stale runtime updater, and cover both paths with focused regressions.
Add a core startup migration that refreshes /exe/self_update_manager.py from the repository copy when the installed runtime updater is missing the socket-safe backup and Desktop cleanup markers.
Validate the source updater before replacing anything, preserve the previous runtime script as a backup, and leave current or non-regular targets untouched. Add regression coverage for stale runtime replacement, safe no-op/refusal paths, and the real repository updater source.