mirror of
https://github.com/openai/codex.git
synced 2026-11-12 21:20:34 +00:00
## Why Windows can report a service privilege error after another deployment has registered the same runtime package version for the target account, causing provisioning to fail despite that registration. ## What changed Accept `ERROR_PACKAGED_SERVICE_REQUIRES_ADMIN_PRIVILEGES` from a registration operation with `AsyncStatus::Error` only when both checks pass: - The execution alias exists as a reparse point when queried as the target user. - `FindUsers` reports the exact package as installed for the target SID. ## Testing Add a regression test covering successful reconciliation, missing target registration, cancellation, and unrelated access-denied errors. Verify that the registration check runs only for the matching status and deployment error. GitOrigin-RevId: 5ccf0186046b1d681777d7caa083695b86fda1ca