Skip to content

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

Merged
danieljurek 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#6796
danieljurek 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 synchronizes the eng/common directory with azure-sdk-tools repository (PR #12527), introducing configurable token timeout for vcpkg cache access. The changes add a new parameter to control the SAS token expiry duration, replacing the previously hardcoded 1-hour timeout.

Key Changes:

  • Added configurable token timeout parameter with a default of 1 hour
  • Updated PowerShell script to accept and use the timeout parameter
  • Modified Azure Pipeline template to pass the timeout value to the script

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 Added TokenTimeoutInHours parameter to make SAS token expiry time configurable
eng/common/pipelines/templates/steps/set-vcpkg-cache-vars.yml Added template parameter for token timeout and wired it to the PowerShell script

@danieljurek
Copy link
Copy Markdown
Member

/azp run cpp - core

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@danieljurek danieljurek merged commit f0b5bfd into main Oct 17, 2025
73 of 94 checks passed
@danieljurek danieljurek deleted the sync-eng/common-djurek/vcpkg-cache-timeout-param-12527 branch October 17, 2025 03:52
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