Repository navigation
[ci-scan] Use blocking-clean-ci-optional for JIT/GC/PGO stress pipeline KBEs - #129568
Closed
kotlarmilos wants to merge 1 commit into
Closed
kotlarmilos wants to merge 1 commit into
kotlarmilos wants to merge 1 commit into
Conversation
…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]>
Contributor
|
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the ci-failure-scan agentic workflow’s KBE labeling guidance and constraints so that failures from optional rolling outer-loop pipelines (not part of the required runtime / runtime-extra-platforms gate) can be filed without blocking clean CI.
Changes:
- Expands
safe-outputslabel allowlist to includeblocking-clean-ci-optional(and mirrors that in the compiled lock file constraints). - Marks specific pipeline table entries as
optional-ciand adds a “KBE label selection” rule describing when to useblocking-clean-civsblocking-clean-ci-optional. - Updates shared KBE template instructions to reference the new label selection behavior.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/shared/create-kbe.instructions.md | Adjusts the shared KBE template guidance to allow blocking-clean-ci-optional for optional rolling pipelines. |
| .github/workflows/ci-failure-scan.md | Updates workflow instructions: pipeline table notes (optional-ci), label allowlist, and label-selection guidance for KBEs. |
| .github/workflows/ci-failure-scan.lock.yml | Updates compiled workflow constraints to allow blocking-clean-ci-optional (safe-outputs allowed labels + handler config). |
Copilot's findings
- Files reviewed: 3/3 changed files
- Comments generated: 2
|
|
||
| - `Known Build Error` | ||
| - `blocking-clean-ci` | ||
| - `blocking-clean-ci` — or `blocking-clean-ci-optional` when the failure comes from an optional rolling pipeline outside the required `runtime` / `runtime-extra-platforms` gate (the JIT / GC / PGO stress-mode pipelines marked `optional-ci` in the scanner's pipeline table). Apply exactly one of the two. |
| Every KBE gets `Known Build Error` plus exactly one blocking label: | ||
|
|
||
| - `blocking-clean-ci` by default — the failing pipeline is part of the required `runtime` / `runtime-extra-platforms` gate, so the failure must block clean CI. | ||
| - `blocking-clean-ci-optional` when the failing pipeline's row above is marked `optional-ci` in its Notes. These are the JIT / GC / PGO stress-mode pipelines (defs 109, 110, 111, 112, 113, 115, 116, 117, 118, 119, 138, 140, 144, 145, 159, 160, 230, 235), which run as optional rolling jobs outside the required gate; their failures should surface in Build Analysis without blocking clean CI. |
Member
Author
|
Note This content was generated with assistance from GitHub Copilot. Superseded by #129569, which combines this change with the related ci-scan update into a single PR. |
kotlarmilos
added a commit
that referenced
this pull request
Jun 18, 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]>
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.
What
The CI failure scanner (
ci-failure-scan) appliedblocking-clean-cito every Known Build Error it files. That label 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 be surfaced in Build Analysis without blocking clean CI — that is whatblocking-clean-ci-optionalis for.Changes
Mark the 18 JIT / GC / PGO stress-mode pipelines
optional-ciin the Step 2 pipeline 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-ciby default,blocking-clean-ci-optionalforoptional-cipipelines; never both.Allow
blocking-clean-ci-optionalin the workflow'sallowed-labels(and the compiled lock'sallowed_labelsconstraint).Route the leg-level and Branch A emission steps and the shared
create-kbe.instructions.mdtemplate through the selection rule.All other pipelines (e.g.
outerloop,r2r,crossgen2,superpmi-*,Fuzzlyn, interpreter) keepblocking-clean-ci.Notes
allowed_labelsconstraint plus the recompiledfrontmatter_hash; prose is runtime-imported so the rule/table 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.