Skip to content

Enable I2C linking via PR description - #133544

Merged
mmitche merged 6 commits into
dotnet:mainfrom
mmitche:cloudmine-i2c-link-format
Sep 14, 2026
Merged

mmitche merged 6 commits into
dotnet:mainfrom
mmitche:cloudmine-i2c-link-format

Conversation

@mmitche

@mmitche mmitche commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Ask agents to use the fully qualified Resolves owner/repository#123 format in pull request descriptions

Rationale

GitHub pull request issue metadata cannot currently be resolved for the I2C metric. Requiring a fully qualified closing keyword in the PR description is a temporary workaround that allows automatic Idea2Customer linking until that metadata can be resolved directly.

Validation

  • git diff --check
  • verified the rule is in the canonical Pull Requests section of .github/copilot-instructions.md
  • verified the instructions do not include the temporary-workaround implementation detail

Note

This pull request description was generated with GitHub Copilot.

@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/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@mmitche mmitche changed the title Document CloudMine I2C issue linking format Document Idea2Customer issue linking format Sep 10, 2026
@mmitche
mmitche marked this pull request as ready for review September 10, 2026 13:53
@mmitche
mmitche requested review from akoeplinger and a lite review from Copilot September 10, 2026 13:53
@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.

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.

🟡 Changes recommended

The new bullet’s “Always use” wording reads as a blanket requirement for every PR and doesn’t match the PR description’s intended narrower scope (I2C work / PRs meant to close an issue).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the contributor/Copilot guidance to document an Idea2Customer (I2C) issue-linking convention in PR descriptions, aiming to make I2C issue linkage reliably machine-resolvable.

Changes:

  • Adds a new Pull Requests guideline instructing authors to use a fully qualified closing keyword format (Resolves owner/repository#123) and notes automatic issue closure on merge to the default branch.
File summaries
File Description
.github/copilot-instructions.md Adds an I2C-focused PR-description issue-linking guideline in the “Pull Requests” section.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/copilot-instructions.md Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Copilot AI review requested due to automatic review settings September 10, 2026 20:10

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.

🟡 Changes recommended

The new guidance states issue closure as unconditional (“will close”), but GitHub can be configured to disable automatic issue closing, so the wording should be made conditional for accuracy.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/copilot-instructions.md Resolved
Comment thread .github/copilot-instructions.md Resolved
Updated PR instructions for issue linking format.
Copilot AI review requested due to automatic review settings September 11, 2026 13:18
@mmitche mmitche changed the title Document Idea2Customer issue linking format Enable I2C linking via PR description Sep 11, 2026

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.

🟡 Changes recommended

Fix the typo and clarify the ordering conflict with the disclosure requirement.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

.github/copilot-instructions.md:53

  • This conflicts with the disclosure rule later in the same file, which requires the AI-generated-content note to be at the bottom of the PR description (line 77). A Copilot-authored PR that closes an issue cannot both put Resolves ... at the absolute end and keep the required disclosure last; clarify the ordering or define an exception so agents have an executable instruction.
- **Enable automatic resolved-issue linking in the PR description.** On any PR intended to close an issue, incldue the fully qualified `Resolves owner/repository#123` format at the end of the PR description.
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/copilot-instructions.md Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Copilot AI review requested due to automatic review settings September 11, 2026 13:29

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.

🟡 Changes recommended

Clarify the conflicting placement requirements for the closing keyword and AI disclosure.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/copilot-instructions.md Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Copilot AI review requested due to automatic review settings September 11, 2026 13:45

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.

🟢 Approval recommended

No unresolved review comments; the change is limited to documentation.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@mmitche
mmitche merged commit 76d73eb into dotnet:main Sep 14, 2026
24 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 15, 2026
jtschuster pushed a commit to jtschuster/runtime that referenced this pull request Sep 18, 2026
## Summary

Ask agents to use the fully qualified `Resolves owner/repository#123`
format in pull request descriptions

## Rationale

GitHub pull request issue metadata cannot currently be resolved for the
I2C metric. Requiring a fully qualified closing keyword in the PR
description is a temporary workaround that allows automatic
Idea2Customer linking until that metadata can be resolved directly.

## Validation

- `git diff --check`
- verified the rule is in the canonical `Pull Requests` section of
`.github/copilot-instructions.md`
- verified the instructions do not include the temporary-workaround
implementation detail

> [!NOTE]
> This pull request description was generated with GitHub Copilot.

---------

Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants