mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:40:52 +01:00
[PR #2246] boot_trace: count failed file opens by Win32 error #2250
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#2250
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/2246
Author: @kirigayakazima
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:codex/boot-trace-open-error-counts📝 Commits (1)
8489528boot_trace: count failed file opens by Win32 error📊 Changes
2 files changed (+20 additions, -0 deletions)
View changed files
📝
tests/test_boot_trace.py(+11 -0)📝
tools/boot_trace.py(+9 -0)📄 Description
Claimed in the coordination issue as: BOOT-TRACE-OPEN-ERROR-COUNTS
Depends on: #1962 (adjacent regression-test insertion). Each branch builds directly on main. These references flag textual merge conflicts.
What and why
Count failed opens by their numeric Win32 error across the entire trace, even when the path sample limit is zero. Invalid codes share an
unknownbucket. The local text summary ranks errors by frequency and the counts-only report includes the histogram without filenames.Tested
Windows, Python 3.14.7. The regression failed on the parent commit and passed with this change.
python -I tests/test_boot_trace.pygit diff --checkand the changed-path no-game-data scan passed.GPUs tested: N/A (synthetic CPU tests).
AI-assisted: Yes.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.