mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #1323] CI: suppress pass notices when the runner reports no failure names (DRAFT-139) #1353
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#1353
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/1323
Author: @fin-github
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:codex/draft-139📝 Commits (1)
320f422CI: suppress pass notices when the runner reports no failure names📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
scripts/ci_expected_failures.py(+2 -1)📝
tests/test_ci_expected_failures.py(+1 -1)📄 Description
Claimed in the coordination issue as: DRAFT-139 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145467171)
Supersedes draft #139. Cherry-picked maxence468's commit from
old-pr/9871ontomainwith its original authorship.What and why
When a runner exits unsuccessfully and supplies an empty failure list, CI reports the runner error and stops evaluating the list. Previously it also printed a pass notice for every expected failure, even though it could not tell which tests ran. The regression confirms that an unnamed runner failure emits only the error.
Tested
Windows 11 (build 26200.9974), Python 3.14.4.
upstream/mainat4a50cafc7with the draft test only,python -I tests/test_ci_expected_failures.py -vran 14 tests with one failure. The runner failure emitted an extra pass notice.python -I tests/test_ci_expected_failures.py -vpassed all 14 tests.python -I scripts/check_no_game_data.py scripts/ci_expected_failures.py tests/test_ci_expected_failures.pyandgit diff upstream/main --checkexited 0.GPUs tested: no GPU
AI-assisted (Codex)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.