Skip to content

Fix Windows vcpkg cache reuse#3

Merged
adsharma merged 1 commit into
mainfrom
codex/fix-windows-vcpkg-cache
May 24, 2026
Merged

Fix Windows vcpkg cache reuse#3
adsharma merged 1 commit into
mainfrom
codex/fix-windows-vcpkg-cache

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

Summary

  • run the build workflow on pushes to main so Windows vcpkg binary caches are saved on a ref that release/tag builds can restore
  • key the Windows vcpkg binary cache by the hosted runner's C:\vcpkg checkout commit instead of a stale Arrow version label
  • add a broad Windows restore prefix so vcpkg can reuse compatible prior binary archives when the exact key is new

Root cause

The existing cache was saved from PR refs such as refs/pull/2/merge. Tag builds cannot restore those PR-scoped caches, so release builds start cold and rebuild Arrow through vcpkg.

Validation

  • git diff --check
  • parsed .github/workflows/build-and-deploy.yml with Ruby YAML.load_file

@adsharma adsharma changed the title [codex] Fix Windows vcpkg cache reuse Fix Windows vcpkg cache reuse May 24, 2026
@adsharma adsharma marked this pull request as ready for review May 24, 2026 19:20
@adsharma adsharma merged commit 128a571 into main May 24, 2026
5 checks passed
@adsharma adsharma deleted the codex/fix-windows-vcpkg-cache branch May 24, 2026 19:20
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.

1 participant