Skip to content

Pin vcpkg registry references#343

Merged
huangminghuang merged 1 commit into
masterfrom
fix/vcpkg-registry-reference
May 16, 2026
Merged

Pin vcpkg registry references#343
huangminghuang merged 1 commit into
masterfrom
fix/vcpkg-registry-reference

Conversation

@huangminghuang
Copy link
Copy Markdown
Contributor

@huangminghuang huangminghuang commented May 15, 2026

Summary

  • Pin the Microsoft default vcpkg registry reference to a commit that contains the repo's current default-registry overrides
  • Pin the Wire custom vcpkg registry reference to match its configured baseline

Why

The failed CI job in #342 showed vcpkg fetching the Wire registry from HEAD:

Fetching registry information from https://github.com/wire-network/wire-vcpkg-registry (HEAD)...
error: boost does not exist

For Git registries, baseline anchors package versions, but reference controls which Git ref vcpkg uses to list available versions. Without reference, vcpkg defaults to the registry's moving HEAD, which can make old builds fail when the registry changes.

The default Microsoft registry is pinned to bc71aa640f89933294f16e004b212c7fd3183eed, because that commit includes the exact version database entries required by the current manifest overrides, including protobuf 6.33.4#1.

Closes #342

Verification

  • jq empty vcpkg-configuration.json
  • Verified the Wire registry commit exists and its baseline contains boost
  • Verified Microsoft/vcpkg bc71aa640f89933294f16e004b212c7fd3183eed contains protobuf 6.33.4#1
  • Ran vcpkg install --dry-run from a temporary manifest root with both registry references pinned; dependency resolution succeeded without the previous protobuf version-database error

@huangminghuang huangminghuang requested a review from heifner May 15, 2026 18:48
@huangminghuang huangminghuang force-pushed the fix/vcpkg-registry-reference branch from 8fc727f to 9ee4580 Compare May 15, 2026 18:51
@huangminghuang huangminghuang force-pushed the fix/vcpkg-registry-reference branch from 9ee4580 to 24b0ee5 Compare May 15, 2026 19:17
@huangminghuang huangminghuang merged commit 61cf651 into master May 16, 2026
28 checks passed
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.

Pin vcpkg Git registry reference for reproducible CI

2 participants