-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Copilot setup workflow for vsassets.io firewall allowlist #49470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: baronfel <573979+baronfel@users.noreply.github.com>
Failure is the containers test - known issue. @marcpopMSFT can you force-merge when you have time? Also I don't have write permissions on this PR for some reason. EDIT: ah, this is because I collaborated w/copilot:
|
Does this actually work?
|
There are a few other examples of this on github already, but non of them use the |
Fix domain syntax
https://github.com/orgs/community/discussions/163374 seems to say that setting Oh well, you'll see whether it works or not. |
@KalleOlaviNiemitalo so far it has been working as expected - Copilot has been able to restore and build the project. Futher PRs have added a few more changes to make sure that when Copilot is working on an issue it:
|
This PR adds a GitHub Actions workflow to configure firewall allowlist settings for GitHub Copilot, enabling access to Visual Studio assets URLs needed for NuGet package restore operations.
Problem
GitHub Copilot was unable to access
*.vsblob.vsassets.io
URLs during dotnet restore operations, resulting in firewall blocking errors like:Solution
Created
.github/workflows/copilot-setup.yml
that sets theCOPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS
environment variable to"*.vsblob.vsassets.io"
, allowing Copilot to access all Visual Studio blob storage subdomains required for package restoration.Key Features
workflow_dispatch
for on-demand execution when neededBlocked URLs This Resolves
The workflow enables access to vsblob.vsassets.io subdomains, including:
7tjvsblobprodcus341.vsblob.vsassets.io
c78vsblobprodcus322.vsblob.vsassets.io
d0svsblobprodcus381.vsblob.vsassets.io
jd4vsblobprodcus366.vsblob.vsassets.io
l49vsblobprodcus358.vsblob.vsassets.io
lylvsblobprodcus31.vsblob.vsassets.io
uy6vsblobprodcus34.vsblob.vsassets.io
vb4vsblobprodcus33.vsblob.vsassets.io
Fixes #49469.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
lylvsblobprodcus31.vsblob.vsassets.io
/home/REDACTED/work/sdk/sdk/.dotnet/dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:true /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=false /home/REDACTED/work/sdk/sdk/artifacts/toolset/restore.proj /t:__WriteToolsetLocation /clp:ErrorsOnly;NoSummary /p:__ToolsetLocationOutputFile=/home/REDACTED/work/sdk/sdk/artifacts/toolset/10.0.0-beta.25316.103.txt
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.