Skip to content

fix: accept newer MSVC toolsets for installed physics packages - #35

Merged
snkmcb merged 1 commit into
mainfrom
claude/msvc-package-identity
Oct 31, 2026
Merged

snkmcb merged 1 commit into
mainfrom
claude/msvc-package-identity

Conversation

@snkmcb

@snkmcb snkmcb commented Oct 31, 2026

Copy link
Copy Markdown
Member

Summary

Stage Runner's CI could not consume the published physicsCore: the package was built with MSVC 19.44 on windows-2022, the consumer uses windows-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

physicsCore package compatibility: docs/architecture/PACKAGE_CONTRACT.md section 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_MSVC rejection. The Stage Runner PR repeats the check on the republished pins.

Checklist

  • The change is focused and follows component ownership.
  • Public behavior and compatibility changes update their owning documents.
  • Completed work leaves the active roadmap; evidence is linked once.
  • Tests cover changed contracts or consumer acceptance where applicable.
  • Attached assets permit redistribution and contain no private information.
  • This PR does not contain a security report.

🤖 Generated with Claude Code

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>
@snkmcb
snkmcb merged commit 9927ff1 into main Oct 31, 2026
6 checks passed
@snkmcb
snkmcb deleted the claude/msvc-package-identity branch October 31, 2026 10:23
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