-
Notifications
You must be signed in to change notification settings - Fork 89
Calculate package version range for upgrade #910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculate package version range for upgrade #910
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds functionality to calculate and track package version ranges for upgrade assessment. The changes enhance telemetry by collecting version information across dependencies and computing version ranges for each group ID.
- Introduces a
VersionSettype to track versions by group ID - Adds version range calculation logic that formats single versions or ranges as "min|max"
- Replaces individual package telemetry with aggregated version range telemetry by group ID
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/upgrade/type.ts | Adds VersionSet type definition for tracking versions by group ID |
| src/upgrade/display/notificationManager.ts | Adds telemetry tracking for upgrade notifications |
| src/upgrade/assessmentManager.ts | Implements version range calculation and updates telemetry to use aggregated version data |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
02bbec3 to
a81ad08
Compare
Co-authored-by: Miller Wang <69189193+wangmingliang-ms@users.noreply.github.com>
wangmingliang-ms
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.