mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:50:52 +01:00
[PR #1649] windows-boot: report Vulkan fault classes in the digest #1663
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#1663
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/1649
Author: @sodove
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/windows-boot-fault-digest📝 Commits (1)
9c65c6ewindows-boot: summarize device loss and Vulkan fault classes in the digest📊 Changes
3 files changed (+102 additions, -8 deletions)
View changed files
📝
scripts/windows-boot/README.md(+5 -3)📝
scripts/windows-boot/boot.ps1(+32 -5)➕
tests/test_windows_boot_fault_digest.py(+65 -0)📄 Description
Claimed in the coordination issue as: WIN-BOOT-FAULT-DIGEST.
What and why
The Windows boot digest copied the first eight diagnostic lines verbatim. Routine dispatch telemetry could fill all eight slots before the driver reported its fault types. Even a healthy run could show a fault count, and the copied lines could contain private metadata.
The faults row now scans the whole stderr log for a device-loss marker and counts Vulkan address records by their symbolic type. Unknown types share one bucket. A loss with no address records, address records in a partial log, and ordinary telemetry have distinct summaries. Only fixed labels and counts from the fault report go in this row. The counts describe records and can exceed the number of losses.
Tested
-DigestOnlycases passed. The first three cases failed on the base implementation. The cases cover a write class after ten telemetry lines, repeated and unknown types, loss without address info, a truncated log, and absence of private field text from the fault summary.GPUs tested: n/a for the digest (offline log processing).
AI-assisted: yes (OpenAI Codex).
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.