tooling: classify the new output UAV element-limit refusal #3548

Closed
github-bot wants to merge 1 commit from github-bot/gh-3546 into main AGit
Owner

@⁠KelboLive on GitHub · 2026-11-30 03:48 UTC · original
KelboLive:fix/3547-uav-reason-calibration → main · +1 −0 · 1 files · 1 commits · closed without merging

Change

Add an output UAV interval exceeds the D3D12 buffer view element limit to COMPUTE_DISPATCH_REASONS in
tools/startup/triage_run.py.

#3471 added that refusal at src/startup_stubs/d3d12_compute_dispatch.inl:745 without adding it to the
set. tests/startup_triage_run_check.py scans the dispatch source for refusal literals and fails for any
one that the set does not classify, so main at 44a3ad5aa is red:

FAIL source reasons missing from COMPUTE_DISPATCH_REASONS:
  'an output UAV interval exceeds the D3D12 buffer view element limit'
startup triage_run checks: 1 failed

The set's own comment states the rule: "check_allowlist_covers_source_reasons scans the C++ sources and
fails when a reason literal is added there without being added here too; update this set in the same PR
that adds a refusal reason."

Verification

44a3ad5aa with the entry added, In-box dev preset:

ctest --preset dev --no-tests=error -R '^startup_triage_run$'
1/1 Test #1553: startup_triage_run ... Passed 0.38 sec

ctest --preset dev --no-tests=error -R 'triage'
100% tests passed out of 2

Before the change, the same command failed with the message quoted above.

Why the pull-request run did not catch it

The pr preset is a smoke selection; startup_triage_run is not in its include list, so only the full
-E '_hardware$' run on main evaluates this check. Both #3471 and the run that added the check were
green on their own branches. This is the same blind spot described in #3052.

Refs #3473.

**@⁠KelboLive** on GitHub · 2026-11-30 03:48 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3546) `KelboLive:fix/3547-uav-reason-calibration` → `main` · +1 −0 · 1 files · 1 commits · closed without merging ## Change Add `an output UAV interval exceeds the D3D12 buffer view element limit` to `COMPUTE_DISPATCH_REASONS` in `tools/startup/triage_run.py`. `#3471` added that refusal at `src/startup_stubs/d3d12_compute_dispatch.inl:745` without adding it to the set. `tests/startup_triage_run_check.py` scans the dispatch source for refusal literals and fails for any one that the set does not classify, so `main` at `44a3ad5aa` is red: ``` FAIL source reasons missing from COMPUTE_DISPATCH_REASONS: 'an output UAV interval exceeds the D3D12 buffer view element limit' startup triage_run checks: 1 failed ``` The set's own comment states the rule: *"check_allowlist_covers_source_reasons scans the C++ sources and fails when a reason literal is added there without being added here too; update this set in the same PR that adds a refusal reason."* ## Verification `44a3ad5aa` with the entry added, In-box dev preset: ```powershell ctest --preset dev --no-tests=error -R '^startup_triage_run$' 1/1 Test #1553: startup_triage_run ... Passed 0.38 sec ctest --preset dev --no-tests=error -R 'triage' 100% tests passed out of 2 ``` Before the change, the same command failed with the message quoted above. ## Why the pull-request run did not catch it The `pr` preset is a smoke selection; `startup_triage_run` is not in its include list, so only the full `-E '_hardware$'` run on `main` evaluates this check. Both `#3471` and the run that added the check were green on their own branches. This is the same blind spot described in #3052. Refs #3473.
#3471 added `an output UAV interval exceeds the D3D12 buffer view element limit` to the compute
Dispatch path without adding it to COMPUTE_DISPATCH_REASONS. startup_triage_run scans the dispatch
source for refusal literals and fails for one the set does not classify, so main at 44a3ad5aa is red.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 03:51:53 +00:00
Author
Owner

@⁠lukaslw-lab on GitHub · 2026-11-30 10:13 UTC · original

main already has this entry: #3544 (2e30cc59) added the same line at tools/startup/triage_run.py:182. A trial merge of this head into main 903fcc85 leaves the file unchanged, so this PR can be closed as a duplicate.

**@⁠lukaslw-lab** on GitHub · 2026-11-30 10:13 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3546#issuecomment-7275294356) `main` already has this entry: #3544 (`2e30cc59`) added the same line at `tools/startup/triage_run.py:182`. A trial merge of this head into `main` `903fcc85` leaves the file unchanged, so this PR can be closed as a duplicate.
github-bot closed this pull request 2026-11-30 15:56:15 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.