make_game: keep checking pipelines when the previous crash report is locked (DRAFT-285) #1319
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1319"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by fin-github on 2026-11-24T21:50:28Z.
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.jsonfails 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
mainat4a50cafc7, the locked-report regression raisedPermissionErrorbefore the checker ran, and the report-write regression found that the diagnostic referenced the unwritten report.python -I tests/test_make_game_pipelines.py,python -I tests/test_make_game_pipeline_batches.py, andpython -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, andgit diff --check upstream/main...HEADpassed.GPUs tested: N/A (CPU-only synthetic fixtures).
AI-assisted: yes (Codex).
Checklist
main; the original commit applied cleanly.Translator contract: N/A.
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-24T23:41:43Z.
Verified on Windows host (AI-assisted review).
python -I tests/test_make_game_pipelines.py: 19 tests OK, including the newtest_a_locked_old_crash_report_does_not_prevent_a_clean_checkwhich simulates PermissionError on os.remove of pipeline_crashes.json.compileallclean on make_game.py and the test file.DUPLICATE NOTE: this PR's tree is byte-identical to #1337 (same diff, same resulting tree — verified with git diff between the two head commits: 0 lines). Only one should be merged; the other closed as duplicate.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T07:46:18Z.
Red/green: 2 failures on main, 19 passed with this PR.
Full suite with this PR merged together with seven others in one batch matches main (pytest, translator suite, ctest without the game) on Windows 11 with an RTX 4060, except xmem_write_watch, a test that depends on free host memory and has also failed on plain main.
AI-assisted (Claude Code, Claude Opus 5.5). Thank you!