Skip to content

[ci-scan-feedback] Strengthen occurrence thresholds, dedup search, and do-not-disable detection #128798

Closed

Description

@github-actions

Triggering signals

Proposed edits

Expected behavior change

The next run will (1) avoid filing KBEs for one-off failures that appear in only a single build, (2) detect existing KBEs even when filed with a different signature representation (array vs literal), (3) catch do-not-disable signals on root-cause issues referenced by the KBE, (4) not emit orphaned test-disable PRs against closed KBEs, and (5) use the correct ActiveIssue constructor overload to avoid compile errors.

Generated by CI Outer-Loop Failure Scanner — Feedback · ● 14.1M · ◷


Note

This was originally intended as a pull request, but the git push operation failed.

Workflow Run: View run details and download patch artifact

The patch file is available in the agent artifact in the workflow run linked above.

To create a pull request with the changes:

# Download the artifact from the workflow run
gh run download 26675071020 -n agent -D /tmp/agent-26675071020

# Create a new branch
git checkout -b ci-scan-feedback/strengthen-thresholds-and-dedup-20260530-52c7124b3554fbda

# Apply the patch (--3way handles cross-repo patches where files may already exist)
git am --3way /tmp/agent-26675071020/aw-ci-scan-feedback-strengthen-thresholds-and-dedup-20260530.patch

# Push the branch to origin
git push origin ci-scan-feedback/strengthen-thresholds-and-dedup-20260530-52c7124b3554fbda

# Create the pull request
gh pr create --title '[ci-scan-feedback] Strengthen occurrence thresholds, dedup search, and do-not-disable detection' --base main --head ci-scan-feedback/strengthen-thresholds-and-dedup-20260530-52c7124b3554fbda --repo dotnet/runtime
Show patch preview (73 of 73 lines)
From 1b1351570f657b8e5edcc02ef127ac23a860459b Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Sat, 30 May 2026 05:03:16 +0000
Subject: [PATCH] [ci-scan-feedback] Strengthen thresholds, dedup search, and
 do-not-disable detection

- Step 4.7: Read referenced issues for do-not-disable signals; expand
  keyword list with phrases seen in maintainer rejections (PR #128737)
- Step 4.2-4.6: Add guidance to search variant signature forms (array
  vs literal ErrorMessage) to prevent duplicate KBEs (#128697)
- Branch A: Clarify that 2-occurrence threshold must span distinct
  builds, not just distinct work items in one build (#128538, #128530)
- Branch B: Verify linked KBE is still open before emitting PR (#128703)
- Document full ActiveIssue 4-parameter constructor overload (#128469)

Co-authored-by: Copilot <[email protected]>
---
 .github/workflows/ci-failure-scan.md | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci-failure-scan.md b/.github/workflows/ci-failure-scan.md
index 02270d6b..5fcf0315 100644
--- a/.github/workflows/ci-failure-scan.md
+++ b/.github/workflows/ci-failure-scan.md
@@ -250,6 +250,8 @@ Follow exactly these sections from `.github/workflows/shared/create-kbe.instruct
 3. `<a id="search-existing-prs"></a>` / `## Search for existing PRs already handling the failure`
 4. `<a id="verify-embedded-issues"></a>` / `## Verify every embedded issue number exists`
 
+When searching for existing KBEs, account for signature form variants: the same error may appear as a literal `ErrorMessage` string in one KBE and as an `ErrorMessage` JSON array in another. Search using both the full signature AND key substrings (test name, exception type, assertion file:line) to catch duplicates filed with different signature representations.
+
 Record the same outcomes described there:
 
 - `existing-kbe #<n>`
@@ -259,9 +261,9 @@ Record the same outcom
... (truncated)

Activity

  1. added
    untriaged
    on May 30, 2026
  2. removed
    untriaged
    on Jun 1, 2026
  3. locked and limited conversation to collaborators on Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions