Skip to content

Coalesce concurrent Windows sandbox setup requests - #32864

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/18ebbcb9b36de3eb5912b8bbbe153d39328b5e48
Jul 13, 2026
Merged

Coalesce concurrent Windows sandbox setup requests#32864
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/18ebbcb9b36de3eb5912b8bbbe153d39328b5e48

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 13, 2026

Copy link
Copy Markdown

Coalesce concurrent Windows sandbox setup requests

Why

Concurrent callers can submit the same Windows sandbox setup payload while an
identical helper invocation is already running.

What changed

  • Share one in-flight helper invocation among setup and refresh requests with
    identical serialized payloads.
  • Return the shared success or failure to every waiter while preserving
    structured setup error codes, then allow subsequent requests to run again.

Testing

  • Add a concurrency test that verifies identical requests execute the setup
    operation once.

## Why

Concurrent callers can submit the same Windows sandbox setup payload while an
identical helper invocation is already running.

## What changed

- Share one in-flight helper invocation among setup and refresh requests with
  identical serialized payloads.
- Return the shared success or failure to every waiter while preserving
  structured setup error codes, then allow subsequent requests to run again.

## Testing

- Add a concurrency test that verifies identical requests execute the setup
  operation once.

GitOrigin-RevId: 18ebbcb9b36de3eb5912b8bbbe153d39328b5e48
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/18ebbcb9b36de3eb5912b8bbbe153d39328b5e48 branch from 152c96e to 3370181 Compare July 13, 2026 20:07
@copyberry
copyberry Bot merged commit 3370181 into main Jul 13, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/18ebbcb9b36de3eb5912b8bbbe153d39328b5e48 branch July 13, 2026 20:08
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 13, 2026
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.

2 participants