Repository navigation
Fix CsWin32 update workflow NuGet MCP tool name - #70244
Merged
DeagleGross merged 1 commit intoNov 2, 2026
Merged
Conversation
Use the advertised get_latest_package_version tool and correct the prompt's unsupported firewall diagnosis. Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the NuGet tool-discovery update in the dependency-update workflow.
No open issues 🎉
What changed in this PR
Fixes NuGet tool discovery in the CsWin32 dependency-update workflow so the agent can check for newer package versions.
Changes:
- Corrects the tool name to
get_latest_package_versionin the source allowlist, prompt, and generated configuration. - Replaces the unsupported firewall explanation with instructions to report tool discovery failures.
- Regenerates the lock file using the existing gh-aw compiler version.
The PR reports successful compilation and tool-name consistency checks; live end-to-end validation remains pending.
| File | Description |
|---|---|
.github/workflows/cswin32-update.md |
Corrects the NuGet tool name and failure-reporting instructions. |
.github/workflows/cswin32-update.lock.yml |
Updates generated metadata, gateway configuration, and agent permissions. |
Review effort: Balanced
Contributor
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
DeagleGross
enabled auto-merge (squash)
November 2, 2026 10:44
Member
|
/review |
wtgodbe
approved these changes
Nov 2, 2026
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 2, 2026 16:58 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 2, 2026 16:59 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 2, 2026 17:05 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 2, 2026 17:07 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 2, 2026 17:08 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 2, 2026 17:10 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed: the PR is limited to repository automation (CsWin32 update workflow tool allowlist fix). Documentation surfaces considered
|
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 2, 2026 17:12 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the CsWin32 update agentic workflow's NuGet MCP tool allowlist
Description
The scheduled
cswin32-updaterun failed because the agent had no NuGet tools. The workflow allowlistedget-latest-package-version(hyphens), but the NuGet MCP server advertisesget_latest_package_version(underscores). The gateway filtered out every tool (tools/list returned 0 tools for 'nuget'), so the agent calledreport_incompleteand never attemptedcreate_pull_request. The conclusion job then failed the run.Changes:
cswin32-update.md: useget_latest_package_versionin the allowlist and the Step 1 prompt. Remove the unsupported "blocked by the network firewall" claim;api.nuget.orgwas already allowed. The agent now reports a tool discovery failure instead of assuming a firewall block.cswin32-update.lock.yml: regenerated with gh-aw v0.92.0 (the version that compiled the existing lock file).Validation:
gh aw compile cswin32-update --strict --schedule-seed dotnet/aspnetcore --no-check-update: succeeded, 0 warnings.tools/listresponse: passed.workflow_dispatchafter merge to confirm.Failed run: https://github.com/dotnet/aspnetcore/actions/runs/41256731797