Repository navigation
fix(cli): print strategy names as configured and reword the forced bump in why - #1259
Merged
Merged
Conversation
BryanFRD
enabled auto-merge (squash)
October 3, 2026 10:00
Contributor
There was a problem hiding this comment.
The Display impl matches the kebab-case serde spelling, and the round-trip test will catch drift. Trigger::Forced is only set when strategy_label == "forced", which comes from forced_ver_for_pkg, so "set with --force-version" is accurate.
Nit: src/monorepo/run/plan.rs:503 still builds the label with format!("{pkg_strategy:?}").to_lowercase(), so calver-short still shows as calvershort in the release plan line, in why's "Decision:" line and in the bump_type output field. Switching it to pkg_strategy.to_string() finishes what the title describes. bump_type is machine-readable though, so changing it may break consumers that match on calvershort. Doing it here or in a separate PR is your call.
ferrflow Bot
added a commit
that referenced
this pull request
Oct 3, 2026
## [7.27.1] - 2026-10-03 ### Bug Fixes - fix(cli): print strategy names as configured and reword the forced bump in why (#1259)
This was referenced Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1235
ferrflow doctorprinted a declared strategy throughDebuglowercased, socalver-shortreadcalvershort.VersioningStrategynow has aDisplaythat uses the config spelling, with a test that keeps it equal to the serde name for every variant.ferrflow whyprintedDecision: forced bump forcedfor a pinned version. It now readsforced bump set with --force-version.Two other places still build the name from
Debug, and I left them alone because they are output contracts:strategy_labelinsrc/monorepo/run/plan.rsfeedsbump_typeincheck --jsonandFERRFLOW_BUMP_TYPEfor hooks, andwhy --jsoncarriesstrategy. Switching them toDisplaychangescalvershortseqtocalver-short-seqfor anyone matching on it, so that deserves its own decision.