Skip to content

Sync eng/common directory with azure-sdk-tools for PR 12527#9307

Merged
azure-sdk merged 1 commit intomainfrom
sync-eng/common-djurek/vcpkg-cache-timeout-param-12527
Oct 17, 2025
Merged

Sync eng/common directory with azure-sdk-tools for PR 12527#9307
azure-sdk merged 1 commit intomainfrom
sync-eng/common-djurek/vcpkg-cache-timeout-param-12527

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

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

…'s that exceed 1 hour (this can happen in C++ API View)
@azure-sdk azure-sdk requested a review from a team as a code owner October 16, 2025 18:11
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Oct 16, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR syncs the eng/common directory with azure-sdk-tools PR #12527, adding configurability for the SAS token expiry time in the vcpkg cache setup. Previously, the token expiry was hardcoded to 1 hour.

  • Adds a TokenTimeoutInHours parameter with a default value of 1 hour to both the PowerShell script and YAML template
  • Updates the SAS token generation to use the configurable timeout instead of a hardcoded value

Reviewed Changes

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

File Description
eng/common/scripts/Set-VcpkgWriteModeCache.ps1 Adds TokenTimeoutInHours parameter and uses it for SAS token expiry
eng/common/pipelines/templates/steps/set-vcpkg-cache-vars.yml Adds TokenTimeoutInHours parameter and passes it to the PowerShell script

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@azure-sdk azure-sdk merged commit 1a26f2e into main Oct 17, 2025
8 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-djurek/vcpkg-cache-timeout-param-12527 branch October 17, 2025 04:01
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.

3 participants