Skip to content

test: use deterministic terminal unload wait - #696

Merged
GraciousGazelles merged 2 commits into
mainfrom
fix/terminal-idle-unload-boundary
Aug 31, 2026
Merged

GraciousGazelles merged 2 commits into
mainfrom
fix/terminal-idle-unload-boundary

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary:

  • replace the post-finalizer yield loop in the terminal idle unload test with the existing deterministic unload completion wait
  • preserve timer-registration waits and final assertions

Validation:

  • cargo fmt --manifest-path codex-rs/Cargo.toml --all -- --check
  • cargo test not run locally because the Rust workspace build is not warm; hosted CI should provide focused proof

Base: 69d1964
Candidate: 4582bd9

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates a test in residency_tests.rs to use the control.v2_residency.wait_for_terminal_idle_unload helper method instead of the previous wait_for_thread_to_unload_after_terminal_idle_deadline function. There are no review comments, and I have no feedback to provide.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Aug 31, 2026
Merged via the queue into main with commit 70ae760 Aug 31, 2026
70 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/terminal-idle-unload-boundary branch August 31, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant