Improve version resolution fast paths#94
Conversation
8be67f7 to
0dd5203
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8be67f7e32
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR updates version resolution in src/manifest.ts to add faster paths for exact versions and simple lower-bound semver ranges, and adds/adjusts unit tests to cover the new behavior and failure cases.
Changes:
- Allow exact semver inputs to resolve directly (without requiring presence in the bundled manifest).
- Add a “simple lower-bound range” shortcut to resolve to the latest stable manifest release when appropriate.
- Extend unit tests to cover the new fast paths and related error cases.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
src/manifest.ts |
Adds exact-version fast path and a helper to detect/shortcut simple lower-bound ranges to latest stable. |
test/manifest.test.ts |
Adds tests for the new fast paths (including manifest-missing exact versions) and adjusts unsatisfied-range coverage. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
311ca7e to
5f5a6f9
Compare
Summary
Testing