Skip to content

[ci-scan] Treat maintainer-closed test-disable PRs as do-not-disable signal#128837

Merged
kotlarmilos merged 2 commits into
dotnet:mainfrom
kotlarmilos:kotlarmilos/ci-scan-respect-closed-disable-prs
Jun 1, 2026
Merged

[ci-scan] Treat maintainer-closed test-disable PRs as do-not-disable signal#128837
kotlarmilos merged 2 commits into
dotnet:mainfrom
kotlarmilos:kotlarmilos/ci-scan-respect-closed-disable-prs

Conversation

@kotlarmilos
Copy link
Copy Markdown
Member

@kotlarmilos kotlarmilos commented Jun 1, 2026

Description

Extends Step 4.7 of .github/workflows/ci-failure-scan.md so the CI failure scanner respects maintainer closes of prior [ci-scan] test-disable PRs. A MEMBER/OWNER close of a recent (within 30 days) test-disable PR for the same test or KBE is now treated as a do-not-disable signal, and re-filing requires fresh evidence such as a new maintainer comment on the KBE greenlighting the disable or a clearly different failure signature.

PR #128793 re-filed the stackoverflowtester interpreter-mode disable that @BrzVlad had closed the day before in PR #128737 with a pushback to investigate the assert rather than mute the test. The earlier prompt fix in PR #128760 did not catch this case for two reasons:

  1. It was merged on 2026-06-01, after the scanner run on 2026-05-30 that produced PR [ci-scan] Skip stackoverflowtester under interpreter mode (refs #127899) #128793.
  2. Even if applied, it only inspects the KBE issue body and the bodies of issues referenced from it. KBE [ci-scan] Known Build Error: stackoverflowtester assert m_crawl.GetCodeInfo()->IsValid() in runtime-interpreter #127899 has no maintainer comments. The do-not-disable signal lived on closed PR [ci-scan] Skip stackoverflowtester under interpreter mode (refs #127899) #128737, not on the KBE.

…signal

Extends Step 4.7 to also search for recent closed-not-merged [ci-scan]
test-disable PRs targeting the same test or KBE. A MEMBER/OWNER close
of a prior test-disable PR is itself a do-not-disable signal, so the
scanner does not re-file the same disable after a maintainer rejects it.

Motivated by PR dotnet#128793, which re-filed the stackoverflowtester
interpreter-mode disable that BrzVlad had closed in PR dotnet#128737 with a
pushback to investigate the assert rather than mute the test. Neither
the prior fix in PR dotnet#128760 (which added referenced-issue comment
scanning) nor the existing open-PR dedup in Step 4.4 caught it: the
do-not-disable signal lived on the closed PR, not on KBE dotnet#127899
itself.

No 'gh aw compile' needed; the scanner loads this file at runtime via
'{{#runtime-import}}'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 1, 2026 10:03
@kotlarmilos kotlarmilos requested review from a team and jeffhandley as code owners June 1, 2026 10:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 scanner’s decision guidance (Step 4.7) so that a recently maintainer-closed (unmerged) prior [ci-scan] test-disable PR is treated as a “do-not-disable” signal, preventing immediate re-filing without new evidence.

Changes:

  • Add a new “do-not-disable” criterion in Step 4.7 for recently (30 days) maintainer-closed, unmerged prior [ci-scan] test-disable PRs matching the same test or KBE.
Show a summary per file
File Description
.github/workflows/ci-failure-scan.md Extends Step 4.7 to treat recent maintainer-closed test-disable PRs as a do-not-disable signal and defines the intended search / recording outcome.

Copilot's findings

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

Comment thread .github/workflows/ci-failure-scan.md Outdated
The previous wording lacked a closed:>= filter and referenced the closed
event actor's association, which is not directly available without a
separate events API call. Scope the search with closed:>=<30-days-ago>
and rely on the PR comments' authorAssociation field (already returned
by the comments API) to identify maintainer pushback. The combination
of a maintainer pushback comment plus a non-merge close is the
do-not-disable signal; the closer does not need to be the same person.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@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.

@kotlarmilos kotlarmilos merged commit 5807807 into dotnet:main Jun 1, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants