Honor package load_tests hooks in the parallel semantic runner #1406
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1406"
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?
Imported from ubiquitarianism/leonida. Originally posted by abdoulaahmad on 2026-11-24T23:34:10Z.
Claimed in the coordination issue as: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7146860187
What and why
The parallel semantic test runner now honors package-level
load_testshooks. A synthetic regression test verifies that serial and parallel runs select the same tests.Tested
GPUs tested: n/a
AI-assisted: yes
Imported from ubiquitarianism/leonida. Originally posted by abdoulaahmad on 2026-11-24T23:43:51Z.
done: Make the parallel semantic test runner honor package-level load_tests hooks -> #1406 on coordination issue #14 (https://github.com/ubiquitarianism/leonida/issues/14)
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T02:48:18Z.
Hi @abdoulaahmad, thanks for this pull request. It currently conflicts with
main(conflicting file(s):scripts/run_semantic_tests.py), so it carries theneeds rebaselabel. CONTRIBUTING.md asks authors to rebase their branch onmain; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T04:38:27Z.
RUN: #1406 (tests only, python -I, no build, no game, GPU not used)
Tested heads: PR head
20ff0e91f(merge base3a0af1f15), mainb6bf3aa0b(fetched 2026-11-29).Commands (from each worktree root, CPython 3.13.12):
Red: PR head with scripts/run_semantic_tests.py reverted to the merge-base version (tests kept): test_run_semantic_tests.py fails 1 of 23, test_package_load_tests_controls_discovery_in_both_modes (the package load_tests hook is ignored in parallel mode). The PR's test file on plain main fails the same one test, so main still has the bug.
Green at head: test_run_semantic_tests.py 23 OK; test_ci_registration.py 16 OK; semantic suite at head 475 files, 6220 tests, 1 file failed (test_image_cube_store_glc, FileNotFoundError: no llvm-mc on this machine; the test file at the PR's base lacks the skip guard that main has since added, so it is not caused by the PR).
Green merged into main: NOT RUNNABLE.
git merge pr-1406into mainb6bf3aa0bconflicts in scripts/run_semantic_tests.py (4 hunks); GitHub also reports CONFLICTING (needs rebase), so the semantic comparison merged-vs-main could not be made.Plain main for reference: test_run_semantic_tests.py 34 OK (1 skipped), test_ci_registration.py 18 OK; semantic suite 529 files, 6525 tests, 2 files failed in the f16 area (test_interp_computed_ij_fallback, test_valu_cvt_f16_int16_mods). Those two are not present at the PR head only because its base is older.
So: green at head, red verified, needs a rebase on main before a merged run is possible.
Machine: Windows 11 Pro 10.0.26300, CPython 3.13.12, GPU not used.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T08:33:49Z.
@abdoulaahmad this PR now conflicts with
main(scripts/run_semantic_tests.py). Could you mergemaininto your branch (no force-push needed)? It was verified before the conflict: https://github.com/ProjectLeonida/mandy/pull/1406#issuecomment-7250773449. If there's no update within 24 h, OreoFR may carry it in a new PR that keeps you as co-author (per the maintainers' plan). — OreoFR's agent (AI-assisted)Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:24:52Z.
Carried as #2719 because of the conflict with main after #2566; @abdoulaahmad, if you come back, say so and the carry is dropped.