Skip to content

[ci-scan] Improve test-disable prompt: ActiveIssue overload and referenced-issue checks#128760

Open
kotlarmilos wants to merge 1 commit into
dotnet:mainfrom
kotlarmilos:kotlarmilos/ci-scan-prompt-improvements-128755
Open

[ci-scan] Improve test-disable prompt: ActiveIssue overload and referenced-issue checks#128760
kotlarmilos wants to merge 1 commit into
dotnet:mainfrom
kotlarmilos:kotlarmilos/ci-scan-prompt-improvements-128755

Conversation

@kotlarmilos
Copy link
Copy Markdown
Member

@kotlarmilos kotlarmilos commented May 29, 2026

Description

Three prompt edits to .github/workflows/ci-failure-scan.md proposed by the ci-failure-scan-feedback meta-loop in #128755. Step 4.7 now also reads the body and latest 5 comments of any issue referenced in the KBE, so maintainer "do not disable" signals on the root-cause issue override the KBE candidate (motivated by #128737). The ActiveIssue section gains the full 4-parameter overload (string, TestPlatforms, TargetFrameworkMonikers, TestRuntimes) with an explicit warning not to place a TestRuntimes value in the TargetFrameworkMonikers slot (motivated by #128469, which failed to compile from that exact swap). A short pre-emit compile-validation checklist is added for test-disable PRs. No gh aw compile needed: the scanner workflow loads this file at runtime via {{#runtime-import}}. Closes #128755.

…enced-issue do-not-disable check

Three edits to .github/workflows/ci-failure-scan.md proposed by the
ci-failure-scan-feedback meta-loop (dotnet#128755):

- Step 4.7: also read the body + latest 5 comments of any issue
  referenced in the KBE body, so maintainer 'do not disable' /
  'will investigate' signals on the root-cause issue override the
  KBE candidate. Motivated by dotnet#128737, where the signal lived on
  the referenced root-cause issue, not the KBE.
- Document the full 4-parameter ActiveIssue overload
  (string, TestPlatforms, TargetFrameworkMonikers, TestRuntimes)
  with an explicit warning not to put a TestRuntimes value in the
  TargetFrameworkMonikers slot. Motivated by dotnet#128469, which failed
  to compile because of this exact swap.
- Add a pre-emit compile-validation checklist for test-disable PRs.

Closes dotnet#128755.

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.

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

Prompt-only edits to the CI failure scanner workflow to (a) detect "do-not-disable" signals on root-cause issues referenced by a candidate KBE, (b) document the full 4-parameter ActiveIssue overload to prevent positional argument errors, and (c) add a pre-emit compile-validation checklist for test-disable PRs.

Changes:

  • Step 4.7 now also reads referenced root-cause issues (e.g. refs #N) for maintainer signals.
  • Documents the ActiveIssue(string, TestPlatforms, TargetFrameworkMonikers, TestRuntimes) overload with explicit warning against slot swaps.
  • Adds a 3-item pre-emit compile-validation checklist.
Show a summary per file
File Description
.github/workflows/ci-failure-scan.md Strengthens Step 4.7 do-not-disable detection, documents the 4-parameter ActiveIssue overload, and adds a compile-validation checklist.

Copilot's findings

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

@kotlarmilos kotlarmilos changed the title Strengthen ci-failure-scan prompt: ActiveIssue overload doc and referenced-issue do-not-disable check [ci-scan] Improve test-disable prompt May 29, 2026
@kotlarmilos kotlarmilos changed the title [ci-scan] Improve test-disable prompt [ci-scan] Improve test-disable prompt: ActiveIssue overload and referenced-issue checks May 29, 2026
@kotlarmilos kotlarmilos requested a review from vitek-karas May 29, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[ci-scan-feedback] Validate ActiveIssue overloads; strengthen do-not-disable signal detection

2 participants