DO NOT REVIEW - Agent CDN - Added Warning in Initialize Phase when new Agent CDN is not reachable #5205
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.
Issue
[Se] Migrate Agent CDN URL from Edgio endpoint to a custom URL
Context
The Azure DevOps Agent previously relied on Edgio CDN (
vstsagentpackage.azureedge.net
) for binary distribution. As Edgio is being retired and the*.azureedge.net
domain is scheduled for decommissioning, we are migrating to a new Akamai-backed CDN endpoint:download.agent.dev.azure.com
. This ensures continued availability and aligns with our domain strategy.Description of Changes
This PR adds a connectivity check during the Initialize Agent phase to verify reachability of the new CDN endpoint (
download.agent.dev.azure.com
). A warning will be logged if the agent cannot connect.Risk Assessment: Low
The change is guarded behind a feature flag to ensure safe rollout and minimal impact.
Unit Tests Added: N/A
Manual Testing Performed
✅ Warning when CDN is unreachable
Steps:
127.0.0.1 download.agent.dev.azure.com
to thehosts
file.✅ Routing via Proxy (when configured)
Steps:
Agent.Listener
andAgent.Worker
to allow only proxy-based routing:Agent.Listener
and theAgent.Worker
processes to only access the Local Proxy (127.0.0.1)