Copilot assigned issues breaks `add-milestone`
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 23
- Forks
- 16
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Tried using add-milestone for 7.9 NuGet release and one issue failed to update.
Sounds like the response is indicating a problem with assignee of Copilot.
https://github.com/NuGet/Home/issues/14939
Failed updating https://github.com/NuGet/Home/issues/14939.
Octokit.ApiValidationException: Validation Failed
at Octokit.Connection.HandleErrors(IResponse response) in //Octokit/Http/Connection.cs:line 785
at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken, Func2 preprocessResponseBody) in /_/Octokit/Http/Connection.cs:line 766 at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken, Func2 preprocessResponseBody) in //Octokit/Http/Connection.cs:line 751
at Octokit.ApiConnection.Patch[T](Uri uri, Object data)
at NuGetReleaseTool.AddMilestoneCommand.AddMilestoneCommand.AddMilestoneToIssueAsync(Milestone expectedMilestone, Issue issue) in C:\apps\Entropy\NuGetReleaseTool\NuGetReleaseTool\AddMilestoneCommand\AddMilestoneCommand.cs:line 93
{"message":"Validation Failed","errors":[{"value":"Copilot","resource":"Issue","field":"assignees","code":"invalid"}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in NuGetReleaseTool/AddMilestoneCommand/AddMilestoneCommand.cs at line 93, where AddMilestoneToIssueAsync updates the issue. Reproduce the failure with NuGet/Home issue 14939 and inspect how its Copilot assignee is handled. Done means add-milestone can process that issue without the Octokit validation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- release
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100