[PR #1337] [CLOSED] make_game: keep checking pipelines when the previous crash report is locked (OLD-10015) #1365

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

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

  • 3627f05 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

Summary

Coordination item: OLD-10015 (carry-forward of old-pr/10015, preserving original author AGInformatique81).

Problem & Root Cause

When make_game.py removes a previous pipeline crash report before or after running vk_pipeline_check, Windows can raise PermissionError (OSError) if the report file is still open/locked (e.g., by an editor, antivirus, or log viewer), aborting the pipelines stage unnecessarily.

Implementation

  • Handles OSError when removing the previous crash report in make_game.py so the pipelines stage continues checking pipelines instead of crashing when the file is locked.
  • Adds regression tests in 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 — PASS
  • pytest tests/test_make_game_pipelines.py -v — 19/19 PASS (including test_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 — PASS

Disclosure

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.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1337 **Author:** [@ambroseautomation](https://github.com/ambroseautomation) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `carry/old-10015-pipelines-locked-crash-report` --- ### 📝 Commits (1) - [`3627f05`](https://github.com/ubiquitarianism/leonida/commit/3627f05998fc482ba0d78e62855c98071990c5a8) 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 ## Summary Coordination item: `OLD-10015` (carry-forward of `old-pr/10015`, preserving original author `AGInformatique81`). ### Problem & Root Cause When `make_game.py` removes a previous pipeline crash report before or after running `vk_pipeline_check`, Windows can raise `PermissionError` (`OSError`) if the report file is still open/locked (e.g., by an editor, antivirus, or log viewer), aborting the pipelines stage unnecessarily. ### Implementation - Handles `OSError` when removing the previous crash report in `make_game.py` so the pipelines stage continues checking pipelines instead of crashing when the file is locked. - Adds regression tests in `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` — PASS - `pytest tests/test_make_game_pipelines.py -v` — 19/19 PASS (including `test_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` — PASS ## Disclosure AI-assisted: yes (carry-forward, rebase onto current `main`, and local verification; original implementation by AGInformatique81). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:21:00 +01:00
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#1365
No description provided.