Skip to content

[WIP] Apply AI Summary suggestions to pull request#2

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/apply-ai-summary-suggestions
Closed

[WIP] Apply AI Summary suggestions to pull request#2
Copilot wants to merge 1 commit intomainfrom
copilot/apply-ai-summary-suggestions

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 19, 2026

Cloud agent has begun work on can you apply the AI... and will update this pull request as work progresses.

Original prompt

can you apply the AI Summary suggestions for this PR dotnet#33892

The user has attached the following file paths as relevant context:

  • .github/copilot-instructions.md

Custom agent used: pr
Sequential 5-phase workflow for GitHub issues - Pre-Flight, Tests, Gate, Fix, Report. Phases MUST complete in order. State tracked in CustomAgentLogsTmp/PRState/

Created from VS Code.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI requested a review from michalpobuta February 19, 2026 20:52
Copilot stopped work on behalf of michalpobuta due to an error February 19, 2026 20:53
michalpobuta pushed a commit that referenced this pull request Mar 5, 2026
…es (dotnet#33963)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

## Description

Adds rule #2 to the Git Workflow section in copilot-instructions.md:

**When fixing CI or amending an existing PR, commit directly to the PR
branch.** Do not create a separate branch off a PR branch — the PR
branch already IS a feature branch. Creating a new branch means CI will
not run on the PR, defeating the purpose.

Also adds a code example showing the correct workflow (`gh pr checkout`
→ commit → push).

## Motivation

Copilot CLI was incorrectly creating separate branches when asked to fix
CI on existing PRs, because rule #1 ("never commit to main, create a
feature branch") was being over-generalized to PR branches. This caused
wasted time since CI only runs on PR branches.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants