ci: add timeouts to all CI/CD jobs, Dagger tasks, and runner scripts #432

Merged
guettlibot merged 1 commits from refs/pull/432/head into main 2026-06-05 09:49:31 +00:00
guettlibot commented 2026-06-04 20:43:49 +00:00 (Migrated from codeberg.org)

Closes #415

Summary

  • Adds missing timeout-minutes to ci.yml (check job, 60 min) and windows-nightly.yml (90 min, ready for when the Windows runner is registered)
  • Wraps ssh-keyscan and ssh -f -N -L tunnel creation in setup_dagger_remote.sh with timeout 30; emits a ::warning:: annotation when either takes more than 10 s
  • Adds timeout --kill-after=10 <N> to all bare dagger call invocations in Taskfile.yml: 600 s for test/query tasks, 1800 s for build/deploy tasks, 60 s for ci-graph; stalwart and check-dagger (already protected) left untouched
  • Adds timeout --kill-after=10 2400 per attempt in run_firebase_test.sh; emits ::warning:: on exit 124 instead of silently retrying

Test plan

  • CI passes on this PR (the check job now has timeout-minutes: 60 and will self-enforce)
  • All dagger call lines in Taskfile.yml now have a timeout prefix (visible in the diff)
  • setup_dagger_remote.sh logic is unchanged — only the two network calls are wrapped
Closes #415 ## Summary - Adds missing `timeout-minutes` to `ci.yml` (`check` job, 60 min) and `windows-nightly.yml` (90 min, ready for when the Windows runner is registered) - Wraps `ssh-keyscan` and `ssh -f -N -L` tunnel creation in `setup_dagger_remote.sh` with `timeout 30`; emits a `::warning::` annotation when either takes more than 10 s - Adds `timeout --kill-after=10 <N>` to all bare `dagger call` invocations in `Taskfile.yml`: 600 s for test/query tasks, 1800 s for build/deploy tasks, 60 s for `ci-graph`; `stalwart` and `check-dagger` (already protected) left untouched - Adds `timeout --kill-after=10 2400` per attempt in `run_firebase_test.sh`; emits `::warning::` on exit 124 instead of silently retrying ## Test plan - CI passes on this PR (the `check` job now has `timeout-minutes: 60` and will self-enforce) - All `dagger call` lines in `Taskfile.yml` now have a `timeout` prefix (visible in the diff) - `setup_dagger_remote.sh` logic is unchanged — only the two network calls are wrapped
Sign in to join this conversation.