Compare commits

..

3 commits

Author SHA1 Message Date
chess
a2004f1a5f Handle disabled Windows sandbox accounts during cleanup (#46333)
## Why

Cleanup needs fresh logon tokens for sandbox accounts that may already be disabled. Temporarily enabling those accounts must leave a durable obligation to disable them again if the service exits unexpectedly.

## What changed

- Persist `cleanup_logon_pending` before enabling an account, then disable it again after the logon attempt before clearing the marker.
- Recover pending account disables before owner restoration or IPC admission, validating account SIDs before restoration. Block runtime readiness and provisioning while recovery is pending, and defer retirement until cleanup logons are prepared.
- Include the blocking logon details in cleanup timeout errors and suppress repeated identical cleanup errors in the Windows event log.

## Testing

Add receipt tests covering backward-compatible defaults and pending cleanup state surviving serialization, blocking readiness and owner admission until cleared.

GitOrigin-RevId: 801bec408a27ac85ccdc3eb5ca2bdb2ccb3d5827
(cherry picked from commit fd875b188b)
2026-09-17 18:43:45 -07:00
chess
9c8e46d32d Improve Windows sandbox error details and registry cleanup (#46237)
## Why

Provisioning errors omitted underlying causes, and removing a legacy installation record could leave an empty registry key behind.

## What changed

- Include error chains in provisioning responses and failure logs, retaining control-character replacement and the response byte limit.
- Attempt to delete the legacy installation registry key after removing and flushing its record, preserving any remaining values or subkeys.

## Testing

Add a regression test for nested error causes, control-character replacement, and UTF-8 truncation within the response byte limit.

GitOrigin-RevId: 8fccfb49c708be5f5d5be7180289cb74a66498a2
(cherry picked from commit c11fdc944f)
2026-09-17 18:43:45 -07:00
Adam Perry @ OpenAI
434535bddf Release 0.155.0-alpha.9 2026-09-15 17:37:43 -07:00
5799 changed files with 120169 additions and 450373 deletions

Can't render this file because it has a wrong number of fields in line 9.

935
MODULE.bazel.lock generated

File diff suppressed because one or more lines are too long

1917
codex-rs/Cargo.lock generated

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Some files were not shown because too many files have changed in this diff Show more