Skip to content

Commit dcfda2e

Browse files
committed
docs(mise): clarify that scoping contains the failure, not fixes it
The comment said a task-scoped tool that fails to provision degrades to a warning and "the task body still runs", which reads as though the task succeeds. It doesn't: proto:* will run its body and fail on `buf: command not found` unless the binary is already on PATH. Spell out that the win is check/test no longer being collateral damage, not that proto linting works without buf. Raised in review on #514.
1 parent 239505f commit dcfda2e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

mise.dev.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ watchexec = "2.5.1"
3737
# `check`. On Claude Code Web `.miserc.toml` auto-selects the `dev` env,
3838
# so this hit plain `./bin/mise run check`.
3939
# 2. Task-scoped tools degrade to a warning when provisioning fails, where an
40-
# [tools] entry is a hard error. The task body still runs.
40+
# [tools] entry is a hard error that aborts before any task runs. The
41+
# failure is contained, NOT resolved: the proto:* task itself still runs
42+
# its body and will then fail on `buf: command not found` unless the
43+
# binary is already on PATH. The point is that `check` and `test` are no
44+
# longer collateral damage — not that proto linting works without buf.
4145
#
4246
# KNOWN TRADE-OFF: task-scoped tools are not part of a config's [tools] set,
4347
# so `mise lock` drops them from mise.dev.lock. These two therefore lose

0 commit comments

Comments
 (0)