Fix dagger call hanging in mise tasks on interactive terminals #256

Merged
eblume merged 1 commit from fix-dagger-tty-hang into main 2026-02-23 14:15:59 -08:00
4 changed files with 4 additions and 3 deletions

View 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.

View file

@ -14,7 +14,7 @@ OUTPUT_FILE="yolov9-${MODEL_SIZE}-${INPUT_SIZE}.onnx"
echo "Exporting YOLOv9-${MODEL_SIZE} (${INPUT_SIZE}x${INPUT_SIZE}) via Dagger..." echo "Exporting YOLOv9-${MODEL_SIZE} (${INPUT_SIZE}x${INPUT_SIZE}) via Dagger..."
echo "" echo ""
dagger call export-yolov-9 \ dagger call --progress=plain export-yolov-9 \
--model-size="$MODEL_SIZE" \ --model-size="$MODEL_SIZE" \
--input-size="$INPUT_SIZE" \ --input-size="$INPUT_SIZE" \
export --path="$OUTPUT_FILE" export --path="$OUTPUT_FILE"

View file

@ -7,7 +7,7 @@ export MISE_TASK_OUTPUT=interleave
# Update flake.lock via Dagger before deploying # Update flake.lock via Dagger before deploying
echo "Updating nixos/ringtail/flake.lock..." echo "Updating nixos/ringtail/flake.lock..."
dagger call flake-lock --src=. --flake-path=nixos/ringtail \ dagger call --progress=plain flake-lock --src=. --flake-path=nixos/ringtail \
export --path=nixos/ringtail/flake.lock export --path=nixos/ringtail/flake.lock
if ! git diff --quiet nixos/ringtail/flake.lock; then if ! git diff --quiet nixos/ringtail/flake.lock; then

View file

@ -3,4 +3,4 @@
set -euo pipefail set -euo pipefail
dagger call validate-workflows --src=. dagger call --progress=plain validate-workflows --src=.