mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:40:52 +01:00
[PR #474] [MERGED] SEMANTIC-PACKAGE-TESTS: include package initializers in parallel runner #526
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#526
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/474
Author: @bobcatchris
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:semantic-package-tests📝 Commits (1)
b45d7c2SEMANTIC-PACKAGE-TESTS: run package initializers in parallel📊 Changes
2 files changed (+55 additions, -7 deletions)
View changed files
📝
scripts/run_semantic_tests.py(+27 -4)📝
tests/test_run_semantic_tests.py(+28 -3)📄 Description
Claimed in the coordination issue as: SEMANTIC-PACKAGE-TESTS
What and why
The default parallel translator-test runner selected only files matching
test*.py, butunittest discoveralso imports every package below the suite root and runs TestCase classes defined in a package's__init__.py. A failing test inpkg/__init__.pytherefore made-j 1fail while-j 2returned green with one fewer test.test_modulesnow includes package initializers even when no filename matches the pattern,module_pathhandles their path when sorting by size, and an empty initializer with no tests is not reported as a failure. Two regressions cover a failing initializer and a pattern that matches no test filenames.No game files, GPU, dependencies, keys or decryption are involved.
Tested
python -I tests/test_run_semantic_tests.py— 12 tests OK-j 1and-j 2now both fail on a failing package initializer (previously-j 2returned 0)python -I scripts/run_semantic_tests.py tests/semantic— 465 files, 6104 tests; onlytest_image_cube_store_glcfailed in this environment, also fails on unpatchedmainpython -I tests/test_ci_registration.py— 15 tests OKpython -m compileall -q scripts tests— OKgit diff --check— cleanGPUs tested: n/a (CPU-only runner and tests)
AI-assisted: yes
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
latencyframes in flight while armed (mailbox replace) #712