NuGet / NuGet/Entropy

Copilot assigned issues breaks `add-milestone`

Open Beginner friendly
#148 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug p/2 Priority:2
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.