Skip to content

fix: skip literal preflight for git semver ranges - #2590

Draft
Aryan Singh K. (aryansk) wants to merge 1 commit into
microsoft:mainfrom
aryansk:fix/2514-semver-cli-preflight
Draft

fix: skip literal preflight for git semver ranges#2590
Aryan Singh K. (aryansk) wants to merge 1 commit into
microsoft:mainfrom
aryansk:fix/2514-semver-cli-preflight

Conversation

@aryansk

Copy link
Copy Markdown

Summary

Let git semver constraints from positional apm install reach the existing semver resolver instead of probing the raw range string as if it were a literal Git ref. Registry-backed references retain their existing validation path, and exact refs still use normal preflight probing.

Testing

Added regression coverage asserting that a virtual-subdir semver range skips _validate_package_exists and remains eligible for downstream resolution.

Fixes #2514

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.

[BUG] CLI install of git semver ranges on virtual-subdir deps fails preflight (literal ref probe) before resolve

1 participant