Repository navigation
Smoke Tests red on main: linux platform guard on the #8185 rsync test (Part of #8195) - #8197
Merged
Merged
Conversation
…orm check (Closes-by-green #8195) test_shell_tests_platform_guard (#7312, #7619) fails any test file that spawns bash with no sys.platform check; test_evidence_refresh_artifact_names_8185.py (#8188) had only a which() skip. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Nov 13, 2026
Run the all-OS suite before merge on red-main fix PRs and on PRs that add file-system fixtures
#8425
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Main's
GitGalaxy Smoke Tests(run 42704479191,dfa83bf2d) failed one test:tests/test_shell_tests_platform_guard.py::test_every_test_that_spawns_a_shell_checks_the_platform. #8188'stest_evidence_refresh_artifact_names_8185.pyrunsbash -cthroughsubprocesswith only ashutil.whichskip. On Windowsbashis the WSL launcher, so that skip never fires. The fix addssys.platform != "linux"to theskipif. No infrastructure flakes in the run; the other 8476 tests passed.Class sweep
Class: a test that spawns bash/sh via subprocess with no platform check. The platform-guard test scans every tracked test file; this was the only one it reported, so there are no siblings.
Facts checked
pytest tests/test_shell_tests_platform_guard.py tests/tools/test_evidence_refresh_artifact_names_8185.pyfrom /tmp: 5 passed.tests/tools/audit_check.py: all clear.Cross-repo: none.
Lessons for agents
A test written against a shell step needs a
sys.platformcheck even when it already skips onwhich("bash"); PR CI is ubuntu-only, so the guard fails first on main.Part of #8195
🤖 Generated with Claude Code