Skip to content

test(shell): #2528 widen background completion wait#2765

Merged
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/harvest-2528-shell-test-wait
Jun 5, 2026
Merged

test(shell): #2528 widen background completion wait#2765
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/harvest-2528-shell-test-wait

Conversation

@Hmbown

@Hmbown Hmbown commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

Credit

Verification

  • cargo fmt --all -- --check
  • cargo test -p codewhale-tui --bin codewhale-tui --locked test_background_execution -- --nocapture
  • cargo test -p codewhale-tui --bin codewhale-tui --locked test_completed_background_shell_releases_process_handles -- --nocapture
  • cargo clippy -p codewhale-tui --bin codewhale-tui --locked -- -D warnings
  • git diff --check
  • ./scripts/release/check-versions.sh
  • python3 scripts/check-coauthor-trailers.py --range origin/codex/v0.9.0-stewardship..HEAD

Widen the focused background-shell completion wait used by shell tests so slow Windows runners do not leave lightweight background commands reported as Running before assertions fire.

Refs #2525

Refs #2526

Harvested from PR #2528 by @cyq1017

Co-authored-by: cyq1017 <61975706+cyq1017@users.noreply.github.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown Hmbown merged commit 7919338 into codex/v0.9.0-stewardship Jun 5, 2026
2 checks passed
@Hmbown Hmbown deleted the codex/harvest-2528-shell-test-wait branch June 5, 2026 02:35

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

Copy link
Copy Markdown
Contributor

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 introduces a new constant BACKGROUND_COMPLETION_WAIT_MS set to 30,000 milliseconds in the shell tests. It updates the wait_for_completed_shell function and the test_completed_background_shell_releases_process_handles test to use this constant instead of hardcoded timeout values. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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