fix(version-bump-check): stop requiring a bump for package-lock.json changes - #63
Conversation
|
Warning Review limit reachedNext included review available in 15 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
428f34d to
1c55f61
Compare
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1c55f61 to
8f09fdd
Compare
Code Review ResultsScope: P3 -- Low
Pre-existing Issues (action required)
Coverage
|
|
Amended (now 8f09fdd): the test adds |
|
Decision on finding 2: keep the rule. Lockfiles never force a VERSION bump; a dependency-only change still produces a new |
version-bump-check.ymlexcludes lockfiles from the package-affecting files with\.(lock)$, which matchesyarn.lockandCargo.lockbut notpackage-lock.json. A PR that only changes an npm lockfile therefore demands a VERSION bump when VERSION equals the latest stable release. The workspace rule already says lockfiles do not count.This came up committing lockfiles to signalk-duckdb-history-provider and signalk-questdb-history-provider (whose VERSION equals its latest stable release). The exclusion now also matches
package-lock.jsonat any depth.tests/version-bump-check.test.shruns the step against a throwaway repository with a stubbedgh:package-lock.json,yarn.lockandCargo.lockalone pass, and a source change fails without a bump and passes with one. Thepackage-lock.jsoncase failed before the change.Callers on
@mainget this on merge; it only removes a false failure.🤖 Generated with Claude Code