Skip to content

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

Closed
KelboLive wants to merge 1 commit into
R0Y00:mainfrom
KelboLive:fix/3547-uav-reason-calibration
Closed

KelboLive wants to merge 1 commit into
R0Y00:mainfrom
KelboLive:fix/3547-uav-reason-calibration

Conversation

@KelboLive

Copy link
Copy Markdown
Contributor

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.

R0Y00#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 44a3ad5 is red.
@lukaslw-lab

Copy link
Copy Markdown
Contributor

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.

@R0Y00 R0Y00 closed this Nov 30, 2026
@KelboLive
KelboLive deleted the fix/3547-uav-reason-calibration branch December 1, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants