Clarify DRED reports when GPU progress is unknown #1283

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

@⁠DoubleD17 on GitHub · 2026-11-24 17:07 UTC · original
DoubleD17:fix/dred-unknown-progress → main · +13 −5 · 1 files · 1 commits · open

When DRED returns zero breadcrumb nodes, the device-removal report prints an empty progress list alongside recent command notes. This makes it unclear whether the GPU reached those commands.

Report that GPU progress is unknown when DRED returns no nodes, and label the recent notes as recorded commands. Keep the existing progress output when breadcrumb nodes are available.

Independent Windows x64 QA verified the diagnostic build and ran cargo test --locked --offline --profile diag -p victory --features diagnostics (1 passed). A synthetic formatting test covered zero nodes, unchanged output for two populated nodes, and the order and six-note limit for each command list. The test exercised formatting without initializing a GPU or triggering device removal.

Context: #1222.

AI-assisted.

**@⁠DoubleD17** on GitHub · 2026-11-24 17:07 UTC · [original](https://github.com/Marvisak/VIctory/pull/1283) `DoubleD17:fix/dred-unknown-progress` → `main` · +13 −5 · 1 files · 1 commits · open When DRED returns zero breadcrumb nodes, the device-removal report prints an empty progress list alongside recent command notes. This makes it unclear whether the GPU reached those commands. Report that GPU progress is unknown when DRED returns no nodes, and label the recent notes as recorded commands. Keep the existing progress output when breadcrumb nodes are available. Independent Windows x64 QA verified the diagnostic build and ran `cargo test --locked --offline --profile diag -p victory --features diagnostics` (1 passed). A synthetic formatting test covered zero nodes, unchanged output for two populated nodes, and the order and six-note limit for each command list. The test exercised formatting without initializing a GPU or triggering device removal. Context: #1222. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:26:19 +00:00
Author
Owner

@⁠geiyiliyabumo on GitHub · 2026-11-24 17:35 UTC · original

Independent verification of \232b88\ on Windows 11 / AMD Radeon RX 9060 XT (RDNA4, \gfx1200) / Rust 1.98.1 MSVC:

  • Merge check vs \main\ (\ fe310e): clean
  • \cargo test -p victory-gpu --lib: 50 passed, 0 failed, 1 ignored
  • \cargo clippy -p victory-gpu --all-targets -- -D warnings\ (default and --all-features): clean
  • \cargo xtask policy: 154 files ok

Clear, minimal DRED wording improvement distinguishing recorded commands from actual GPU breadcrumb progress.

AI-assisted; synthetic tests only, no game files.

**@⁠geiyiliyabumo** on GitHub · 2026-11-24 17:35 UTC · [original](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7139414165) Independent verification of \232b88\ on **Windows 11 / AMD Radeon RX 9060 XT (RDNA4, \gfx1200\) / Rust 1.98.1 MSVC**: - Merge check vs \main\ (\ fe310e\): clean - \cargo test -p victory-gpu --lib\: **50 passed, 0 failed, 1 ignored** - \cargo clippy -p victory-gpu --all-targets -- -D warnings\ (default and \--all-features\): clean - \cargo xtask policy\: 154 files ok Clear, minimal DRED wording improvement distinguishing recorded commands from actual GPU breadcrumb progress. *AI-assisted; synthetic tests only, no game files.*
Author
Owner

@⁠muhammed-aksoy on GitHub · 2026-11-24 17:55 UTC · original

I independently tested b232b88 against main ffe310e on Windows. The GPU diagnostics suite passed 53 tests with one ignored. In a local batch with #1279, #1307, #1309, and #1311, the all-features workspace suite passed 360 tests with six ignored and zero failures. WARP was selected, and Clippy and asset policy passed at local batch commit 1409f9c. These runs used synthetic fixtures. AI-assisted.

**@⁠muhammed-aksoy** on GitHub · 2026-11-24 17:55 UTC · [original](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7139892425) I independently tested b232b88 against main ffe310e on Windows. The GPU diagnostics suite passed 53 tests with one ignored. In a local batch with #1279, #1307, #1309, and #1311, the all-features workspace suite passed 360 tests with six ignored and zero failures. WARP was selected, and Clippy and asset policy passed at local batch commit 1409f9c. These runs used synthetic fixtures. AI-assisted.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:21 UTC · original · edited 2026-11-25 06:24 UTC

Automated triage for the maintainers.

Merge candidate. It now merges cleanly with main. It is a small diagnostics-only change in victory-gpu/src/host.rs. When DRED returns no breadcrumb nodes, the device-removal report now says "GPU progress unknown" instead of printing an empty list. last_notes labels its entries as recorded commands, so they are not read as GPU progress. I checked that the populated-breadcrumb output is unchanged and that nothing outside the report text changes behaviour. This is a real clarity gain, but a small one. It sits near #1233 (descriptor tables in DRED breadcrumbs) without overlapping it.

CI: passing (check).


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:21 UTC · [original](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7149457827) · edited 2026-11-25 06:24 UTC <!-- victory-triage v1 head=0e2cf3d94f8fc5fe709c2b80eaba0b573153c889 verdict=merge-candidate at=2026-11-25T06:25:00Z --> Automated triage for the maintainers. **Merge candidate.** It now merges cleanly with `main`. It is a small diagnostics-only change in `victory-gpu/src/host.rs`. When DRED returns no breadcrumb nodes, the device-removal report now says "GPU progress unknown" instead of printing an empty list. `last_notes` labels its entries as recorded commands, so they are not read as GPU progress. I checked that the populated-breadcrumb output is unchanged and that nothing outside the report text changes behaviour. This is a real clarity gain, but a small one. It sits near #1233 (descriptor tables in DRED breadcrumbs) without overlapping it. CI: passing (`check`). --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠fuzeofficlal on GitHub · 2026-11-26 01:14 UTC · original

Code review and RTX 5090 + WARP verification at head 0e2cf3d94f8f merged cleanly onto main (63bcca43c6a0):

  • Code review (crates/victory-gpu/src/host.rs:1545-1549, 3763-3787):
    • Replaces ambiguous breadcrumbs (done/count, list) [] with no DRED breadcrumb nodes (GPU progress unknown) when progress.is_empty(), and clarifies last_notes under diagnostics as recorded command ({} in list) so CPU recording order isn't mistaken for GPU execution progress. Default (not(feature = "diagnostics")) path remains unchanged with 0 warnings.
  • Verified (Windows 11, NVIDIA RTX 5090 + WARP, VICTORY_D3D12_DEBUG=1, Rust 1.98.1):
    • cargo xtask policy: 191 files ok; cargo clippy -p victory-gpu --all-targets -- -D warnings (default + --features diagnostics): 0 warnings
    • RTX 5090 host::: 16/16 passed
    • WARP (--features diagnostics, VICTORY_D3D12_WARP=1, VICTORY_D3D12_DEBUG=1): 246/246 passed (1 ignored; concurrent waits_end_on_ticks_and_count_frames passed 1/1 solo).

LGTM.

**@⁠fuzeofficlal** on GitHub · 2026-11-26 01:14 UTC · [original](https://github.com/Marvisak/VIctory/pull/1283#issuecomment-7179572946) Code review and RTX 5090 + WARP verification at head `0e2cf3d94f8f` merged cleanly onto `main` (`63bcca43c6a0`): - **Code review (`crates/victory-gpu/src/host.rs:1545-1549, 3763-3787`)**: - Replaces ambiguous `breadcrumbs (done/count, list) []` with `no DRED breadcrumb nodes (GPU progress unknown)` when `progress.is_empty()`, and clarifies `last_notes` under `diagnostics` as `recorded command ({} in list)` so CPU recording order isn't mistaken for GPU execution progress. Default (`not(feature = "diagnostics")`) path remains unchanged with 0 warnings. - **Verified (Windows 11, NVIDIA RTX 5090 + WARP, `VICTORY_D3D12_DEBUG=1`, Rust 1.98.1)**: - `cargo xtask policy`: `191 files ok`; `cargo clippy -p victory-gpu --all-targets -- -D warnings` (default + `--features diagnostics`): 0 warnings - RTX 5090 `host::`: **16/16 passed** - WARP (`--features diagnostics`, `VICTORY_D3D12_WARP=1`, `VICTORY_D3D12_DEBUG=1`): **246/246 passed** (1 ignored; concurrent `waits_end_on_ticks_and_count_frames` passed 1/1 solo). LGTM.
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/1283/head:github-bot/gh-1283'
git switch 'github-bot/gh-1283'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1283'
git switch 'github-bot/gh-1283'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1283'
git switch 'github-bot/gh-1283'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1283'
git switch 'main'
git merge --squash 'github-bot/gh-1283'
git switch 'main'
git merge --ff-only 'github-bot/gh-1283'
git switch 'main'
git merge 'github-bot/gh-1283'
git push origin 'main'
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/Marvisak--VIctory!1283
No description provided.