CI: suppress pass notices when the runner reports no failure names #139

Closed
Andretuta wants to merge 1 commit from upstream-pr/139 into main
Andretuta commented 2026-11-24 02:26:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T02:26:28Z.


Carried over from old PR 9871 by maxence468 in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9871, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
maxence468: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Claimed in the coordination issue.

What and why

When a runner exits nonzero and produces an empty failure list, CI cannot tell which tests ran. The helper now reports the runner error and returns status 1 immediately. Previously it also advised maintainers to drop every expected failure from the list.

Tested

  • The regression assertion reproduced the incorrect pass notice on the parent. All 12 tests in tests/test_ci_expected_failures.py passed with the fix on Windows.
  • Changed-file no-game-data and whitespace checks passed.
  • The full semantic suite ran 5,957 tests across 447 files. Two modules failed, as in the previous baseline run: test_image_atomics_guard and test_image_store_d16.

CPU only. No GPU or game data used. AI-assisted with Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5464917984 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/139). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T02:26:28Z. --- > Carried over from **old PR 9871** by `maxence468` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9871`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `maxence468`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Claimed in [the coordination issue](https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7115316462). ### What and why When a runner exits nonzero and produces an empty failure list, CI cannot tell which tests ran. The helper now reports the runner error and returns status 1 immediately. Previously it also advised maintainers to drop every expected failure from the list. ### Tested - The regression assertion reproduced the incorrect pass notice on the parent. All 12 tests in tests/test_ci_expected_failures.py passed with the fix on Windows. - Changed-file no-game-data and whitespace checks passed. - The full semantic suite ran 5,957 tests across 447 files. Two modules failed, as in the previous baseline run: test_image_atomics_guard and test_image_store_d16. CPU only. No GPU or game data used. AI-assisted with Codex.
QemmHD commented 2026-11-24 05:28:47 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T05:28:47Z.


Safe: same exit codes as before; it only suppresses misleading notices.

Security review; read only, nothing run.
AI-assisted (Claude Code, Claude Opus 5.5).
Discord: bigpeppa.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7122986055 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/139#issuecomment-7122986055). Originally posted by [QemmHD](https://github.com/QemmHD) on 2026-11-24T05:28:47Z. --- Safe: same exit codes as before; it only suppresses misleading notices. Security review; read only, nothing run. AI-assisted (Claude Code, Claude Opus 5.5). Discord: bigpeppa.
MoonEyes commented 2026-11-27 19:43:44 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T19:43:44Z.


Thanks a lot for carrying this over, @Andretuta. The same change is in #1323: it cherry-picks maxence468's commit from old-pr/9871 with the same diff to scripts/ci_expected_failures.py and tests/test_ci_expected_failures.py, and it was claimed in #14 as DRAFT-139.

I am closing this draft so the review happens in one place. Please continue the discussion on #1323, or reopen this one if you see something it misses.

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226812816 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/139#issuecomment-7226812816). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T19:43:44Z. --- Thanks a lot for carrying this over, @Andretuta. The same change is in #1323: it cherry-picks maxence468's commit from `old-pr/9871` with the same diff to `scripts/ci_expected_failures.py` and `tests/test_ci_expected_failures.py`, and it was claimed in #14 as DRAFT-139. I am closing this draft so the review happens in one place. Please continue the discussion on #1323, or reopen this one if you see something it misses. AI-assisted (Claude Code, Claude Opus 5.5)

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
ProjectLeonida/mandy!139
No description provided.