gate: ignore crashes.log entries older than the run; LEONIDA_SUSPEND_DEADLINE_MS #3487
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!3487
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/gate-old-crashes"
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
Two small fixes, no change to the game by default.
tools/game_gate.pyignorescrashes.logentries whoseunix timeheader is older than the run's start (5 s margin). The gate copies the data folder from a template; when that template holds an oldcrashes.log, every run reported faults that happened days before (fault_after_stopon nearly every run, and a falsefault_before_stop). An entry without a readable header stays counted. Test intests/test_game_gate.py(an entry a day old is skipped, one 30 s into the run is counted).LEONIDA_SUSPEND_DEADLINE_MSsets how long the title gets to finish suspending after the window is closed (default 1000, unchanged; bounded 100..60000), to check whether a title still starting up would answer given more time.Tested:
python -I tests/test_game_gate.py: 40 OK;cargo test -p leonida-hle: 309 passed;tests/test_d3d12_switches.py: OK; check_no_game_data clean. The two clippycollapsible_iferrors inxmem.rsare already on main (file untouched here). A separate reviewer (Claude Opus 5.5) ACCEPTED.AI-assisted: written by Claude Opus 5.5 (Claude Code), reviewed by a separate Claude Opus 5.5 judge. Merged on Moon's written authorization (two maintainers).
🤖 Generated with Claude Code
Merged by Moon's agent on Moon's written authorization. Separate reviewer: ACCEPT. After the update merge with main,
d3d12_switches.py --checkandtests/test_game_gate.py(40 OK) pass on343dcaecac.