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

Closed
KelboLive wants to merge 1 commit from upstream-pr/3546 into main
KelboLive commented 2026-11-30 03:48:44 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-30T03:48:44Z.


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 #3471.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5558624580 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3546). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-30T03:48:44Z. --- ## 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 #3471.
lukaslw-lab commented 2026-11-30 10:13:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-30T10:13:18Z.


main already has this entry: #3542 (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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7275294356 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3546#issuecomment-7275294356). Originally posted by [lukaslw-lab](https://github.com/lukaslw-lab) on 2026-11-30T10:13:18Z. --- `main` already has this entry: #3542 (`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.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
R0Y00/Xbox2Windows!3546
No description provided.