Repository navigation
Fix sleep interruption test event handling and fixture lifetime - #47813
Merged
copyberry[bot] merged 1 commit intoSep 24, 2026
Conversation
## Why The list-voices barrier can consume the sleep completion event that `any_new_input_interrupts_sleep` needs to observe. ## What changed Enqueue agent mail directly in the test so the subsequent wait can observe sleep completion. Keep the `TestCodex` fixture alive for the duration of the test by cloning its `codex` handle instead of moving it out. GitOrigin-RevId: 957165c2f20cc4d76df763cd41fd99816b477be3
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/957165c2f20cc4d76df763cd41fd99816b477be3
branch
from
September 24, 2026 10:56
95832bd to
8ac495b
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/957165c2f20cc4d76df763cd41fd99816b477be3
branch
September 24, 2026 10:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix sleep interruption test event handling and fixture lifetime
Why
The list-voices barrier can consume the sleep completion event that
any_new_input_interrupts_sleepneeds to observe.What changed
Enqueue agent mail directly in the test so the subsequent wait can observe sleep completion. Keep the
TestCodexfixture alive for the duration of the test by cloning itscodexhandle instead of moving it out.