Skip to content

Add scenario coverage for worker context across idle eviction - #52062

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2d0f7c63a2221df9c3d7e378eecaf14b8441d2b9
Oct 8, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/2d0f7c63a2221df9c3d7e378eecaf14b8441d2b9

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Add scenario coverage for worker context across idle eviction

What changed

Add a scenario test that queues a message for an idle worker, evicts it, and resumes it with followup_task. Assert that the same worker is reloaded and that queuing mail and eviction do not start another model turn.

Snapshot the complete parent and worker request histories and the resumed worker's mailbox to verify that earlier context and unread mail survive eviction in order.

## What changed

Add a scenario test that queues a message for an idle worker, evicts it, and resumes it with `followup_task`. Assert that the same worker is reloaded and that queuing mail and eviction do not start another model turn.

Snapshot the complete parent and worker request histories and the resumed worker's mailbox to verify that earlier context and unread mail survive eviction in order.

GitOrigin-RevId: 2d0f7c63a2221df9c3d7e378eecaf14b8441d2b9
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Note

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/2d0f7c63a2221df9c3d7e378eecaf14b8441d2b9 branch from e254efb to 48bd766 Compare October 8, 2026 10:53
@copyberry
copyberry Bot merged commit 48bd766 into main Oct 8, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/2d0f7c63a2221df9c3d7e378eecaf14b8441d2b9 branch October 8, 2026 10:54
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026
@tinglight
tinglight deployed to issue-triage October 8, 2026 10:56 — with Image GitHub Actions Active
@tinglight
tinglight deployed to issue-triage October 8, 2026 10:56 — with Image GitHub Actions Active
@tinglight
tinglight deployed to issue-triage October 8, 2026 10:56 — with Image GitHub Actions Active
@tinglight
tinglight deployed to issue-triage October 8, 2026 10:57 — with Image GitHub Actions Active

This branch was successfully deployed

1 active 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