[PR #1649] windows-boot: report Vulkan fault classes in the digest #1663

Open
opened 2026-11-26 20:22:01 +01:00 by 4ld0 · 0 comments
Owner

📋 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)

  • 9c65c6e windows-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

  • Native Windows 11, Windows PowerShell 5.1. Five synthetic end-to-end -DigestOnly cases 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.
  • The existing boot trace tests passed, 39 in total. The translator suite passed, 487 files and 6,279 tests. Text line-ending tests and the staged-file game-data check passed.

GPUs tested: n/a for the digest (offline log processing).

AI-assisted: yes (OpenAI Codex).

Checklist

  • Based on current main.
  • One topic.
  • No game data, keys or decryption.
  • Translator contract update inapplicable to this reporting change.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1649 **Author:** [@sodove](https://github.com/sodove) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/windows-boot-fault-digest` --- ### 📝 Commits (1) - [`9c65c6e`](https://github.com/ubiquitarianism/leonida/commit/9c65c6ef2d710ebb3972dbea376712d4b85060c9) windows-boot: summarize device loss and Vulkan fault classes in the digest ### 📊 Changes **3 files changed** (+102 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `scripts/windows-boot/README.md` (+5 -3) 📝 `scripts/windows-boot/boot.ps1` (+32 -5) ➕ `tests/test_windows_boot_fault_digest.py` (+65 -0) </details> ### 📄 Description Claimed in the coordination issue as: [WIN-BOOT-FAULT-DIGEST](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7155213247). ### 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 - Native Windows 11, Windows PowerShell 5.1. Five synthetic end-to-end `-DigestOnly` cases 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. - The existing boot trace tests passed, 39 in total. The translator suite passed, 487 files and 6,279 tests. Text line-ending tests and the staged-file game-data check passed. GPUs tested: n/a for the digest (offline log processing). AI-assisted: yes (OpenAI Codex). ### Checklist - [x] Based on current main. - [x] One topic. - [x] No game data, keys or decryption. - [x] Translator contract update inapplicable to this reporting change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1663
No description provided.