Fix dagger call hanging in mise tasks on interactive terminals #256
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-dagger-tty-hang"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--progress=plainto alldagger callinvocations in mise tasks to prevent SIGTTOU hangsRoot cause
Mise runs task scripts in a child process group that is not the terminal's foreground group. When
dagger calldetects a TTY (inherited from the interactive shell), it tries to render its TUI progress display, which requires terminal ioctls. Since the process is not in the foreground group, the kernel sends SIGTTOU, stopping the process indefinitely.This only manifests when running from an interactive terminal (e.g.
pre-commit run --all-filesin fish/wezterm). CI and piped contexts are unaffected since there's no TTY.Changes
mise-tasks/validate-workflows— add--progress=plainmise-tasks/frigate-export-model— add--progress=plainmise-tasks/provision-ringtail— add--progress=plainTest plan
pre-commit run --all-filescompletes without hanging🤖 Generated with Claude Code