mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:45:53 +01:00
[PR #1749] run_semantic_tests: fail workers that exit without a result (SEMANTIC-WORKER-RESULT-REQUIRED) #1761
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#1761
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/1749
Author: @lixonik
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:semantic-worker-result-required📝 Commits (1)
4791919Fail semantic workers that exit without a result📊 Changes
2 files changed (+19 additions, -4 deletions)
View changed files
📝
scripts/run_semantic_tests.py(+8 -4)📝
tests/test_run_semantic_tests.py(+11 -0)📄 Description
Claimed in the coordination issue as: SEMANTIC-WORKER-RESULT-REQUIRED
What and why
A parallel semantic test worker can exit 0 before writing its unittest result. With a second module that completes normally, the runner used to return success for the suite while omitting the unfinished module.
Require a valid unittest result for a successful worker exit. The runner now identifies the unfinished module and fails the suite. A reported count of zero still represents a real completed result, as for an empty package initializer.
Tested
Reproduced the false pass on the merge base with a synthetic worker that exits during a test and a healthy sibling. The new CLI regression fails against the base and passes with this change.
Ran all 23 semantic runner unit tests on Windows.
Passed the no-game-data scan and
git diff --check.Ran the complete semantic suite on Windows: 488 files, 6,260 tests, zero failed files.
GPUs tested: n/a (CPU-only test runner)
AI-assisted.
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.