Skip to content

Add Agent Merge CI guardrails to Copilot instructions - #132296

Open
jkoritzinsky wants to merge 1 commit into
dotnet:mainfrom
jkoritzinsky:jkoritzinsky-stunning-engine
Open

Add Agent Merge CI guardrails to Copilot instructions#132296
jkoritzinsky wants to merge 1 commit into
dotnet:mainfrom
jkoritzinsky:jkoritzinsky-stunning-engine

Conversation

@jkoritzinsky

Copy link
Copy Markdown
Member

Summary

  • add repo-specific Agent Merge guardrails to .github/copilot-instructions.md
  • forbid /azp and PR reopen reruns for failed CI
  • require Build Analysis + ci-analysis to classify non-known failures, fix PR-caused issues, and open/update a Known Build Error issue for unrelated failures

Why

This keeps Agent Merge aligned with the dotnet/runtime workflow and prevents CI rerun churn from masking the original validation signal.

Note

This PR description was generated with GitHub Copilot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 67dd2b1a-d0a5-4d5a-a96b-a82f8b6a89c1
Copilot AI lite review requested due to automatic review settings August 13, 2026 23:30
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
15 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds repo-specific guardrails to the Copilot instructions to prevent Agent Merge from masking CI signal through reruns, and to standardize how CI failures are triaged in dotnet/runtime.

Changes:

  • Add an “Agent Merge / CI check resolution” section to document forbidden CI rerun actions (no /azp, no close/reopen reruns unless explicitly requested).
  • Require using Build Analysis plus the ci-analysis skill to classify non-known failures, fixing PR-caused issues and filing/updating Known Build Error issues for unrelated failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants