Skip to content

Remove unused artifact feed PAT variable group imports - #17259

Merged
missymessa merged 1 commit into
dotnet:mainfrom
missymessa:missymessa/remove-artifact-feed-pat-group
Aug 6, 2026
Merged

missymessa merged 1 commit into
dotnet:mainfrom
missymessa:missymessa/remove-artifact-feed-pat-group

Conversation

@missymessa

@missymessa missymessa commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

The dn-bot-all-orgs-artifact-feeds-rw secret was removed from Arcade's vault manifest in #17245, but two publishing templates still imported the one-secret AzureDevOps-Artifact-Feeds-Pats variable group. Secret Manager subsequently disabled the secret, causing Build Promotion jobs to fail while downloading Key Vault variables even though the PAT is no longer used.

This removes the stale imports from:

  • eng/publishing/v3/publish.yml
  • eng/common/core-templates/job/publish-build-assets.yml

The latest secret version was temporarily re-enabled to restore existing promotions until this change merges and propagates.

Related: #17245
Tracking: https://dev.azure.com/dnceng/internal/_workitems/edit/10812

The dn-bot-all-orgs-artifact-feeds-rw secret was removed from the Arcade vault manifest, but publishing templates still imported its variable group. Remove the stale imports so Key Vault download no longer fails when Secret Manager disables the retired secret.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8d5c9824-be94-4260-a72c-605d0ce1294d
Copilot AI review requested due to automatic review settings August 5, 2026 21: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

Removes imports of a retired Azure DevOps variable group from Arcade publishing templates to prevent Build Promotion jobs from failing during Key Vault variable download after the underlying secret was disabled (the PAT is no longer used).

Changes:

  • Removed AzureDevOps-Artifact-Feeds-Pats variable group import from the v3 publishing pipeline.
  • Removed AzureDevOps-Artifact-Feeds-Pats variable group import from the publish-build-assets job template.

Reviewed changes

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

File Description
eng/publishing/v3/publish.yml Drops the stale variable-group import from the v3 publishing stage variables.
eng/common/core-templates/job/publish-build-assets.yml Drops the stale variable-group import from the publish-build-assets job variables.

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

@missymessa
missymessa merged commit 5e3cb3a into dotnet:main Aug 6, 2026
10 of 12 checks passed
@missymessa missymessa changed the title Remove retired artifact feed PAT variable group Remove unused artifact feed PAT variable group imports Aug 6, 2026
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Aug 7, 2026
rainersigwald added a commit to dotnet/msbuild that referenced this pull request Aug 16, 2026
Fix the official build by removing this group that should no longer be
needed after dotnet/arcade#17245. Similar to
dotnet/arcade#17259.

Exp job was an easy test and got past the failure point:
https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=14979069

---------

Copilot-Session: f3daa6dc-c4da-488a-afcf-37b45c444e01
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