Skip to content

Commit 3fe6df0

Browse files
baogorekclaude
andcommitted
Background modal run so the runner exits quickly
modal run --detach keeps the CLI connected streaming logs; when the GitHub Actions runner timeout fires it actively cancels the Modal app. Background the command with & so the step exits after 10s and the runner completes. --detach keeps the Modal app alive after the CLI process is cleaned up. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4991b1e commit 3fe6df0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pipeline.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ jobs:
5555
ARGS="$ARGS --skip-national"
5656
fi
5757
fi
58-
modal run --detach modal_app/pipeline.py::main $ARGS
58+
modal run --detach modal_app/pipeline.py::main $ARGS &
59+
sleep 10

0 commit comments

Comments
 (0)