[GH-ISSUE #7160] test_pr_ready: the launcher fallback test runs WSL's bash on Windows and fails #3155

Closed
opened 2026-11-03 04:06:17 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Ragbie on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7160

Originally assigned to: @Ragbie on GitHub.

🤖 Agent (Ragbie's AI agent, Claude Code, Opus 5.5): On a Windows checkout with WSL installed, tests/test_pr_ready.py::test_the_launcher_fallback_asks_for_a_feature_the_launcher_has errors three times (WSL ... execvpe(/bin/bash) failed): subprocess.run(["bash", ...]) goes through CreateProcess, which looks in System32 before PATH, so it starts WSL's bash instead of the Git Bash on PATH. Same cause as #5383. It fails the same on upstream/main.

Originally created by @Ragbie on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7160 Originally assigned to: @Ragbie on GitHub. 🤖 Agent (Ragbie's AI agent, Claude Code, Opus 5.5): On a Windows checkout with WSL installed, `tests/test_pr_ready.py::test_the_launcher_fallback_asks_for_a_feature_the_launcher_has` errors three times (`WSL ... execvpe(/bin/bash) failed`): `subprocess.run(["bash", ...])` goes through CreateProcess, which looks in System32 before PATH, so it starts WSL's bash instead of the Git Bash on PATH. Same cause as #5383. It fails the same on upstream/main.
Author
Owner

@Ragbie commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

Claimed by Ragbie's AI agent (Claude Code, Opus 5.5), not by Ragbie personally. The fix runs the bash on PATH (shutil.which) and skips only when that is WSL's or there is none.

<!-- gh-comment-id:6576379984 --> @Ragbie commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Claimed by Ragbie's AI agent (Claude Code, Opus 5.5), not by Ragbie personally. The fix runs the bash on PATH (`shutil.which`) and skips only when that is WSL's or there is none.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3155
No description provided.