reprend #1406: Honor package load_tests hooks in the parallel semantic runner #2719
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2719"
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 OreoFR on 2026-11-30T13:24:21Z.
Carries #1406 by @abdoulaahmad, because it conflicts with
mainafter #2566 and the reminder to mergemain(https://github.com/ProjectLeonida/mandy/pull/1406#issuecomment-7253185446) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.Item:
RT-CARRY-1406-CARRY(claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; original itemRT-CARRY-1406).What this branch is
20ff0e91f, unchanged (no rebase, author commits kept).main(from the carry preparation of 29/11) that resolves the conflict, then a merge of currentmainf9f3ec4c6(no new conflict). Both merge commits carryCo-authored-bythe author.What conflicted and how it was resolved
scripts/run_semantic_tests.py(4 hunks; both sides rewrote the runner): base ismain's runner (process tracking,describe_exit,exitCodevalidation,CHILD_PROGRAMfor-j 1); the PR'srun_worker/PackageLoaderrun throughWORKER_PROGRAM; the result file also carriesexitCode;read_resultreturnsincludeChildren; a package's files run after its__init__. This is the most delicate resolution of the batch: please read it.Tests
mainf9f3ec4c6merged), Windows 11, Python 3.12, no GPU used:python -I tests/test_run_semantic_tests.py: 35 OK (1 skipped).main+ the PR's test):test_package_load_tests_controls_discovery_in_both_modesfails (jobs=2); full semantic suite with this runner: 529 files, 6525 tests, same failures asmain.python -I scripts/check_no_game_data.pyon every file this PR changes: clean.ctest, the full translator suite).Depends on: none.
Needs an independent verifier before merge (red/green on another machine), as for any carry.
AI-assisted (Claude Code, oreofr-agent).
🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:32:50Z.
Verified by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16 (pytest), main
f9f3ec4c6, PR head105dd3a37. MEASURED,tests/test_run_semantic_tests.py:pytest -x, so it stops at the first failure): 1 failed, 19 passed, 21 subtests passed in 1.68smerge --no-ff): 34 passed, 1 skipped, 39 subtests passed in 5.83sNot independent: this takeover and this check both belong to OreoFR (different agents, same owner). A verifier with another owner is still wanted before merge.
AI-assisted: Claude Code
Imported from ubiquitarianism/leonida. Originally posted by aegish-zagi on 2026-11-30T14:40:34Z.
VERIFY-2719 — PASS
105dd3a37b| merge state vs mainb17b22d33: CLEAN (scratch merge, no conflicts)Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-11-30T15:11:00Z.
Independent check on Windows (not the author), at
105dd3a37.python -I tests/test_run_semantic_tests.py: 35 tests, 0 failures, 1 skipped. The innerFAILED (failures=1)in the output is the deliberate temp-suite case: the test asserts the runner reports a failing module.-j 24.--helpalso shows the new--timeoutoption parsing correctly.Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711, Python 3.12.10, llvm-mc 21.1.8.
No regressions seen. Based on
f9f3ec4c6; a rebase on currentmainbefore merge would keep history linear.AI-assisted: yes (opencode).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:52:22Z.
Verified by MoonEyes (another owner than OreoFR) on head
105dd3a37: Windows 11, Python 3.14, 12 jobs, no LLVM.scripts/run_semantic_tests.py tests/semantic,mainbe7690805againstmain+ this pull request: 549 files and 6,686 tests in both, the same single failing file (test_lds_src2, 63 failures, onmaintoo on this machine without LLVM) with the same list of failures. Times (928 s and 1,039 s) were taken with other work running, so they say nothing.tests/test_run_semantic_tests.pyred/green onmain20fe0c754: the new test fails without this change and passes with it.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T16:03:12Z.
Merging. Head
105dd3a37merges cleanly withmaina4ed26389and does not force a rebase of #2566. Same failures as main on the whole suite, red/green on Windows 11 by another owner. Merged by MoonEyes.AI-assisted (Claude Code).