Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
ci(tend-setup): bound apt-get so a wedged mirror can't burn the job cap (#3855)
Worktrunk Bot9c37aae5b9af
diff --git a/.github/actions/tend-setup/action.yaml b/.github/actions/tend-setup/action.yamlindex 15717097f..c308b2cb9 100644--- a/.github/actions/tend-setup/action.yaml+++ b/.github/actions/tend-setup/action.yaml@@ -62,6 +62,17 @@ runs:- name: Install shells (zsh, fish)if: inputs.install-shells == 'true'shell: bash+ # Bounded on purpose: an unreachable mirror leaves apt in a retry loop+ # that never terminates, and this step runs before the tend action, so+ # nothing else caps it — five jobs on 2026-08-18/19 sat here until+ # GitHub's 360-minute job cap killed them, one of them the only review+ # #3843 was ever going to get. `timeout-minutes` isn't accepted on a+ # composite-action step, hence `timeout(1)`. A healthy update takes+ # ~15 s, so 5 min is headroom, not a budget. `-k 30` escalates to+ # SIGKILL, so an apt — or one of the acquire-method children it spawns —+ # that ignores the initial SIGTERM can't run the step back out to the+ # cap; expiry fails the step in minutes instead of hours either way+ # (124 when SIGTERM lands it, 137 after the kill).run: |- sudo apt-get update- sudo apt-get install -y zsh fish+ sudo timeout -k 30 300 apt-get update+ sudo timeout -k 30 300 apt-get install -y zsh fish