Repository navigation
[ci-scan] Use blocking-clean-ci-optional for JIT/GC/PGO stress pipeline KBEs - #129569
Merged
kotlarmilos merged 4 commits intoJun 18, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
…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]>
This was referenced Jun 18, 2026
Contributor
There was a problem hiding this comment.
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) andFuzzlyn(149) to the Step 2 pipeline walk table so theirmainfailures can be triaged into KBEs. - Allows the scanner to apply
blocking-clean-ci-optional(instead of alwaysblocking-clean-ci) for pipelines markedoptional-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
…vers it Co-authored-by: Copilot <[email protected]>
jakobbotsch
reviewed
Jun 18, 2026
…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]>
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
jakobbotsch
approved these changes
Jun 18, 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the
ci-failure-scanagentic workflow so JIT/GC/PGO stress-pipeline KBEs no longer block clean CI on the required gate.Use
blocking-clean-ci-optionalfor stress-pipeline KBEsThe scanner labelled every KBE
blocking-clean-ci, which blocks clean CI on the requiredruntime/runtime-extra-platformsgate. 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.optional-ciin 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).blocking-clean-ciby default,blocking-clean-ci-optionalforoptional-cipipelines; never both.blocking-clean-ci-optionalrecurs in a required-gate pipeline, file a separateblocking-clean-ciKBE instead of skipping it as a dup, so a required-gate failure is never represented only by an optional KBE (addresses review feedback).blocking-clean-ci-optionalinallowed-labels(and the compiled lock'sallowed_labelsconstraint).create-kbe.instructions.mdtemplate through the selection rule.All other pipelines (
outerloop,r2r,crossgen2,superpmi-replay,superpmi-asmdiffs-checked-release, interpreter) keepblocking-clean-ci.Not included
superpmi-diffs(152) was dropped: it only runs on PRs, never onmain, so the scan (which walksmainbuilds) 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
allowed_labelsconstraint plus the recompiledfrontmatter_hash; prose is runtime-imported, so the table/rule edits need no lock regeneration.blocking-clean-ci-optionalis an existing dotnet/runtime label ("Blocking optional rolling runs").Note
This PR was generated with assistance from GitHub Copilot.