Skip to content

Skip aka.ms productVersion links for General Testing channels#17007

Open
akoeplinger wants to merge 1 commit into
dotnet:mainfrom
akoeplinger:akoeplinger/generaltesting-skip-productversion-akams
Open

Skip aka.ms productVersion links for General Testing channels#17007
akoeplinger wants to merge 1 commit into
dotnet:mainfrom
akoeplinger:akoeplinger/generaltesting-skip-productversion-akams

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

VMR builds emit multiple productVersion.txt blobs (aspnetcore, runtime, sdk, windowsdesktop) at different paths. With Flatten = true (the default for aka.ms link creation) they all collapse to the same shortlink aka.ms/dotnet/generaltesting/daily/productversion.txt, and publishing fails with:

error : Error creating/updating aka.ms links: {"DuplicateLink":["Found the same links in body based on provided key aka:host:1:shorturl:dotnet/generaltesting/daily/productversion.txt"]}

All other channels that receive VMR builds use UnifiedBuildAkaMSDoNotCreateLinkPatterns, which adds a productversion exclusion on top of the defaults. The General Testing channels (529 and 1647) were the only non-VS testing channels still using DefaultAkaMSDoNotCreateLinkPatterns, so they break as soon as a VMR build is promoted there.

Switch both General Testing channels to use UnifiedBuildAkaMSDoNotCreateLinkPatterns to match the rest.

VMR builds emit multiple productVersion.txt blobs (aspnetcore, runtime,
sdk, windowsdesktop) that flatten to the same aka.ms shortlink and fail
publishing with DuplicateLink. Use UnifiedBuildAkaMSDoNotCreateLinkPatterns
for General Testing (529) and General Testing Internal (1647), matching
all other channels that receive VMR builds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 15, 2026 07:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates General Testing publishing channel configuration so VMR promotions don’t attempt to create duplicate flattened productversion.txt aka.ms shortlinks (which currently causes publishing failures due to duplicate link creation).

Changes:

  • Switch channel 529 (generaltesting) to use UnifiedBuildAkaMSDoNotCreateLinkPatterns (excludes productversion).
  • Switch channel 1647 (generaltestinginternal) to use UnifiedBuildAkaMSDoNotCreateLinkPatterns for parity with other VMR-receiving channels.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants