Skip to content

chore(release-please): generate a patch release on "chore:" and "deps:"#770

Open
gustavogama-cll wants to merge 1 commit into
mainfrom
ggama/chore/release-please-patch-release-chore-deps
Open

chore(release-please): generate a patch release on "chore:" and "deps:"#770
gustavogama-cll wants to merge 1 commit into
mainfrom
ggama/chore/release-please-patch-release-chore-deps

Conversation

@gustavogama-cll
Copy link
Copy Markdown
Contributor

No description provided.

@gustavogama-cll gustavogama-cll marked this pull request as ready for review May 27, 2026 22:16
@gustavogama-cll gustavogama-cll requested a review from a team as a code owner May 27, 2026 22:16
Copilot AI review requested due to automatic review settings May 27, 2026 22:16
@gustavogama-cll gustavogama-cll enabled auto-merge (squash) May 27, 2026 22:17
@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release-please configuration so that chore: and deps: conventional commits trigger a patch version bump (instead of being hidden/no-op), aligning them with the existing behavior for perf and revert.

Changes:

  • Removes hidden: true from the chore section and adds "bump": "patch".
  • Adds a new deps section with "bump": "patch".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"changelog-sections": [
{ "type": "build", "section": "Builds", "hidden": true },
{ "type": "chore", "section": "Miscellaneous", "hidden": true },
{ "type": "chore", "section": "Miscellaneous", "bump": "patch" },
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really want patch bump for chore? Chore can be changes that do not require a bump.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe. But when they do require a bump it's super painful to cut a release.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see this guardian ticket for an example

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provider another link? The current one for some reasons linked me only to the CLD Support Tracker board.

maybe. But when they do require a bump it's super painful to cut a release.

Bumping version on a chore is diverging from the standard of semantic release. chore is considered internal maintenance work that does not affect consumers of the package. We should be using the right prefix like fix or feat right?

Copy link
Copy Markdown
Contributor Author

@gustavogama-cll gustavogama-cll May 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provider another link? The current one for some reasons linked me only to the CLD Support Tracker board.

Hmmm. Not sure what happened. This is the link I meant to share.

Bumping version on a chore is diverging from the standard of semantic release. chore is considered internal maintenance work that does not affect consumers of the package

I honestly think this is an oversimplification. In the instance I'm linking to, the author was bumping the version of a dependency, which most people (including myself) use "chore:" for. While looking for solutions to the guardian ticket, I saw discussions where people said they override the default settings to include "docs:" and "refactor:", and I kind of agree with it. In fact, if it was up to me we'd configure all changelog sections as "bump": "patch" (I was the one defending automatic bumps for libraries, after all. 😁).

Copy link
Copy Markdown
Contributor

@graham-chainlink graham-chainlink May 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right! i can see where you are coming from, i am in between minds of either we should be using fix for bumping dependencies when we want to perform a release, eg Felix PR here versus allowing chore to perform a bump too. Lets see what other thinks.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chore is also the prefix used when cutting a release. By making it a bump, I believe this would cause the merge of the automated PR to create a new release.

We should be vigilant of the PR prefixes that people are using when we review. We are also able to make the changes ourselves if we feel what they have chosen doesn't match.

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.

4 participants