Repository navigation
Revert #17185: restore AzureDevOpsFeedsKey (task NREs on null FeedKeys, breaking prod promotions) - #17186
Merged
missymessa merged 1 commit intoJul 24, 2026
Conversation
…keyless Entra publishing) (dotnet#17185)" This reverts commit b7d4e15.
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts the earlier “keyless Entra publishing” change in the Build Promotion pipeline by restoring use of the AzDO feeds PAT, mitigating production failures caused by null FeedKeys in the publishing task path.
Changes:
- Re-adds the
enable-cross-org-publishing.ps1step to configure cross-org feed publishing with the PAT. - Restores passing
/p:AzureDevOpsFeedsKey='$(dn-bot-all-orgs-artifact-feeds-rw)'to the publish MSBuild invocation.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+101
to
+106
| - task: PowerShell@2 | ||
| displayName: Enable cross-org publishing | ||
| inputs: | ||
| filePath: $(System.DefaultWorkingDirectory)/eng/common/enable-cross-org-publishing.ps1 | ||
| arguments: -token $(dn-bot-all-orgs-artifact-feeds-rw) | ||
|
|
missymessa
enabled auto-merge (squash)
July 24, 2026 22:46
meghnave
approved these changes
Jul 24, 2026
This was referenced Jul 24, 2026
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.
Live-site mitigation — revert #17185
Reverts #17185 (
b7d4e1500), which removedAzureDevOpsFeedsKeyfrom the Build Promotionpublish.yml(keyless Entra publishing). That change broke production Build Promotion.Why
Keyless publish exposed an unguarded null-reference in the arcade publishing task itself. With no feeds key,
PublishArtifactsInManifest.projomits theFeedKeyitem, so the task'sFeedKeysparameter arrives null, andSetupTargetFeedConfigV3(line 74) calls.ToImmutableDictionary()on it with no null guard → crash before auth even runs:Confirmed production impact
Both fail with the identical crash. The earlier General Testing test passed only because it promoted an arcade build that didn't hit the null path — it was not a representative test.
Follow-up
A durable fix (null-guard in
SetupTargetFeedConfigV3/V4, then re-apply keyless) will follow in a separate PR. Do not go keyless again until the task handles nullFeedKeys.