Keep early process exits distinct from Wine run timeouts (GAME-RUN-SUMMARY-EARLY-EXIT) #2028
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2028
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/game-run-summary-early-exit"
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 successfully merged and closed
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.#2028 | head
95ccdb19f540410e67cca60eb40fa99dcba8ca20|python3 -I tests/test_game_run_summary.py -v| red: 8 run, 2 failures | green: 8 passed | Red → greenThe baseline classified early process exits as timeouts in the synthetic log cases.
Pinned main
33db04a7010e81c40a7a6a15624525aa0c4a3a58, merged into this PR head. Ubuntu 26.04.1 (WSL2), Python 3.14.4. Full suite: not run. AI-assisted: OpenAI Codex. Batch claim.Merged, thank you @alexandersato0830!
What it does: Keep early process exits distinct from Wine run timeouts (GAME-RUN-SUMMARY-EARLY-EXIT)
How it was checked: sodove tested this PR at head
95ccdb19fon main33db04a70: the PR's own test fails on main and passes with this PR merged in (his result is linked from the batch summary in #1608). We then re-ran the same test locally on Windows 11 and got the same verdict: on main, red (2 failures); with the PR, green (8 OK).CI: the red jobs on this PR fail the same way on main, or on the older main it was built on (the
cs_dpp_cmp.asmtranslator fixture, since fixed on main, and the Windows runner's Visual Studio setup), so none comes from this change.Merged one by one with 20 other PRs of the same reviewed batch, pinned to the tested head.
AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.