windows-boot: report Vulkan fault classes in the digest #1649
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!1649
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/windows-boot-fault-digest"
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-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
Independent verification (native Windows): PowerShell-only digest change + new test, zero runtime code touched.
test_windows_boot_fault_digest.py5/5 OK (real powershell runs); full RelWithDebInfo rebuild 409/409; GPU ctest (startup_trace,run_startup_cmdline,vulkan_device_fault,vk_sync_validation+ real-GPU setvk_shader_fma,vk_pipeline_check_cli,vk_queue,vk_device_pick,vk_bindless_grow,vk_presenter_sync) all PASS on RTX 4070 SUPER and AMD gfx1036 iGPU with validation on.d3d12_boot_movieSKIP (needs game files) as expected. AI-assisted verification.Tested on a real retail boot (Windows 11 Pro build 26300, RTX 3080 Ti, driver 616.64),
-DigestOnlyover the log of a healthy 200 s run that reached sessiond:python -I tests/test_windows_boot_fault_digest.py— 5/5 pass.faults: none, with thestates,presents,inputandframesrows unchanged, and no private metadata text in the digest.LGTM from this run; no code changes needed. AI-assisted.
Red/green:
pytest tests/test_windows_boot_fault_digest.pyfails on main (5 failed) and passes on head 9c65c6ef2d71 merged with main (5 passed).Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main d48a957bb in GitHub Actions: no new failure.
AI-assisted (Claude Code, Claude Opus 5.5)