Skip to content

ci: add timeout-minutes to every workflow job#87

Merged
Reefact merged 1 commit into
mainfrom
claude/ci-job-timeouts
Jul 10, 2026
Merged

ci: add timeout-minutes to every workflow job#87
Reefact merged 1 commit into
mainfrom
claude/ci-job-timeouts

Conversation

@Reefact

@Reefact Reefact commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Summary

No workflow job had an explicit timeout, so a hung step would hold a runner to the 6-hour default (wasted minutes, delayed feedback). This caps each of the 10 jobs across the 9 workflows with a per-job timeout sized generously over its typical duration — it fires only on a genuinely stuck run, never on a normal (even slow) one.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Analyzer / diagnostic change
  • Tests
  • Documentation
  • Build / CI / tooling

Changes

timeout-minutes added to every job:

Tier Jobs Cap
Fast utility Conventional commits, Dependency review, Dependabot auto-merge 10
Build / analyzer / pack ci build+test, both analyzer dogfoods, release-dryrun pack 15
Heavier SonarQube analysis, CodeQL analyze, release pack-push 20

Testing

  • dotnet build FirstClassErrors.sln
  • dotnet test FirstClassErrors.sln
  • Analyzer tests pass (FirstClassErrors.Analyzers.UnitTests)

Not applicable: CI-config-only change, no behaviour change on a healthy run. Verified: all 9 workflow files parse as YAML, and each of the 10 jobs carries exactly one timeout-minutes (10 total).

Documentation

  • No documentation change required

🤖 Generated with Claude Code

https://claude.ai/code/session_01AbXi2ZEaUFeFWodNxdY6Zk


Generated by Claude Code

Every job ran without an explicit timeout, so a hung step would hold a runner
to the 6-hour default (wasted minutes, delayed feedback). Cap each of the 10
jobs across the 9 workflows with a per-job timeout sized generously over its
typical duration — it only fires on a genuinely stuck run, never on a normal
(even slow) one:

* fast utility jobs (Conventional commits, Dependency review, Dependabot
  auto-merge): 10 min
* build / analyzer / pack jobs (ci, both analyzer dogfoods, release-dryrun):
  15 min
* heavier jobs (Sonar, CodeQL, the release pack-push): 20 min

Config-only change; no behaviour change on a healthy run.
@Reefact Reefact merged commit f19aa06 into main Jul 10, 2026
11 checks passed
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.

2 participants