chore: version packages - #46
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Pull Request Overview
The changelog documents matches-stack behavior, but this PR contains no implementation changes for that feature. Verify the implementation is already present in the target branch before merging; otherwise, publishing 1.11.0 would advertise unsupported functionality.
All acceptance criteria related to filtering, bulk operations, and summaries lack implementation or test evidence in this PR. Codacy reports the changes as up to standards, with no new issues or complexity findings.
About this PR
- No tests or coverage evidence are included for the documented matches-stack filter, bulk operations, or summary behavior.
Test suggestions
- Verify codacy patterns filters patterns matching the repository stack when --matches-stack or --matches-stack true is used.
- Verify codacy patterns filters patterns not matching the repository stack when --matches-stack false is used.
- Verify omitting --matches-stack leaves patterns unfiltered.
- Verify --enable-all and --disable-all apply only to the selected stack subset.
- Verify bulk-update summaries report counts for the whole tool rather than only the filtered subset.
- Verify package metadata is versioned as 1.11.0 and the corresponding changelog entry is present.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify codacy patterns filters patterns matching the repository stack when --matches-stack or --matches-stack true is used.
2. Verify codacy patterns filters patterns not matching the repository stack when --matches-stack false is used.
3. Verify omitting --matches-stack leaves patterns unfiltered.
4. Verify --enable-all and --disable-all apply only to the selected stack subset.
5. Verify bulk-update summaries report counts for the whole tool rather than only the filtered subset.
6. Verify package metadata is versioned as 1.11.0 and the corresponding changelog entry is present.
TIP How was this review? Give us feedback
|
|
||
| ### Minor Changes | ||
|
|
||
| - [#45](https://github.com/codacy/codacy-cloud-cli/pull/45) [`e21f321`](https://github.com/codacy/codacy-cloud-cli/commit/e21f321c28ef2963a7bd0ee9cfdabb2666d15c46) Thanks [@alerizzo](https://github.com/alerizzo)! - New `-k, --matches-stack [value]` filter on `codacy patterns`, which narrows a tool's code patterns to those that do (or don't) match the repository's detected stack. |
There was a problem hiding this comment.
🔴 HIGH RISK
Please verify that the referenced matches-stack implementation is already part of the target branch before releasing 1.11.0; this PR adds only the changelog and package version, not the documented feature.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@codacy/codacy-cloud-cli@1.11.0
Minor Changes
#45
e21f321Thanks @alerizzo! - New-k, --matches-stack [value]filter oncodacy patterns, which narrows a tool's code patterns to those that do (or don't) match the repository's detected stack.It's a tri-state flag, the same shape as
issues --false-positives:The filter applies in bulk mode too, so
--enable-all/--disable-allcan be scoped to the stack:codacy patterns eslint9 --disable-all --matches-stack falseThe summary printed after a bulk update still reports counts for the whole tool, not just the updated subset.