Repository navigation
fix(control): ship mise-en-place disabled in the default config - #685
Merged
Merged
Conversation
plumber:default turned mise on, so every config extending it ran the
lockfile and versions checks. mise now ships disabled, and
`mise: {enabled: true}` runs the shipped checks. config init and config
slim still write an enabled block.
Part of #254.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
thomasboni
approved these changes
Dec 4, 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.
What type of PR is this?
fix
What this PR does / why we need it:
#665 shipped
mise.enabled: trueindefaultConfig/.plumber.yaml, so every config extendingplumber:defaultruns the mise lockfile and versions checks without asking for them. A mise file that does not parse even fails the whole run (exit 2). The control should ship disabled, like the other opt-in controls.defaultConfig/.plumber.yaml:mise.enabled: false. Thelockfileandversionsblocks stay, somise: {enabled: true}in an overlay runs them.cmd/init.go: when package managers are selected, the wizard copies the default's mise block. It now dropsenabled, so the written block is on.cmd/config_slim.go: a legacy config with amise:block and noenabledkey getsenabled: truein the overlay. Without it, the block would inherit the default'sfalse.Which issue(s) this PR is related to:
Part of #254. Follows #665.
Special notes for your reviewer:
The repository's own
.plumber.yamlkeeps mise enabled.Does this PR introduce a user-facing change?
How was this tested?
go test ./... -count=1passes.make lintreports 7 govetreflect.Ptrhints in files this PR does not touch; main reports the same 7.plumber analyze --controls mise-en-placeon getplumber-examples/plumber-mise-example (9fc3759):extends: plumber:default, nomise:blockcannot read the mise files below ... exempt-path/broken/mise.toml: toml: incomplete numberenabled: falseenabled: true)AI usage disclosure:
YES. Claude Code wrote the change and ran the tests and the example runs. The author reviewed the change and is responsible for it.
🤖 Generated with Claude Code