make_game: keep checking pipelines when the previous crash report is locked #285

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

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


Carried over from old PR 10015 by AGInformatique81 in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/10015, 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.
AGInformatique81: 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):

Change

If deleting the optional pipeline_crashes.json report fails at startup, warn that the old report may be stale and run the checker. The in-flight and skip files still use the existing required cleanup. The failure diagnostic points to the JSON report only after a successful write.

Coordination claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116990560

Related to #4092. #9992 addresses a separate path after a checker retry has already started.

Testing

  • Both regression controls fail on main d083a2cc. A locked previous report stops the checker before launch, and a failed report write still advertises hashes in the final message.
  • With the change, the pipelines, pipeline-batches and pipeline-preflight suites pass on Windows 11 (CPython 3.15.2, 49 passed and one POSIX-only skip) and WSL2 (CPython 3.14.7, 50 passed).
  • Verified with an actual open file handle on Windows. Removing the report raised PermissionError, the synthetic checker still ran, and the stale-report warning was printed. The old report remained readable.
  • git diff --check and the changed-file no-game-data check passed.

Synthetic inputs only. No GPU or game files. AI-assisted (Codex).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465247073 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/285). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T02:59:26Z. --- > Carried over from **old PR 10015** by `AGInformatique81` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/10015`, 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. > `AGInformatique81`: 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): ## Change If deleting the optional pipeline_crashes.json report fails at startup, warn that the old report may be stale and run the checker. The in-flight and skip files still use the existing required cleanup. The failure diagnostic points to the JSON report only after a successful write. Coordination claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116990560 Related to `#4092`. `#9992` addresses a separate path after a checker retry has already started. ## Testing - Both regression controls fail on main d083a2cc. A locked previous report stops the checker before launch, and a failed report write still advertises hashes in the final message. - With the change, the pipelines, pipeline-batches and pipeline-preflight suites pass on Windows 11 (CPython 3.15.2, 49 passed and one POSIX-only skip) and WSL2 (CPython 3.14.7, 50 passed). - Verified with an actual open file handle on Windows. Removing the report raised PermissionError, the synthetic checker still ran, and the stale-report warning was printed. The old report remained readable. - git diff --check and the changed-file no-game-data check passed. Synthetic inputs only. No GPU or game files. AI-assisted (Codex).
MoonEyes commented 2026-11-27 19:43:48 +00:00 (Migrated from github.com)

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


Thanks a lot for carrying this over, @Andretuta. The same change is in #1319: it carries AGInformatique81's commit from old-pr/10015 with the same diff to make_game.py and tests/test_make_game_pipelines.py, and it was claimed in #14 as DRAFT-285.

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

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226813815 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/285#issuecomment-7226813815). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T19:43:48Z. --- Thanks a lot for carrying this over, @Andretuta. The same change is in #1319: it carries AGInformatique81's commit from `old-pr/10015` with the same diff to `make_game.py` and `tests/test_make_game_pipelines.py`, and it was claimed in #14 as DRAFT-285. I am closing this draft so the review happens in one place. Please continue the discussion on #1319, 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!285
No description provided.