[PR #2028] Keep early process exits distinct from Wine run timeouts (GAME-RUN-SUMMARY-EARLY-EXIT) #2034

Open
opened 2026-11-26 21:19:48 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2028
Author: @alexandersato0830
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: codex/game-run-summary-early-exit


📝 Commits (1)

  • 95ccdb1 Keep early process exits distinct from Wine run timeouts

📊 Changes

2 files changed (+9 additions, -2 deletions)

View changed files

📝 tests/test_game_run_summary.py (+4 -0)
📝 tools/game_run_summary.py (+5 -2)

📄 Description

Claimed in the coordination issue as: GAME-RUN-SUMMARY-EARLY-EXIT

What and why

Exit statuses 124 and 137 can appear before the configured deadline. GNU timeout can forward the child's own 124 and can report 137 for a SIGKILL from outside the timer. Use the already-recorded duration to rule out a timeout when the process finished before the limit. At or beyond the limit, and when either time value is missing, the existing timeout summary still applies. GNU timeout documentation

Tested

  • python -I tests/test_game_run_summary.py passed all 8 tests. The early 124 and 137 cases failed on b9320a118 and passed with the fix. The test also covers an exit at the configured limit and older records without a duration.
  • git diff --check, compileall, and the source-only check passed on Windows 11 with Python 3.11.17.

GPUs tested: n/a (synthetic run records)

AI-assisted: yes (Codex)

Checklist

  • Based on current main.
  • One topic.
  • No game data, keys or decryption.

🔄 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/2028 **Author:** [@alexandersato0830](https://github.com/alexandersato0830) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/game-run-summary-early-exit` --- ### 📝 Commits (1) - [`95ccdb1`](https://github.com/ubiquitarianism/leonida/commit/95ccdb19f540410e67cca60eb40fa99dcba8ca20) Keep early process exits distinct from Wine run timeouts ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_game_run_summary.py` (+4 -0) 📝 `tools/game_run_summary.py` (+5 -2) </details> ### 📄 Description Claimed in the coordination issue as: [GAME-RUN-SUMMARY-EARLY-EXIT](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7171018307) ### What and why Exit statuses 124 and 137 can appear before the configured deadline. GNU `timeout` can forward the child's own 124 and can report 137 for a `SIGKILL` from outside the timer. Use the already-recorded duration to rule out a timeout when the process finished before the limit. At or beyond the limit, and when either time value is missing, the existing timeout summary still applies. [GNU timeout documentation](https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html) ### Tested - `python -I tests/test_game_run_summary.py` passed all 8 tests. The early 124 and 137 cases failed on `b9320a118` and passed with the fix. The test also covers an exit at the configured limit and older records without a duration. - `git diff --check`, `compileall`, and the source-only check passed on Windows 11 with Python 3.11.17. GPUs tested: n/a (synthetic run records) AI-assisted: yes (Codex) ### Checklist - [x] Based on current `main`. - [x] One topic. - [x] No game data, keys or decryption. --- <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#2034
No description provided.