Repository navigation
test(core): make terminal idle unload observation deterministic - #685
GraciousGazelles wants to merge 5 commits into
Conversation
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
Code Review
This pull request updates the spawned_v2_terminal_child_unloads_at_terminal_idle_deadline test in residency_tests.rs to use spawn_agent_with_communication and introduces settle_terminal_idle_watcher() calls to ensure the idle watcher polls its sleep future before advancing paused time. It also replaces wall-clock sleeps with bounded idle interval assertions to make the test more deterministic. Additionally, the test is added to the targeted test suite in the justfile. There are no review comments, so I have no feedback to provide.
|
Superseded by #686, which landed the same terminal-idle test objective with an explicit completion notification instead of bounded paused-time retry intervals. No unique change from this branch remains to land. |
Pull request was closed
Summary
This is test and validation coverage only; production residency and teardown behavior are unchanged.
Validation
Exact candidate:
556bb5485dc45d165138a923d5d34c1fa61c16fe.33311152022and33311160673: success.33311682883: success; the focusedcodex.core-multi-agent-orchestration-targetedlane executedspawned_v2_terminal_child_unloads_at_terminal_idle_deadlineand the core batch passed 15/15.33311683153, attempt 2: success across required CI, Bazel, Linux GNU/musl, macOS, Windows, Clippy, Rust, SDK, and repository gates. Attempt 1 had one BuildBuddy BEP upload timeout on Intel macOS; the unchanged-head rerun passed.git diff --check: passed.cargo fmt --all --manifest-path codex-rs/Cargo.toml -- --check: completed with the repository stable-channelimports_granularitywarnings.The original flaky failure on unrelated PRs is tracked by Ops item
w8797; landing this deterministic regression unblocks exact validation of those candidates.