Repository navigation
Conversation
The check job runs the standard-library loop only on windows-latest, which has neither SPIRV-Tools nor numpy, and translator-tests (the one job that installs them) picks only the pytest files. So the spirv-val checks of test_split_big_switch (the 37 220-case switch), test_image_load_typed, test_mesh_compute_vs and test_bary_fallback_gs, the numpy path of test_skinned_glb and the POSIX-only tests skipped in CI and ran nowhere; desc_cache, f64_transcendentals, spirv_asm and spirv_stubs validate only when spirv-val is present. Add stdlib-tests-linux at the end of ci.yml: ubuntu-24.04, spirv-tools from apt as the semantic-tests job installs it, tests/requirements.txt for numpy and Pillow, then the same loop as check. test_ci_registration.py now fails when a stdlib file that calls spirv-as or spirv-val has no job that installs spirv-tools and runs that loop; it fails with the job removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Independent static check of 68c2466 against main aa2988c. The new Linux loop uses the same selector as the existing Windows loop. Applying those predicates to the tracked tree selects 298 of 329 non-semantic Python test files on each OS. The semantic subtree is pruned and the existing pytest-marker and main exclusions are the same. Nine selected files contain explicit spirv-as or spirv-val lookups. The extra coverage is a second platform run of that same file set, with SPIRV-Tools available. The hosted CI run was queued when checked, so this verifies selection only. AI-assisted. |
This was referenced Nov 23, 2026
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.
Claimed in the coordination issue as: #3918 (comment) (new TEST item)
What and why
checkruns the standard-library test loop onwindows-latestonly. That runner has neither SPIRV-Tools nor numpy, andtranslator-tests, the one job that installs them, only picks the pytest files. So these never ran in CI:spirv-as/spirv-valchecks oftests/test_split_big_switch.py(the 37 220-case switch),tests/test_image_load_typed.py,tests/test_mesh_compute_vs.pyandtests/test_bary_fallback_gs.py, which skip without the tools;test_desc_cache,test_f64_transcendentals,test_spirv_asmandtest_spirv_stubs, which pass silently without it;test_skinned_glb::SkinnedGlbTest::test_numpy_and_stdlib_weight_paths_agree(numpy);A translator or tool change that makes one of these generators emit invalid SPIR-V therefore passes CI today. TEST-604 (#3091) fixed this for
tests/semantic. This does the same for the standard-library loop: a newstdlib-tests-linuxjob at the end ofci.ymlinstallsspirv-toolsfrom apt assemantic-testsdoes andtests/requirements.txtfor numpy and Pillow, then runs the loop ofcheckunchanged (samePYTEST_FILE_MARKERSselection, samefind).translator-testsis untouched, so no file is picked twice by one job.tests/test_ci_registration.pygets a check in the spirit ofspirv_gated_semantic_files: a standard-library file that callswhich("spirv-as"/"spirv-val")(9 today) needs a job thatapt-get installs spirv-tools and runs the loop. It fails with the new job removed.Relation to #2909: its macOS job runs the same loop before Homebrew installs anything, so on macOS these checks still skip. This job installs first. The two jobs are independent, are added at different places in
ci.yml, and can both merge.Tested
No GPU, no game files.
tests/requirements.txtand SPIRV-Tools 2025.1 from Ubuntu noble-updates (the version this job installs onubuntu-24.04): 298 of 298 exit 0. 4848 unittest tests ran and 104 skipped (llvm-mc, GPU, built binaries, rpf9dump, Windows-only).-v:test_37220_cases_spirv_as_and_spirv_val, bothtest_image_load_typedvalidation tests, thetest_mesh_compute_vsassembly tests, thetest_bary_fallback_gsspirv-as/val tests andtest_numpy_and_stdlib_weight_paths_agreerun and pass instead of skipping.python -I tests/test_ci_registration.py(Windows 11, Python 3.12.10): OK. With the new job removed it fails and lists the 9 spirv-using files.tests/test_u16_high_half.py::test_d16_buffer_store_no_redundant_extract_after_shr16(a pytest file in the existingtranslator-testsjob) fails onmainwith SPIRV-Tools 2025.1 and 2026.4; rdna2spirv: define the format-table constants before use #3921 fixes it.AI-assisted (Claude Code); the runs above were done on this branch.
Checklist
docs/design.md, with how it was confirmed. (Not applicable: no translator change.)🤖 Generated with Claude Code