fix(diagnostics): preserve traces and report frame and scan results accurately #1143

Manually merged
github merged 1 commit from github-bot/gh-1143 into main 2026-11-29 08:22:29 +00:00 AGit
Owner

@⁠LgscobraPT on GitHub · 2026-11-28 14:08 UTC · original
LgscobraPT:fix/audit-diagnostics → main · +182 −24 · 4 files · 1 commits · merged 2026-11-29 08:16 UTC

Summary

  • Keep the timeline's wait and earlier CPU work when the matching GPU fence submission was not captured. Do not attribute an absent fence to the next timed submission. Preserve the frame cutoff for an exact timed match.
  • Write distinct trace and summary files even if the trace name ends in .txt or .TXT; preserve the existing .txt companion for JSON traces.
  • Count and name files that census cannot read during the PE probe instead of silently treating them as non-PE. Short, readable files are still skipped.
  • Compute fault-book event rates over completed frames and average frame duration over the intervals between end markers. Use the exact 75% threshold for hot blocks. Events at or after the final frame marker do not count towards completed-frame statistics.

Verification

  • Reproduced the diagnostics failures using synthetic inputs before the changes. Focused Timeline and Census harnesses and all four standard-library Faultbook tests passed after the fixes.
  • The Windows workspace and its test targets type-check on Rust 1.98.1 (cargo check --workspace --all-targets --all-features --locked --target x86_64-pc-windows-msvc --features blake3/pure from Linux). No native Windows or hardware tests were executed.
  • The staged asset policy passed. This PR does not include the existing Clippy proposals #705 and #957.
**@⁠LgscobraPT** on GitHub · 2026-11-28 14:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1143) `LgscobraPT:fix/audit-diagnostics` → `main` · +182 −24 · 4 files · 1 commits · merged 2026-11-29 08:16 UTC ## Summary - Keep the timeline's wait and earlier CPU work when the matching GPU fence submission was not captured. Do not attribute an absent fence to the next timed submission. Preserve the frame cutoff for an exact timed match. - Write distinct trace and summary files even if the trace name ends in `.txt` or `.TXT`; preserve the existing `.txt` companion for JSON traces. - Count and name files that `census` cannot read during the PE probe instead of silently treating them as non-PE. Short, readable files are still skipped. - Compute fault-book event rates over completed frames and average frame duration over the intervals between end markers. Use the exact 75% threshold for hot blocks. Events at or after the final frame marker do not count towards completed-frame statistics. ## Verification - Reproduced the diagnostics failures using synthetic inputs before the changes. Focused Timeline and Census harnesses and all four standard-library Faultbook tests passed after the fixes. - The Windows workspace and its test targets type-check on Rust 1.98.1 (`cargo check --workspace --all-targets --all-features --locked --target x86_64-pc-windows-msvc --features blake3/pure` from Linux). No native Windows or hardware tests were executed. - The staged asset policy passed. This PR does not include the existing Clippy proposals #705 and #957.
Keep timeline artifacts distinct and avoid dropping or misattributing waits when a fence was not captured. Surface census probe I/O errors, and base fault-book rates and hot-block counts on completed frames. Cover the regressions with synthetic fixtures.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:34:13 +00:00
github manually merged commit 80ca422ca0 into main 2026-11-29 08:22:29 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1143
No description provided.