Skip to content

Smoke Tests red on main: linux platform guard on the #8185 rsync test (Part of #8195) - #8197

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8195-20261109T2259Z
Nov 9, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8195-20261109T2259Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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's test_evidence_refresh_artifact_names_8185.py runs bash -c through subprocess with only a shutil.which skip. On Windows bash is the WSL launcher, so that skip never fires. The fix adds sys.platform != "linux" to the skipif. 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

Cross-repo: none.

Lessons for agents

A test written against a shell step needs a sys.platform check even when it already skips on which("bash"); PR CI is ubuntu-only, so the guard fails first on main.

Part of #8195

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 9, 2026 23:07
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 9, 2026 23:14
@squid-shepherd
squid-shepherd Bot merged commit e87b1aa into main Nov 9, 2026
57 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8195-20261109T2259Z branch November 9, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant