Skip to content

Remove the package zip cache download#54503

Open
marcpopMSFT wants to merge 1 commit into
release/10.0.1xxfrom
marcpopMSFT-removefeedzip
Open

Remove the package zip cache download#54503
marcpopMSFT wants to merge 1 commit into
release/10.0.1xxfrom
marcpopMSFT-removefeedzip

Conversation

@marcpopMSFT
Copy link
Copy Markdown
Member

Remove additional transport feeds from the test nuget.config. We call all in parallel during the tests so it explodes our volume of azdo feed calls.

This has been removed in main for a while without negative impact that we can tell. See #52660. From internal data, the download time in main is ~29 seconds per work item but in 10 branches, its close to 48. We believe this change is the predominant cause of that delta.

It should be safe to remove from 10 as we have limited codeflow there because of low number of branding PRs. Leaving in 8/9 for now as those still have a large number of branding flows each month and so could still need this.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backports the removal of the pre-downloaded SDK test packages zip cache (originally landed in main via #52660) to the release/10 branch to reduce per-work-item test runtime, which is currently ~48s vs ~29s on main. Also extends the existing list of removed NuGet sources to include dotnet8/9/10 transport and internal-transport feeds so test runs don't fan out parallel requests to those AzDO feeds.

Changes:

  • Remove SDKTestRunPackages.zip and SDKTestRunPackages2.zip Helix correlation payload downloads from test/UnitTests.proj.
  • Remove the now-stale "downloaded a special zip" comment and the Windows-only NuGet .dat cache measurement post-step from the Helix setup scripts.
  • Add dotnet nuget remove source calls for dotnet{8,9,10}-transport and their -internal-transport counterparts in both the .sh and .cmd Helix setup scripts.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
test/UnitTests.proj Drops the two HelixCorrelationPayload entries that downloaded the prebuilt SDK test packages zips into d/.nuget.
build/RunTestsOnHelix.sh Removes obsolete comment and adds removal of dotnet8/9/10 (internal-)transport sources from the per-work-item NuGet.config.
build/RunTestsOnHelix.cmd Mirrors the .sh changes and additionally drops the PowerShell .dat cache-size measurement line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants