Repository navigation
fix: accept newer MSVC toolsets for installed physics packages - #35
Merged
Merged
Conversation
The installed core config required the exact compiler version, so a published package could not be consumed from another runner image, and every hosted image update would break existing pins. MSVC 19.x toolsets are binary compatible while the consumer's is at least as new, so compare the major version and reject only an older consumer. Other compilers keep the exact check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Stage Runner's CI could not consume the published
physicsCore: the package was built with MSVC 19.44 onwindows-2022, the consumer useswindows-2025-vs2026, and the installed config required the exact compiler version. Hosted Windows images update their compiler regularly, so the same check would also break every published pin over time.MSVC 19.x toolsets are binary compatible while the consumer's is at least as new as the package's. The config now compares only major version 19 on MSVC and rejects an older consumer. GCC and Clang keep the exact check.
Ownership and documentation
physicsCorepackage compatibility:docs/architecture/PACKAGE_CONTRACT.mdsection 8, with the limit in the changelog.Validation
Local Windows, MSVC 19.51, no-SDK root suite passes, including the installed-consumer negative cases and a new
OLDER_MSVCrejection. The Stage Runner PR repeats the check on the republished pins.Checklist
🤖 Generated with Claude Code