Skip to content

[release/10.0.3xx] Remove internal darc-int feeds from NuGet.config files - #6256

Merged
wtgodbe merged 1 commit into
release/10.0.3xxfrom
fix/remove-darc-int-feeds-3xx
Apr 24, 2026
Merged

wtgodbe merged 1 commit into
release/10.0.3xxfrom
fix/remove-darc-int-feeds-3xx

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Apr 24, 2026

Copy link
Copy Markdown
Member

Summary

Removes darc-int-dotnet-dotnet-b16286c2 internal feed references from 5 NuGet.config files. These were added by PR #6224 (Change RepoDotNetFinalVersionKind to 'release') and cause 401 Unauthorized errors on public CI builds, since the dnceng/internal feeds require authentication that public pipelines don't have.

Problem

Public CI builds of forward flow PRs (e.g., #6206) fail in the scenario tests stage with:

error NU1301: Unable to load the service index for source
https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-dotnet-b16286c2/nuget/v3/index.json.
Response status code does not indicate success: 401 (Unauthorized).

The scenario-tests.proj has <KeepFeedPrefixes Include="darc-int" /> which preserves these feeds in the generated NuGet.config, causing the auth failure.

Changes

Removed the darc-int-dotnet-dotnet-b16286c entries from both <packageSources> and <disabledPackageSources> sections in:

  • NuGet.config
  • src/scenario-tests/NuGet.config
  • src/sdk/NuGet.config
  • src/sourcelink/NuGet.config
  • src/templating/NuGet.config

Remove darc-int-dotnet-dotnet-b16286c2 feed references from 5 NuGet.config
files. These internal feeds were added by PR #6224 (Change FinalVersionKind)
and cause 401 Unauthorized errors on public CI builds, since public pipelines
don't have credentials for dnceng/internal feeds.

Affected files:
- NuGet.config
- src/scenario-tests/NuGet.config
- src/sdk/NuGet.config
- src/sourcelink/NuGet.config
- src/templating/NuGet.config

Co-authored-by: Copilot <[email protected]>
@wtgodbe
wtgodbe requested review from a team as code owners April 24, 2026 17:35
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team April 24, 2026 17:35
@wtgodbe
wtgodbe enabled auto-merge (squash) April 24, 2026 19:50
@wtgodbe
wtgodbe merged commit b3532f1 into release/10.0.3xx Apr 24, 2026
8 checks passed
@wtgodbe
wtgodbe deleted the fix/remove-darc-int-feeds-3xx branch April 24, 2026 20:59
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