ci: the pr preset cannot see the checks that turned main red twice today #3556
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3556
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@KelboLive on GitHub · 2026-11-30 04:38 UTC · original
Triage update · 1 December 2026
The four SDWA reproductions pass on the
a0e126c2main tree (#3544, #3549). Theprpreset still omits those four tests andstartup_triage_run. Start with the five named CPU-only checks from this report. Verify both the required PR job's actual test selection (ctest --preset pr -N) and the test results, then report the added wall time. This issue remains open until the PR workflow runs them.ci: the
prpreset cannot see the checks that turnedmainred twice todaySummary
Three separate times in five days, a pull request merged green and left
mainred, because the checks thatcatch the breakage are not in the
prtest preset. The last two are from today.CMakePresets.jsondefinestestPresets.pras a single include regex — 86 tests. Themainjob runs thecomplete
ctest --preset dev -E '_hardware$'suite, 2,226 tests. Anything outside the 86 is evaluated forthe first time after merge.
Evidence
mainfailed withnative_sdwa_f16_*,native_cvt_pk_u8_hardwarestartup_triage_run: a refusal literal added without aCOMPUTE_DISPATCH_REASONSentry. Fixed by #3548native_cvt_f16_i16_*,native_sdwa_profiles_*: stale SDWA refusal expectations. Reported in #3549Each PR's own checks were
SUCCESS(Windows, Linux, fixtures) at the time it merged. All three failures aredeterministic CPU-side Python or message checks — no GPU, no hardware, no flakiness.
mainat44a3ad5aais the current consequence:What closing it costs
Measured on a Windows 10 host,
--parallel 4, dev preset:prpreset^(startup_triage_run|native_.*_(ir|controls))$The Windows job spends far longer than 34 s on configure and build, so either row is noise against it. The
_irand_controlstests are CPU-only: they drive the compiler and the Python fixtures, so they add noGPU or driver requirement to the PR job.
Proposal
Add the subset above to
testPresets.pr.filter.include, or, if the maintainers prefer the smallest change,startup_triage_runplus the four tests that failed today:The second option costs 4 s and covers both of today's breakages but not the class. The first also covers
#3052's
native_sdwa_f16_*and the othernative_*_ir/_controlsfixtures.I am happy to send either as a patch; the choice between them is a CI-budget decision, not a technical one.
Refs #3052, #3548, #3549.
@KelboLive on GitHub · 2026-11-30 06:16 UTC · original
Measured the first option, and the enlarged preset reproduces today's failures on a pull-request build rather than reporting success.
Adding
startup_triage_runandnative_.*_(ir|dxil|controls)totestPresets.pr.filter.include:--parallel 4)44a3ad5aaprpresetThe five are exactly the deterministic failures of the current red
main:startup_gfx2hlsl_watch, the sixth test in main's run, does not fail on this host, so the enlarged preset covers five of six.So the cost is about 32 s against a Windows job whose configure and build dominate it, and the benefit is that both of today's breakages fail before merge.
_dxilmatters as well as_ir:native_sdwa_profiles_dxilfailed today and a subset with only_irand_controlsmisses it (226 tests against 224).The patch is written and measured on branch
ci/pr-preset-native-controlsin my fork; I have not opened a pull request, since the subset is a CI-budget decision. Say which option you want and it can go up as it is.@KelboLive on GitHub · 2026-11-30 15:46 UTC · original
#3608 added the slot 86 heap checks to the
prpreset, which is the mechanism this issue asked for. The gap it leaves is unchanged:startup_triage_runand thenative_*_ir/_controls/_dxilfixtures still run only onmain.Concretely, the run I just did on
35a3f6d54has four failures that no pull request can see —native_direct_mesh,startup_image_sample_b_flow_warp,startup_image_get_lod_flow_warpandstartup_gfx2hlsl_cvt_off_f32_i4_warp— all stale expectations after merged shader changes. Reported with the attribution in #3623.The measured cost from earlier still holds: adding
startup_triage_runandnative_.*_(ir|dxil|controls)takes the preset from 86 to 226 tests, 20.6 s to 52.2 s with--parallel 4, and reproduces all five deterministic failures of that day's redmain. The patch is ready; it only needs the budget decision.@KelboLive on GitHub · 2026-12-01 00:45 UTC · original
Merged as
a3bfd0196(#3646). Theprpreset now runsstartup_triage_run,native_.*_(ir|dxil|controls)andnative_direct_mesh— 95 -> 248 tests — and theprbuild preset carries the four tools those tests drive.So the three cases in the report are now visible before merge: #3473's unclassified refusal literal (#3548), #3472's stale SDWA expectations (#3549), and #3052's pair. The reviewer noted it also covers #3632, #3626 and #3636, whose checks previously had only an author's local run.
Measured on this host: 20.6 s -> 52.2 s at
--parallel 4, against a Windows job whose configure and build dominate that.