Skip to content

retry_after_failure config option should also apply to bump command #1302

Description

@jakob-keller

Description

commitizen supports the --retry argument for multiple commands:

This is really useful when working with pre-commit hooks.

As a further improvement of developer experience, the retry_after_failure config option is available.

That config option currently applies to the commit command only. It is not applied when running the bump command.

It would be great, if the retry_after_failure config option would also apply to the bump command.

Possible Solution

No response

Additional context

#732 requested retry config support for the commit command, which was implemented in #1027.

Additional context

No response

Activity

  1. bearomorphism commented on Dec 3, 2025

    @bearomorphism
    Collaborator

    @Lee-W wdyt? But I think we should have a better config option name like retry_after_failure_bump if we want to implement this feature, or we need to redesign the config options in some future version.

  2. Lee-W commented on Jan 5, 2026

    @Lee-W
    Member

    If we want to add it, I would like to deprecate retry_after_failure and add retry_commit_after_failure and retry_bump_after_failure

  3. bearomorphism commented on Jan 7, 2026

    @bearomorphism
    Collaborator

    Action items:

    • 1. Add retry_commit_after_failure and deprecate retry_after_failure
    • 2. Add retry_bump_after_failure
  4. EkinDeveci1907 commented on Oct 4, 2026

    @EkinDeveci1907

    Hi! I'd like to work on action item 2: adding retry_bump_after_failure so cz bump can retry from config like cz commit does with retry_after_failure. I'll include tests and docs.

  5. bearomorphism commented on Oct 5, 2026

    @bearomorphism
    Collaborator

    @EkinDeveci1907 sure, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions