Oriel — AI & technology worth noticing, every day.

Ask a coding agent to fix an existing PR

Web page · https://agentusecases.ai/use-case/ask-a-coding-agent-to-fix-an-existing-pr

Done with GitHub Copilot. A developer asked @copilot to fix an existing PR; it opened a new PR instead of pushing in place, later partly fixed except for fork branches.

First seen by Oriel on .

AI summary

This use case tests asking GitHub Copilot to fix an existing pull request, finding that it may open a separate PR and cannot currently edit fork-based branches.

  • The developer mentioned @copilot on an existing PR and requested a fix, expecting changes pushed directly to that PR’s branch.
  • Copilot instead opened a new PR, requiring the developer to merge its changes back manually.
  • GitHub later announced support for changing any PR, but fork-based source branches remained unsupported.
  • The suggested prompt asks Copilot to push fixes to the existing branch or explain why it cannot, then stop.
  • Fork-originated PRs should be checked before relying on this workflow, particularly in repositories where they are common.

#github copilot #coding agents #pull requests #forks

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
Agent Use Caseshttps://agentusecases.ai/use-case/ask-a-coding-agent-to-fix-an-existing-prhttps://agentusecases.ai/use-case/ask-a-coding-agent-to-fix-an-existing-pr Read discussion