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

Open
github-bot wants to merge 1 commit from github-bot/gh-2028 into main AGit
Owner

@⁠alexandersato0830 on GitHub · 2026-11-25 18:32 UTC · original
alexandersato0830:codex/game-run-summary-early-exit → main · +9 −2 · 2 files · 1 commits · open

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.
**@⁠alexandersato0830** on GitHub · 2026-11-25 18:32 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2028) `alexandersato0830:codex/game-run-summary-early-exit` → `main` · +9 −2 · 2 files · 1 commits · open Claimed in the coordination issue as: [GAME-RUN-SUMMARY-EARLY-EXIT](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) ### 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:15:12 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2028/head:github-bot/gh-2028'
git switch 'github-bot/gh-2028'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2028'
git switch 'github-bot/gh-2028'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2028'
git switch 'github-bot/gh-2028'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2028'
git switch 'main'
git merge --squash 'github-bot/gh-2028'
git switch 'main'
git merge --ff-only 'github-bot/gh-2028'
git switch 'main'
git merge 'github-bot/gh-2028'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.