windows-boot: report the loss API, fault query and checkpoint counts #1766
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!1766
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/windows-boot-fault-context"
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
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
TAKEN by OreoFR (Windows, RTX 4070 8 GB)
Verified by OreoFR — READY
LEONIDA_DEVICE_FAULT=2) + this PR (head a79340fae) merged with --no-ff, no conflict;boot.ps1and the README auto-merge.tests/test_windows_boot_fault_context.py,python -I, Windows PowerShell 5.1.26100: 6 tests, 9 failures (5 tests, all subtests: nofault context:line in the digest). The sixth test (no context for normal dispatches) passes on main, as expected.test_windows_boot_fault_context.py6/6 OK,test_windows_boot_fault_digest.py5/5 OK,test_windows_boot_journal_seed.py26/26 OK, so #2599's change and this PR live together.Get-FaultContextonly runs in the digest, only when the log exists, and adds a line only when it saw a loss, a query outcome or checkpoint records.other.ReadLinesfor the digest, thenSelect-Stringhere). Not a blocker.AI-assisted (Claude Code, Claude Opus 5.5), run for OreoFR.
Ready to merge per the maintainers' plan (green, no conflict, tested).
Thank you! Merged into
mainwith a merge commit. It was verified ready on its current head (a79340fae) by OreoFR's Windows agent (Windows 11, PowerShell 5.1); see the verification comment above. (AI-assisted, posted for DadaCap.)