windows-boot: report the loss API, fault query and checkpoint counts #1766

Open
github-bot wants to merge 1 commit from github-bot/gh-1766 into main AGit
Owner

@⁠sodove on GitHub · 2026-11-25 11:42 UTC · original
sodove:fix/windows-boot-fault-context → main · +168 −0 · 3 files · 1 commits · open

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 ExecuteCommandLists lines 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

  • Native Windows 11 and Windows PowerShell 5.1. Six synthetic end-to-end test methods passed through 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.
  • Merged both changes into a temporary test tree. All six context tests and all five #1649 tests passed. A separate combined-digest check found the expected API, query, address class and checkpoint counts, and zero injected private markers anywhere in the digest.
  • Passed all 39 boot trace tests, 3 text line-ending tests, 16 docs link tests and 16 CI registration tests. The changed-file game-data and Git whitespace checks passed.

GPUs tested: n/a (offline log processing using synthetic inputs).

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.
**@⁠sodove** on GitHub · 2026-11-25 11:42 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1766) `sodove:fix/windows-boot-fault-context` → `main` · +168 −0 · 3 files · 1 commits · open Claimed in the coordination issue as: [WIN-BOOT-FAULT-CONTEXT](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608). 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 `ExecuteCommandLists` lines 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 - Native Windows 11 and Windows PowerShell 5.1. Six synthetic end-to-end test methods passed through `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. - Merged both changes into a temporary test tree. All six context tests and all five #1649 tests passed. A separate combined-digest check found the expected API, query, address class and checkpoint counts, and zero injected private markers anywhere in the digest. - Passed all 39 boot trace tests, 3 text line-ending tests, 16 docs link tests and 16 CI registration tests. The changed-file game-data and Git whitespace checks passed. GPUs tested: n/a (offline log processing using synthetic inputs). 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:04:10 +00:00
Author
Owner

@⁠lixonik on GitHub · 2026-11-25 12:13 UTC · original · reviewed

Independent native Windows verification at 4dc7befe. All six synthetic DigestOnly cases passed in both Windows PowerShell 5.1 and PowerShell 7. I applied #1649 and #1609 to the tested head in a separate checkout. The combined tree applied cleanly and passed the same six cases in both shells again.

AI-assisted. Synthetic logs only, with no retail execution or GPU fault capture.

**@⁠lixonik** on GitHub · 2026-11-25 12:13 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1766#pullrequestreview-6057395276) · **reviewed** Independent native Windows verification at `4dc7befe`. All six synthetic DigestOnly cases passed in both Windows PowerShell 5.1 and PowerShell 7. I applied #1649 and #1609 to the tested head in a separate checkout. The combined tree applied cleanly and passed the same six cases in both shells again. AI-assisted. Synthetic logs only, with no retail execution or GPU fault capture.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1766/head:github-bot/gh-1766'
git switch 'github-bot/gh-1766'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1766'
git switch 'github-bot/gh-1766'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1766'
git switch 'github-bot/gh-1766'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1766'
git switch 'main'
git merge --squash 'github-bot/gh-1766'
git switch 'main'
git merge --ff-only 'github-bot/gh-1766'
git switch 'main'
git merge 'github-bot/gh-1766'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.