Repository navigation
fix(schema): accept outputs = { auto = false } on tasks - #14265
Conversation
Co-authored-by: Taku Kodama <79110363+risu729@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The change allows Pre-merge checks |
|
<!-- entire-trail-link-start --> https://entire.io/gh/jdx/mise/trails/628 <!-- entire-trail-link-end --> ### 🚀 Features - **(runtime-symlinks)** add a global link to the version global config selects by @jdx in [#14271](#14271) ### 🐛 Bug Fixes - **(history)** skip rewriting unchanged checkpoint metadata on index rebuild by @jdx in [#14249](#14249) - **(http)** retry when a response body drops mid-stream by @JamBalaya56562 in [#14253](#14253) - **(lock)** decode percent-encoded release tags when checking a locked URL by @jdx in [#14252](#14252) - **(schema)** accept outputs = { auto = false } on tasks by @JamBalaya56562 in [#14265](#14265) ### 📚 Documentation - **(dotfiles)** add a recommended setup and a readable modes-and-keys table by @jdx in [#14267](#14267) ### 🧪 Testing - **(http)** stop the allow_html test waiting out the https retry by @jdx in [#14285](#14285) ### 📦 Registry - test ansible, azure and dvc against python 3.14 by @jdx in [#14268](#14268) ## 📦 Aqua Registry Updates ### New Packages (2) - [`runxhq/runx`](https://github.com/runxhq/runx) - [`takumin/passt-bin`](https://github.com/takumin/passt-bin)
The JSON schema allowed only
truefor a task'soutputs = { auto = … }.falseloads and runs fine in mise, but editors and linters such as tombi or Taplo flagged it:The schema now accepts both booleans. Its description now says what
falseactually does. The parser mapsauto = falseto the same value as leavingoutputsunset (src/task/task_sources.rs). Sofalseis not a separate "disable tracking" switch. This is a schema change only, and mise's behavior does not change.This takes over #12797 by @risu729, which pr-closer closed after 7 days of failing checks on the fork run. They are credited as co-author. #12797 described
falseas disabling automatic tracking. Greptile's open thread there noted that a task inheriting global inputs still gets automatic tracking withauto = false. I did not reproduce that, but the parser code above already shows thatfalseonly means "unset", so the new description says that and nothing more.Validation
e2e/config/test_schema_tombinow setsoutputs = { auto = false }in two places:mise.tomlfixture, checked againstschema/mise.json;schema/mise-task.json.main's schemas, both fail withThe value must be one of [true], but found false.outputs = { auto = false }and one with{ auto = true }both run.AI-assisted — Tool: Claude Code; model: anthropic/claude-opus-5-5; version: unavailable.
🤖 Generated with Claude Code
Summary by CodeRabbit
outputs.auto = false, consistent with the behavior of leavingoutputsunset.