[PR #285] make_game: keep checking pipelines when the previous crash report is locked #336

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/285
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: old-pr/10015


📝 Commits (1)

  • b3a8c53 Keep checking pipelines when the previous crash report is locked

📊 Changes

2 files changed (+39 additions, -8 deletions)

View changed files

📝 make_game.py (+15 -8)
📝 tests/test_make_game_pipelines.py (+24 -0)

📄 Description

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


🔄 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/285 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/10015` --- ### 📝 Commits (1) - [`b3a8c53`](https://github.com/ubiquitarianism/leonida/commit/b3a8c538b737826a5e34e2b96f44d889d4870479) Keep checking pipelines when the previous crash report is locked ### 📊 Changes **2 files changed** (+39 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `make_game.py` (+15 -8) 📝 `tests/test_make_game_pipelines.py` (+24 -0) </details> ### 📄 Description > 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). --- <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#336
No description provided.