[PR #1319] make_game: keep checking pipelines when the previous crash report is locked (DRAFT-285) #1349

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

📋 Pull Request Information

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

Base: main ← Head: codex/draft-285


📝 Commits (1)

  • 63fce8b 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

Claimed in the coordination issue as: DRAFT-285 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145329388).

What and why

Supersedes draft #285 (old PR 10015 by AGInformatique81), preserving the original commit author. If deleting an old optional pipeline_crashes.json fails at startup, warn that the report may be stale and run the pipeline checker. The checker still clears the in-flight and skip files. The final diagnostic points to the crash report only after a successful write.

This addresses startup cleanup and diagnostic accuracy. #846 addresses a separate failure during a checker retry.

Tested

  • On upstream main at 4a50cafc7, the locked-report regression raised PermissionError before the checker ran, and the report-write regression found that the diagnostic referenced the unwritten report.
  • Windows 11, CPython 3.14.4: python -I tests/test_make_game_pipelines.py, python -I tests/test_make_game_pipeline_batches.py, and python -I tests/test_make_game_pipeline_preflight.py (53 passed, one POSIX-only skip).
  • python -I -m compileall -q make_game.py tools tests, python -I make_game.py --help, python -I scripts/check_no_game_data.py make_game.py tests/test_make_game_pipelines.py, and git diff --check upstream/main...HEAD passed.

GPUs tested: N/A (CPU-only synthetic fixtures).

AI-assisted: yes (Codex).

Checklist

  • Based on upstream main; the original commit applied cleanly.
  • One topic.
  • No game data, keys, or decryption.

Translator contract: N/A.


🔄 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/1319 **Author:** [@fin-github](https://github.com/fin-github) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/draft-285` --- ### 📝 Commits (1) - [`63fce8b`](https://github.com/ubiquitarianism/leonida/commit/63fce8be5494226c9fc81a4660d58a9be06e67b1) 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 Claimed in the coordination issue as: DRAFT-285 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145329388). ### What and why Supersedes draft #285 (old PR 10015 by AGInformatique81), preserving the original commit author. If deleting an old optional `pipeline_crashes.json` fails at startup, warn that the report may be stale and run the pipeline checker. The checker still clears the in-flight and skip files. The final diagnostic points to the crash report only after a successful write. This addresses startup cleanup and diagnostic accuracy. #846 addresses a separate failure during a checker retry. ### Tested - On upstream `main` at `4a50cafc7`, the locked-report regression raised `PermissionError` before the checker ran, and the report-write regression found that the diagnostic referenced the unwritten report. - Windows 11, CPython 3.14.4: `python -I tests/test_make_game_pipelines.py`, `python -I tests/test_make_game_pipeline_batches.py`, and `python -I tests/test_make_game_pipeline_preflight.py` (53 passed, one POSIX-only skip). - `python -I -m compileall -q make_game.py tools tests`, `python -I make_game.py --help`, `python -I scripts/check_no_game_data.py make_game.py tests/test_make_game_pipelines.py`, and `git diff --check upstream/main...HEAD` passed. GPUs tested: N/A (CPU-only synthetic fixtures). AI-assisted: yes (Codex). ### Checklist - [x] Based on upstream `main`; the original commit applied cleanly. - [x] One topic. - [x] No game data, keys, or decryption. Translator contract: N/A. --- <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#1349
No description provided.