Repository navigation
Conversation
CI ran only scripts/test.ps1 (cargo build and cargo test), so nothing ran scripts/test_pr_check.py: a PR that broke scripts/pr_check.py still got a green CI, and the PR checks workflow runs main's checker, not the PR's. One step now runs every scripts/test_*.py with unittest discovery, before the Rust build so it fails in seconds. Fixes xcl-dev#1000 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
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.
CI ran only
scripts/test.ps1(cargo build and cargo test), so nothing ranscripts/test_pr_check.py: a PR that brokescripts/pr_check.pystill got a greenCI, and thePR checksworkflow runs main's checker, never the PR's. One step now runs everyscripts/test_*.pywith unittest discovery, before the Rust build so it fails in seconds. Fixes #1000.What is in it
.github/workflows/ci.yml: aScript tests (Python)step after checkout,python -B -m unittest discover -s scripts -p 'test_*.py' -vTested
runtime()inpr_check.pymade to returnFalse: 1 failed, exit 1ci.ymlparsed with PyYAML: the new step is the second of five, itsrunline as abovecargo test --workspace -- --test-threads=4on main 9aec53d (this diff touches no Rust): 724 passed, 0 failed, 41 ignored; SKIPPEDgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)Regression run
crates/xcl/srcchangesNot tested
windows-2025runner (its default shell is PowerShell 7, which I don't have here): this PR's own CI run is that testgit merge-treewith CI: run scripts/test-native-stderr.tests.ps1 under PowerShell 5.1 and 7 #279 and CI: skip the build on pull requests that change only documentation #287: clean. With Scripts: triage unknown D3D12.X slots and interfaces #557, Scripts: compare D3D12.X observations against a baseline #566 and Scripts: require numeric crash and device removal counts #635: a conflict, because all three add their own step at this same place (and so conflict with each other too). This step already runs their test files (test_triage_d3d12.py,test_pr_check_smoke_counters.py), so whichever lands second can drop its step.AI use
🤖 Generated with Claude Code