Handle AzDO upstream-conflict publish failures by enabling allowExternalVersions and retrying#811
Draft
Copilot wants to merge 3 commits into
Draft
Handle AzDO upstream-conflict publish failures by enabling allowExternalVersions and retrying#811Copilot wants to merge 3 commits into
allowExternalVersions and retrying#811Copilot wants to merge 3 commits into
Conversation
…etrying publish Agent-Logs-Url: https://github.com/dotnet/workload-versions/sessions/44254b7c-7f19-42ac-babb-f44d23ed7b30 Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
…onflict Agent-Logs-Url: https://github.com/dotnet/workload-versions/sessions/44254b7c-7f19-42ac-babb-f44d23ed7b30 Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Enable allow externally-sourced versions on upstreamed version
Handle AzDO upstream-conflict publish failures by enabling May 11, 2026
allowExternalVersions and retrying
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Publishing to
dotnet-workloadscan fail when a package is only available via an upstream (for exampledotnet-public): publish returns a 409 upstream-source conflict unless the target feed allows external versions. This update adds targeted recovery for that failure mode in the official publish pipeline.Publish flow: detect upstream-source conflict from initial AzDO publish
eng/pipelines/official.yml, the AzDO publish task is now named (InitialPublishToAzDO) and runs withcontinueOnError: trueto allow post-failure inspection.exists in at least one of the feed's upstream sourcesFeed configuration update via Artifacts REST API
azDOPublishFeed(project/feedor feed-only) and updates feed settings using the Artifacts API:allowExternalVersions = trueConditional retry
RetryAzdoPublish=trueonly when the upstream-conflict path is taken.