Skip to content

[ci-scan] Use blocking-clean-ci-optional for JIT/GC/PGO stress pipeline KBEs - #129569

Merged
kotlarmilos merged 4 commits into
dotnet:mainfrom
kotlarmilos:ci-scan-pipelines-and-labels
Jun 18, 2026
Merged

kotlarmilos merged 4 commits into
dotnet:mainfrom
kotlarmilos:ci-scan-pipelines-and-labels

Conversation

@kotlarmilos

@kotlarmilos kotlarmilos commented Jun 18, 2026 •

Copy link
Copy Markdown
Member

Updates the ci-failure-scan agentic workflow so JIT/GC/PGO stress-pipeline KBEs no longer block clean CI on the required gate.

Use blocking-clean-ci-optional for stress-pipeline KBEs

The scanner labelled every KBE blocking-clean-ci, which blocks clean CI on the required runtime / runtime-extra-platforms gate. The JIT, GC and PGO stress-mode pipelines run as optional rolling jobs outside that gate, so their failures should surface in Build Analysis without blocking clean CI.

  • Mark these 18 pipelines optional-ci in the Step 2 table: jitstress (109), jitstressregs (110), jitstress2-jitstressregs (111), gcstress-gcstress (112), gcstress-extra (113), jitstress-isas-x86 (115), jitstress-isas-arm (116), jitstressregs-x86 (117), libraries-jitstressregs (118), libraries-jitstress2-jitstressregs (119), libraries-jitstress (138), ilasm (140), pgo (144), libraries-pgo (145), jitstress-random (159), libraries-jitstress-random (160), pgostress (230), jitstress-isas-avx512 (235).
  • Add a KBE label selection rule: blocking-clean-ci by default, blocking-clean-ci-optional for optional-ci pipelines; never both.
  • Required-gate severity wins. Cross-definition dedup gets an escalation exception: when a signature already filed as blocking-clean-ci-optional recurs in a required-gate pipeline, file a separate blocking-clean-ci KBE instead of skipping it as a dup, so a required-gate failure is never represented only by an optional KBE (addresses review feedback).
  • Allow blocking-clean-ci-optional in allowed-labels (and the compiled lock's allowed_labels constraint).
  • Route the leg-level / Branch A emission steps and the shared create-kbe.instructions.md template through the selection rule.

All other pipelines (outerloop, r2r, crossgen2, superpmi-replay, superpmi-asmdiffs-checked-release, interpreter) keep blocking-clean-ci.

Not included

  • superpmi-diffs (152) was dropped: it only runs on PRs, never on main, so the scan (which walks main builds) would never have a qualifying build for it.
  • Fuzzlyn (149) is intentionally not added — covered by a dedicated Fuzzlyn JIT-analysis skill run separately.

Notes

Note

This PR was generated with assistance from GitHub Copilot.

Milos Kotlar and others added 2 commits June 18, 2026 10:52
…ional

The CI failure scanner labelled every KBE blocking-clean-ci, which blocks
clean CI on the required runtime / runtime-extra-platforms gate. The JIT,
GC and PGO stress-mode pipelines run as optional rolling jobs outside that
gate, so their failures should not block clean CI.

Mark those 18 pipelines optional-ci in the Step 2 table, add a KBE label
selection rule, allow the blocking-clean-ci-optional label, and route the
shared KBE template and emission steps through the selection rule.

Co-authored-by: Copilot <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the ci-failure-scan agentic workflow configuration/docs to (1) expand the scanned AzDO pipeline set and (2) introduce an “optional rolling pipeline” concept that maps to a different KBE blocking label.

Changes:

  • Adds runtime-coreclr superpmi-diffs (152) and Fuzzlyn (149) to the Step 2 pipeline walk table so their main failures can be triaged into KBEs.
  • Allows the scanner to apply blocking-clean-ci-optional (instead of always blocking-clean-ci) for pipelines marked optional-ci, and updates shared KBE creation instructions accordingly.
  • Regenerates/updates the compiled workflow lock to allow the new label in safe-outputs constraints.
Show a summary per file
File Description
.github/workflows/shared/create-kbe.instructions.md Updates the shared “New-KBE template” label guidance to allow blocking-clean-ci-optional for optional rolling pipelines (exactly one blocking label).
.github/workflows/ci-failure-scan.md Adds missing pipelines to the scan table, marks specific stress pipelines as optional-ci, and documents a KBE blocking-label selection rule.
.github/workflows/ci-failure-scan.lock.yml Updates compiled safe-outputs constraints (allowed_labels) and related generated strings to permit blocking-clean-ci-optional.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 1

Comment thread .github/workflows/ci-failure-scan.md Resolved
@kotlarmilos kotlarmilos changed the title [ci-scan] Add superpmi-diffs/Fuzzlyn and use blocking-clean-ci-optional for stress pipelines [ci-scan] Add superpmi-diffs and use blocking-clean-ci-optional for stress pipelines Jun 18, 2026
Comment thread .github/workflows/ci-failure-scan.md Resolved
…def dedup

superpmi-diffs (152) only runs on PRs, never on main, so the scan would
never have a qualifying build for it. Remove the row.

Add a required-gate escalation exception to cross-definition dedup: when a
signature already filed as blocking-clean-ci-optional recurs in a
required-gate pipeline, file a separate blocking-clean-ci KBE instead of
skipping it as a dup, so required-gate failures are never under-blocked.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings June 18, 2026 09:14
@kotlarmilos kotlarmilos changed the title [ci-scan] Add superpmi-diffs and use blocking-clean-ci-optional for stress pipelines [ci-scan] Use blocking-clean-ci-optional for JIT/GC/PGO stress pipeline KBEs Jun 18, 2026
@kotlarmilos
kotlarmilos requested a review from jakobbotsch June 18, 2026 09:16
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 1

Comment thread .github/workflows/ci-failure-scan.md Resolved
@kotlarmilos
kotlarmilos merged commit e7bc696 into dotnet:main Jun 18, 2026
38 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview6 milestone Jun 19, 2026
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
…ne KBEs (#129569)

Updates the `ci-failure-scan` agentic workflow so JIT/GC/PGO
stress-pipeline KBEs no longer block clean CI on the required gate.

## Use `blocking-clean-ci-optional` for stress-pipeline KBEs

The scanner labelled every KBE `blocking-clean-ci`, which blocks clean
CI on the required `runtime` / `runtime-extra-platforms` gate. The JIT,
GC and PGO stress-mode pipelines run as optional rolling jobs outside
that gate, so their failures should surface in Build Analysis without
blocking clean CI.

- Mark these 18 pipelines `optional-ci` in the Step 2 table: `jitstress`
(109), `jitstressregs` (110), `jitstress2-jitstressregs` (111),
`gcstress-gcstress` (112), `gcstress-extra` (113), `jitstress-isas-x86`
(115), `jitstress-isas-arm` (116), `jitstressregs-x86` (117),
`libraries-jitstressregs` (118), `libraries-jitstress2-jitstressregs`
(119), `libraries-jitstress` (138), `ilasm` (140), `pgo` (144),
`libraries-pgo` (145), `jitstress-random` (159),
`libraries-jitstress-random` (160), `pgostress` (230),
`jitstress-isas-avx512` (235).
- Add a **KBE label selection** rule: `blocking-clean-ci` by default,
`blocking-clean-ci-optional` for `optional-ci` pipelines; never both.
- **Required-gate severity wins.** Cross-definition dedup gets an
escalation exception: when a signature already filed as
`blocking-clean-ci-optional` recurs in a required-gate pipeline, file a
separate `blocking-clean-ci` KBE instead of skipping it as a dup, so a
required-gate failure is never represented only by an optional KBE
(addresses review feedback).
- Allow `blocking-clean-ci-optional` in `allowed-labels` (and the
compiled lock's `allowed_labels` constraint).
- Route the leg-level / Branch A emission steps and the shared
`create-kbe.instructions.md` template through the selection rule.

All other pipelines (`outerloop`, `r2r`, `crossgen2`, `superpmi-replay`,
`superpmi-asmdiffs-checked-release`, interpreter) keep
`blocking-clean-ci`.

## Not included

- `superpmi-diffs` (152) was dropped: it only runs on PRs, never on
`main`, so the scan (which walks `main` builds) would never have a
qualifying build for it.
- `Fuzzlyn` (149) is intentionally not added — covered by a dedicated
Fuzzlyn JIT-analysis skill run separately.

## Notes

- The lock change is limited to the `allowed_labels` constraint plus the
recompiled `frontmatter_hash`; prose is runtime-imported, so the
table/rule edits need no lock regeneration.
- `blocking-clean-ci-optional` is an existing dotnet/runtime label
("Blocking optional rolling runs").
- Supersedes #129564 and #129568.

> [!NOTE]
> This PR was generated with assistance from GitHub Copilot.

---------

Co-authored-by: Milos Kotlar <[email protected]>
Co-authored-by: Copilot <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants