Fix dagger call hanging in mise tasks on interactive terminals (#256)
## Summary - Add `--progress=plain` to all `dagger call` invocations in mise tasks to prevent SIGTTOU hangs ## Root cause Mise runs task scripts in a child process group that is not the terminal's foreground group. When `dagger call` detects 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-files` in fish/wezterm). CI and piped contexts are unaffected since there's no TTY. ## Changes - `mise-tasks/validate-workflows` — add `--progress=plain` - `mise-tasks/frigate-export-model` — add `--progress=plain` - `mise-tasks/provision-ringtail` — add `--progress=plain` ## Test plan - [x] `pre-commit run --all-files` completes without hanging - [ ] Verify in interactive fish/wezterm terminal 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/256
This commit is contained in:
parent
84d2cdcf14
commit
260b7ca520
4 changed files with 4 additions and 3 deletions
1
docs/changelog.d/fix-dagger-tty-hang.bugfix.md
Normal file
1
docs/changelog.d/fix-dagger-tty-hang.bugfix.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix Dagger pipelines hanging when called from mise tasks in interactive terminals. Added `--progress=plain` to all `dagger call` invocations to prevent SIGTTOU from stopping the process when mise's child process group is not the terminal foreground group.
|
||||
Loading…
Add table
Add a link
Reference in a new issue