You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mfile): a session entry accepts task action keys such as exec, which do nothing #4069
priority:should-haveShould be done. Applied by the inbox-route classifier or a human.release:0.8.0Targeted for the 0.8.0 release. Pair with a priority label.
A session entry accepts the flat task action key exec (and the other task action keys, such as bash, cmdcmd, echo and args), and it has no effect: a session runs its login shell, not the action. Nothing tells the user.
[sessions.dev]
exec = ["make", "serve"]
min session start dev starts a shell and ignores exec.
Why it matters
Owner rule: "Ideally, we don't provide keys or specify keys that have incomplete implementations." #4067 refuses the box keys that no box applies, but leaves the task action keys on a session entry alone, because they work on a task entry.
Expected
Either refuse a task action key on a session-rooted entry with exit 3, naming the key and the table (a session runs its shell; use a [tasks.<name>] entry, or min box exec), or make it do something documented.
priority:should-haveShould be done. Applied by the inbox-route classifier or a human.release:0.8.0Targeted for the 0.8.0 release. Pair with a priority label.
Activity
fix(mfile): refuse an unapplied key or terminal value in the layer th…
fix(mfile): name a task's exec as the replacement for execution.exec
fix(mfile): refuse minimal.toml keys this release does not support ye…