Repository navigation
Enable I2C linking via PR description - #133544
Conversation
Co-authored-by: Copilot App <[email protected]>
|
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. |
|
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
Co-authored-by: Copilot App <[email protected]>
|
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. |
There was a problem hiding this comment.
🟡 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
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
There was a problem hiding this comment.
🟡 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
Updated PR instructions for issue linking format.
There was a problem hiding this comment.
🟡 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
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
There was a problem hiding this comment.
🟡 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
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
## 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]>
Summary
Ask agents to use the fully qualified
Resolves owner/repository#123format in pull request descriptionsRationale
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 --checkPull Requestssection of.github/copilot-instructions.mdNote
This pull request description was generated with GitHub Copilot.