Pin vcpkg registry references#343
Merged
Merged
Conversation
8fc727f to
9ee4580
Compare
heifner
approved these changes
May 15, 2026
9ee4580 to
24b0ee5
Compare
heifner
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
referenceto a commit that contains the repo's current default-registry overridesreferenceto match its configuredbaselineWhy
The failed CI job in #342 showed vcpkg fetching the Wire registry from
HEAD:For Git registries,
baselineanchors package versions, butreferencecontrols which Git ref vcpkg uses to list available versions. Withoutreference, vcpkg defaults to the registry's movingHEAD, 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, includingprotobuf 6.33.4#1.Closes #342
Verification
jq empty vcpkg-configuration.jsonboostbc71aa640f89933294f16e004b212c7fd3183eedcontainsprotobuf 6.33.4#1vcpkg install --dry-runfrom a temporary manifest root with both registry references pinned; dependency resolution succeeded without the previous protobuf version-database error