windows-boot: report Vulkan fault classes in the digest #1649
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1649"
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?
Imported from ubiquitarianism/leonida. Originally posted by sodove on 2026-11-25T07:00:58Z.
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
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T08:31:19Z.
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.Imported from ubiquitarianism/leonida. Originally posted by BubsMcgee on 2026-11-25T15:36:52Z.
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.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T14:46:37Z.
Red/green:
pytest tests/test_windows_boot_fault_digest.pyfails on main (5 failed) and passes on head9c65c6ef2dmerged with main (5 passed).Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main
d48a957bbin GitHub Actions: no new failure.AI-assisted (Claude Code, Claude Opus 5.5)