Repository navigation
[ENG-4602] Count package versions as the dashboard does - #513
Merged
Merged
Conversation
|
🎯 Elite quality (97%) — Small, targeted fix aligning CLI package count with dashboard, backed by a regression test. 📦 Small 🟢 Low risk — 5 lines of code, and nothing that needs a person. ✅ Reviewed — approved by @daniloradovic. 🩺 Coderbuds triage found nothing that should stop this merge. |
Contributor
Author
|
/review |
daniloradovic
approved these changes
Nov 23, 2026
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.
Ref ENG-4602
"Checked N packages" now counts package versions, the same way the Patchstack dashboard counts the same scan. It used to count package names, so a project with any package installed at two versions showed a lower number in the CLI than on the dashboard: 416 vs 429 in one dogfood run.
The
--verboseline still gives both numbers: "Found 5 package versions across 4 packages".Tested: a new bin test scans a lockfile that has one package at two versions and expects the version count. It fails on the old build. Full
vitestsuite andtscpass.