Skip to content

ci: the pr preset cannot see the checks that turned main red twice today #3554

Done

Description

@KelboLive

Triage update · 1 December 2026

The four SDWA reproductions pass on the a0e126c2 main tree (#3542, #3547). The pr preset still omits those four tests and startup_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 pr preset cannot see the checks that turned main red twice today

Summary

Three separate times in five days, a pull request merged green and left main red, because the checks that
catch the breakage are not in the pr test preset. The last two are from today.

CMakePresets.json defines testPresets.pr as a single include regex — 86 tests. The main job runs the
complete ctest --preset dev -E '_hardware$' suite, 2,226 tests. Anything outside the 86 is evaluated for
the first time after merge.

Evidence

When PR Green on its branch main failed with
Nov 27, #3052 — — native_sdwa_f16_*, native_cvt_pk_u8_hardware
Today #3471 + the triage scanner success startup_triage_run: a refusal literal added without a COMPUTE_DISPATCH_REASONS entry. Fixed by #3546
Today #3470 success native_cvt_f16_i16_*, native_sdwa_profiles_*: stale SDWA refusal expectations. Reported in #3547

Each PR's own checks were SUCCESS (Windows, Linux, fixtures) at the time it merged. All three failures are
deterministic CPU-side Python or message checks — no GPU, no hardware, no flakiness.

main at 44a3ad5aa is the current consequence:

99% tests passed, 6 tests failed out of 2226
  711 startup_gfx2hlsl_watch      1126 startup_triage_run
 1923 native_cvt_f16_i16_ir       1924 native_cvt_f16_i16_controls
 2032 native_sdwa_profiles_ir     2033 native_sdwa_profiles_dxil

What closing it costs

Measured on a Windows 10 host, --parallel 4, dev preset:

Set Tests Time
Current pr preset 86 —
^(startup_triage_run|native_.*_(ir|controls))$ 138 34.1 s
The three that would have caught today 3 3.9 s

The Windows job spends far longer than 34 s on configure and build, so either row is noise against it. The
_ir and _controls tests are CPU-only: they drive the compiler and the Python fixtures, so they add no
GPU 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_run plus the four tests that failed today:

startup_triage_run
native_cvt_f16_i16_(ir|controls)
native_sdwa_profiles_(ir|dxil)

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 other native_*_ir/_controls fixtures.

I am happy to send either as a patch; the choice between them is a CI-budget decision, not a technical one.

Refs #3052, #3546, #3547.

Activity

  1. KelboLive commented on Nov 30, 2026

    @KelboLive
    ContributorAuthor

    Measured the first option, and the enlarged preset reproduces today's failures on a pull-request build rather than reporting success.

    Adding startup_triage_run and native_.*_(ir|dxil|controls) to testPresets.pr.filter.include:

    Tests Time (--parallel 4) Result on 44a3ad5aa
    Current pr preset 86 20.6 s 0 failed
    Enlarged 226 52.2 s 5 failed

    The five are exactly the deterministic failures of the current red main:

    native_cvt_f16_i16_ir        native_sdwa_profiles_ir      startup_triage_run
    native_cvt_f16_i16_controls  native_sdwa_profiles_dxil
    

    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.

    _dxil matters as well as _ir: native_sdwa_profiles_dxil failed today and a subset with only _ir and _controls misses it (226 tests against 224).

    The patch is written and measured on branch ci/pr-preset-native-controls in 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.

  2. KelboLive commented on Nov 30, 2026

    @KelboLive
    ContributorAuthor

    #3606 added the slot 86 heap checks to the pr preset, which is the mechanism this issue asked for. The gap it leaves is unchanged: startup_triage_run and the native_*_ir/_controls/_dxil fixtures still run only on main.

    Concretely, the run I just did on 35a3f6d54 has four failures that no pull request can see — native_direct_mesh, startup_image_sample_b_flow_warp, startup_image_get_lod_flow_warp and startup_gfx2hlsl_cvt_off_f32_i4_warp — all stale expectations after merged shader changes. Reported with the attribution in #3621.

    The measured cost from earlier still holds: adding startup_triage_run and native_.*_(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 red main. The patch is ready; it only needs the budget decision.

  3. KelboLive commented on Dec 1, 2026

    @KelboLive
    ContributorAuthor

    Merged as a3bfd0196 (#3644). The pr preset now runs startup_triage_run, native_.*_(ir|dxil|controls) and native_direct_mesh — 95 -> 248 tests — and the pr build preset carries the four tools those tests drive.

    So the three cases in the report are now visible before merge: #3471's unclassified refusal literal (#3546), #3470's stale SDWA expectations (#3547), and #3052's pair. The reviewer noted it also covers #3630, #3624 and #3634, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions