mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #1673] [CLOSED] ci: fix the three repository checks that fail on main #1685
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1685
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1673
Author: @xel1uz
Created: 11/25/2026
Status: ❌ Closed
Base:
main← Head:fix/main-consistency-checks📝 Commits (1)
262c104ci: fix the three repository checks that fail on main📊 Changes
3 files changed (+36 additions, -20 deletions)
View changed files
📝
.github/workflows/runtime.yml(+2 -0)📝
tests/test_runner_calls_all_tests.py(+30 -20)📝
tools/compute_heap_layout_census.py(+4 -0)📄 Description
Item ID:
CI-MAIN-CONSISTENCY, claimed in #1608 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7159480485, done: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7159487506). I posted the claim there after opening this PR, because I missed that #1608 had replaced the capped #14.Claimed as:
CI-MAIN-CONSISTENCY- the standard-library job fails onmain(42537e7b) for three reasons that have nothing to do with any open PR, so every fork that syncsmainand every PR built on it inherits a red CI.What and why
Three repository-consistency tests fail on
mainat42537e7b. They depend on no platform, GPU or Python version:tests/test_runner_calls_all_tests.pyreportstests/test_feature_scan.py: test_out_named_like_the_optional_spirv_index()as a dead test. It is not dead: that file's__main__runner passes everytest_*torun_tests([fn for name, fn in list(globals().items()) ...]). The checker only followedforloops overglobals(), sotest_feature_scan.pykept a hand-writtenRUNNER_SKIPSlist of each test, and the newest test was never added to it. Any new test in that file would breakmainthe same way.Fix:
dispatches_tests()now also accepts a list, set or generator comprehension overglobals()/locals()/vars()that yields the loop variable straight into a call. Thetest_feature_scan.pyentry inRUNNER_SKIPSis removed. A new bite check confirms that the runner counts as dispatching, and that the same comprehension over a fixed table still reports what it misses. The existingtest_a_dropped_call_is_flaggedbite check is unchanged and passes.tests/test_runtime_paths.py:runtime/CMakeLists.txtbuilds fromtools/conformance/native/src(L2089-2091), but.github/workflows/runtime.ymldoes not listtools/conformance/**.tools/conformance/**is now added to both thepushandpull_requestpath filters, in alphabetical order, so the two lists stay identical.tests/test_tool_stdout_encoding.py:tools/compute_heap_layout_census.pywas the one CLI tool whose__main__block did not start withsys.stdout.reconfigure(errors="replace"). It now has the same guard astools/ab_control_flow.pyand the rest.Tested
42537e7b:python -I tests/test_runner_calls_all_tests.pyfails (1 failure).test_runtime_paths.pyandtest_tool_stdout_encoding.pyeach fail with the messages above.python -I tests/test_runner_calls_all_tests.pygives 4 tests OK,python -I tests/test_runtime_paths.pygives 5 OK, andpython -I tests/test_tool_stdout_encoding.pygives 4 OK.python -I tests/test_feature_scan.py: OK (0 failed checks, 0 failed tests).python -I tools/compute_heap_layout_census.py --helpprints its usage.git diff --checkis clean.python3 -I scripts/check_no_game_data.pyon the changed files is clean.This does not touch the GPU jobs. The
cs_imgatomic_extfailure on MoltenVK in Runtime is a separate issue.GPUs tested: n/a - repository checks only.
AI-assisted: Yes.
Checklist
main(42537e7b) and merges cleanly.docs/design.md- not applicable, no translator change.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.