mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1337] [CLOSED] make_game: keep checking pipelines when the previous crash report is locked (OLD-10015) #1365
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#1365
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/1337
Author: @ambroseautomation
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:carry/old-10015-pipelines-locked-crash-report📝 Commits (1)
3627f05Keep 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
Summary
Coordination item:
OLD-10015(carry-forward ofold-pr/10015, preserving original authorAGInformatique81).Problem & Root Cause
When
make_game.pyremoves a previous pipeline crash report before or after runningvk_pipeline_check, Windows can raisePermissionError(OSError) if the report file is still open/locked (e.g., by an editor, antivirus, or log viewer), aborting the pipelines stage unnecessarily.Implementation
OSErrorwhen removing the previous crash report inmake_game.pyso the pipelines stage continues checking pipelines instead of crashing when the file is locked.tests/test_make_game_pipelines.py.Tests Run
Environment: Windows 11 Pro 64-bit, Python 3.12.10, synthetic fixtures only (no game data).
python -I -m py_compile make_game.py tests/test_make_game_pipelines.py— PASSpytest tests/test_make_game_pipelines.py -v— 19/19 PASS (includingtest_a_locked_old_crash_report_does_not_prevent_a_clean_check)python -I scripts/check_no_game_data.py make_game.py tests/test_make_game_pipelines.py— PASSDisclosure
AI-assisted: yes (carry-forward, rebase onto current
main, and local verification; original implementation by AGInformatique81).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.