mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:50:53 +01:00
[PR #846] make_game: preserve crash reports when a retry fails setup (BUILD-PIPELINE-RETRY-CRASH-REPORT) #884
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#884
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/846
Author: @TheGeogeo
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/preserve-pipeline-crash-report📝 Commits (1)
eb4bdfdPreserve pipeline crash report when a retry fails setup📊 Changes
2 files changed (+27 additions, -2 deletions)
View changed files
📝
make_game.py(+2 -0)📝
tests/test_make_game_pipelines.py(+25 -2)📄 Description
Claimed in the coordination issue as: BUILD-PIPELINE-RETRY-CRASH-REPORT
What and why
After
make_game.pyconfirms a module crash with an isolated checker probe, a retry can exit during setup before writing its work report. The stage reports the setup failure but loses the confirmed crash details. Writepipeline_crashes.jsonbefore taking that error path so the module name and SHA-256 are preserved.This carries forward my earlier
ProjectLeonida/LeonidaPR #9992. PR #285 handles the separate case of a stale report that cannot be removed at startup. Both changes merge together cleanly.Tested
After a rebase on
main6293c1c4(eb4bdfdc, same patch as29b8dbc7), on Windows 11, Python 3.12.4:tests/test_make_game_pipelines.py19 OK,tests/test_make_game_preflight.py98 run, OK (1 skipped);test_tool_stdout_encoding.py,test_docs_cli_flags.pyandtest_text_write_line_endings.pyOK;git diff --checkand the no-game-data check clean.d0da7dadbecausepipeline_crashes.jsonwas missing.python -I -B tests/test_make_game_pipelines.py: 19 passed.python -I -B tests/test_make_game_pipeline_batches.py: 15 passed.python -I -B tests/test_make_game_pipeline_preflight.py: 19 passed and 1 skipped (POSIX execute permissions).b3a8c538) without conflicts in a temporary worktree and reranpython -I -B tests/test_make_game_pipelines.py: 20 passed.git diff --checkandpython -I -B scripts/check_no_game_data.py make_game.py tests/test_make_game_pipelines.py: passed.GPUs tested: n/a. CPU-only synthetic tests.
AI-assisted: Yes, Codex.
Checklist
main.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.