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

Closed
leonida/mandy
Andretuta wants to merge 0 commits from old-pr/9871 into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

Andretuta commented 2026-11-24 02:26:28 +00:00

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.

> 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

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.

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

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)

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)
Sign in to join this conversation.
No description provided.