Skip to content

fix(ci): skip bash-dependent tests on Windows and add job timeout#105

Merged
emal-avala merged 1 commit intomainfrom
fix/windows-ci-timeout
Apr 15, 2026
Merged

fix(ci): skip bash-dependent tests on Windows and add job timeout#105
emal-avala merged 1 commit intomainfrom
fix/windows-ci-timeout

Conversation

@emal-avala
Copy link
Copy Markdown
Member

Summary

  • Skip 5 shell passthrough integration tests on Windows (#[cfg_attr(target_os = "windows", ignore)]) — they spawn bash -c which doesn't exist on Windows runners, causing a 6-hour hang until GitHub cancels the job
  • Add timeout-minutes: 15 to the test job as a safety net

Root cause: run_and_capture() calls Command::new("bash") which hangs indefinitely on Windows CI runners.

Test plan

  • CI passes on all platforms (Windows tests should now complete in minutes, not hours)
  • Linux/macOS tests still run the subprocess tests as before
  • Windows test job skips the 5 bash-dependent tests with ignored status

The shell passthrough integration tests spawn `bash -c` subprocesses
which hang indefinitely on Windows runners (no bash available),
causing the Test (windows-latest) job to run for 6 hours until
GitHub cancels it. Skip these tests on Windows with cfg_attr ignore
and add a 15-minute timeout as a safety net.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@emal-avala emal-avala merged commit fbbeed0 into main Apr 15, 2026
13 of 14 checks passed
@emal-avala emal-avala deleted the fix/windows-ci-timeout branch April 15, 2026 06:09
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