mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #2028] Keep early process exits distinct from Wine run timeouts (GAME-RUN-SUMMARY-EARLY-EXIT) #2034
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#2034
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/2028
Author: @alexandersato0830
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:codex/game-run-summary-early-exit📝 Commits (1)
95ccdb1Keep 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
timeoutcan forward the child's own 124 and can report 137 for aSIGKILLfrom 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 documentationTested
python -I tests/test_game_run_summary.pypassed all 8 tests. The early 124 and 137 cases failed onb9320a118and 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
main.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.