user-feedback icon indicating copy to clipboard operation
user-feedback copied to clipboard

A very nice PR -- for a stale issue

Open AArnott opened this issue 1 year ago • 1 comments

Describe the bug

I just assigned Copilot to fix https://github.com/dotnet/Nerdbank.GitVersioning/issues/753. It created a PR that looks great. In the PR description it even pointed out what it noticed about the present condition in the repo:

CLI users: Previously, the CLI always emitted both regular and output variables. Now output variables are only emitted when --with-output is specified.

This drew my attention to the fact that the original issue, which was somewhat old, was outdated and no longer needed to be fixed.

Many AI tokens could have saved if Copilot could have commented on the issue or the PR before doing all these changes to point out that the issue looked stale and share what it learned from the repo.

AArnott avatar Jun 15 '25 04:06 AArnott

Awesome to see that the agent pointed this out as early as it could with the technical constraints it has today. This sounds like an issue that many folks may encounter as assigning the agent to backlog tasks which may be outdated is a common use. I've added this to one of our open discussions around how best to handle this scenario and others that could be improved by the agent stopping and asking questions/leaving comments prior to execution.

Today, the agent cannot leave comments on issues or leave comments prior to it's first session. Tracking this as an enhancement 👍

nhu-do avatar Jun 16 '25 13:06 nhu-do