Skip to content

[ENG-4602] Count package versions as the dashboard does - #513

Merged
ejntaylor merged 1 commit into
mainfrom
tamase/eng-4602-cli-package-count
Nov 23, 2026
Merged

ejntaylor merged 1 commit into
mainfrom
tamase/eng-4602-cli-package-count

Conversation

@terdelyi

Copy link
Copy Markdown
Contributor

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 --verbose line 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 vitest suite and tsc pass.

@coderbuds

coderbuds Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

🎯 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.

See how your team is trending →

@terdelyi

Copy link
Copy Markdown
Contributor Author

/review

@ejntaylor
ejntaylor merged commit 298486f into main Nov 23, 2026
28 checks passed
@ejntaylor
ejntaylor deleted the tamase/eng-4602-cli-package-count branch November 23, 2026 20:15
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.

3 participants