Skip to content

Sync eng/common directory with azure-sdk-tools for PR 16724 - #48576

Merged
azure-sdk-automation[bot] merged 1 commit into
mainfrom
sync-eng-common-djurek/shared-vcpkg-config-16724
Aug 13, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 16724#48576
azure-sdk-automation[bot] merged 1 commit into
mainfrom
sync-eng-common-djurek/shared-vcpkg-config-16724

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16724 See eng/common workflow

Route vcpkg asset (source tarball) downloads through the Microsoft-hosted
Terrapin mirror instead of the azuresdkartifacts storage account, so vcpkg
builds fetch upstream sources from an approved mirror under network isolation.

set-vcpkg-cache-vars.yml now sets X_VCPKG_ASSET_SOURCES to the Terrapin mirror
with x-block-origin, which fails the build if a source is missing from the
mirror rather than silently falling back to the public internet. The value is
no longer a secret because it carries no SAS token, so it can be set directly
instead of being plumbed through X_VCPKG_ASSET_SOURCES_SECRET.

Set-VcpkgWriteModeCache.ps1 no longer sets a write-mode asset source. That line
overrode the read-only Terrapin mirror in internal builds and would have sent
asset downloads back to the storage account. The binary cache is unchanged and
remains read/write there.

The tools-local copy at eng/scripts/Set-VcpkgWriteModeCache.ps1 is not synced
to language repos and is left alone.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f3a428db-e276-4363-afd9-a944e8533203
Copilot AI balanced review requested due to automatic review settings August 13, 2026 18:20
@azure-sdk-automation
azure-sdk-automation Bot requested a review from a team as a code owner August 13, 2026 18:20
@azure-sdk-automation azure-sdk-automation Bot added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Aug 13, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates Azure Pipelines vcpkg cache variable setup to stop configuring the legacy “asset cache secret” variable and instead point assets at a vcpkg source mirror.

Changes:

  • Remove setting X_VCPKG_ASSET_SOURCES_SECRET in the write-mode PowerShell helper script
  • Update the pipeline step to set X_VCPKG_ASSET_SOURCES (non-secret) to a vcpkg source mirror and adjust logging messages

Reviewed changes

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

File Description
eng/common/scripts/Set-VcpkgWriteModeCache.ps1 Stops setting the legacy asset-source secret variable during write-mode configuration
eng/common/pipelines/templates/steps/set-vcpkg-cache-vars.yml Switches asset configuration to X_VCPKG_ASSET_SOURCES pointing at the vcpkg mirror and updates messages

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread eng/common/pipelines/templates/steps/set-vcpkg-cache-vars.yml
Comment thread eng/common/pipelines/templates/steps/set-vcpkg-cache-vars.yml
Comment thread eng/common/scripts/Set-VcpkgWriteModeCache.ps1
@azure-sdk-automation
azure-sdk-automation Bot merged commit b0a215f into main Aug 13, 2026
33 checks passed
@azure-sdk-automation
azure-sdk-automation Bot deleted the sync-eng-common-djurek/shared-vcpkg-config-16724 branch August 13, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants