[PR #1323] CI: suppress pass notices when the runner reports no failure names (DRAFT-139) #1353

Open
opened 2026-11-26 20:20:57 +01:00 by 4ld0 · 0 comments
Owner

📋 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)

  • 320f422 CI: 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/9871 onto main with 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.

  • Before, on upstream/main at 4a50cafc7 with the draft test only, python -I tests/test_ci_expected_failures.py -v ran 14 tests with one failure. The runner failure emitted an extra pass notice.
  • After the cherry-pick, python -I tests/test_ci_expected_failures.py -v passed all 14 tests.
  • python -I scripts/check_no_game_data.py scripts/ci_expected_failures.py tests/test_ci_expected_failures.py and git diff upstream/main --check exited 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.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1323 **Author:** [@fin-github](https://github.com/fin-github) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/draft-139` --- ### 📝 Commits (1) - [`320f422`](https://github.com/ubiquitarianism/leonida/commit/320f422f245adda3cafd0b5c9d57321cb3e300c6) CI: suppress pass notices when the runner reports no failure names ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `scripts/ci_expected_failures.py` (+2 -1) 📝 `tests/test_ci_expected_failures.py` (+1 -1) </details> ### 📄 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/9871` onto `main` with 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. - Before, on `upstream/main` at `4a50cafc7` with the draft test only, `python -I tests/test_ci_expected_failures.py -v` ran 14 tests with one failure. The runner failure emitted an extra pass notice. - After the cherry-pick, `python -I tests/test_ci_expected_failures.py -v` passed all 14 tests. - `python -I scripts/check_no_game_data.py scripts/ci_expected_failures.py tests/test_ci_expected_failures.py` and `git diff upstream/main --check` exited 0. GPUs tested: no GPU AI-assisted (Codex) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1353
No description provided.