Skip to content

Add per-job timeouts to CI - #399

Open
hahn-kev wants to merge 1 commit into
masterfrom
ci/job-timeouts
Open

Add per-job timeouts to CI#399
hahn-kev wants to merge 1 commit into
masterfrom
ci/job-timeouts

Conversation

@hahn-kev

@hahn-kev hahn-kev commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Recently a job got cancelled after running for 6 hours, on a job that normally runs for less than 5 minutes. So I've added some timeouts to our jobs.


AI summary

Adds timeout-minutes to both jobs in .github/workflows/ci-cd.yml, which previously had none (so a hung job could run to GitHub's 6-hour default).

Job Recent duration Timeout
build (matrix: windows-latest / ubuntu-22.04) ~5m windows, ~4m ubuntu 10 min
publish-test-results <30s 5 min

The build timeout is shared across the matrix, so it's set for the slower windows-latest leg with comfortable headroom.

Test plan

  • CI runs green on this PR with the new timeouts in place
  • Confirm both jobs complete well under their limits (build <10m, publish <5m)

This change is Reviewable

Set timeout-minutes on both jobs so a hung job fails fast instead of
running to the 6-hour default: build (10m; recent runs ~5m) and
publish-test-results (5m; normally <30s).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

LCM Tests

    16 files  ±0      16 suites  ±0   2m 1s ⏱️ -5s
 2 875 tests ±0   2 855 ✅ ±0   20 💤 ±0  0 ❌ ±0 
11 448 runs  ±0  11 280 ✅ ±0  168 💤 ±0  0 ❌ ±0 

Results for commit fd8df41. ± Comparison against base commit 9fdb060.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant