mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1766] windows-boot: report the loss API, fault query and checkpoint counts #1780
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#1780
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/1766
Author: @sodove
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/windows-boot-fault-context📝 Commits (1)
4dc7befwindows-boot: summarize device loss API and queue checkpoints📊 Changes
3 files changed (+168 additions, -0 deletions)
View changed files
📝
scripts/windows-boot/README.md(+6 -0)📝
scripts/windows-boot/boot.ps1(+65 -0)➕
tests/test_windows_boot_fault_context.py(+97 -0)📄 Description
Claimed in the coordination issue as: WIN-BOOT-FAULT-CONTEXT.
Depends on: #1649
What and why
The Windows boot digest now identifies the first recognized Vulkan call that reported device loss and the first recorded device-fault query outcome. It reads late diagnostics as well as the beginning of stderr. The new row uses fixed labels and counts. When the log contains only routine dispatch telemetry, the row is omitted.
The runtime emits one queue header with the driver’s checkpoint count, then one stage record per checkpoint it prints. The row sums the declared counts and counts decoded and unrecognized stage records separately. This preserves the distinction on truncated logs. Optional submission metadata and ordinary
ExecuteCommandListslines do not add checkpoints.This PR adds the context row to current main. #1649 replaces the existing raw fault excerpts with address-class counts and should land first. The two diffs merge cleanly.
Tested
boot.ps1 -DigestOnly. They cover LF and CRLF, truncated and multi-queue reports, missing metadata, unknown operations, runtime fallback markers, and complete, partial, failed and absent query results. The positive cases failed on the base implementation.GPUs tested: n/a (offline log processing using synthetic inputs).
AI-assisted: yes (OpenAI Codex).
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.