Skip to content

ci: set job timeouts for GitHub Actions - #27577

Merged
kumarUjjawal merged 2 commits into
apache:mainfrom
kumarUjjawal:kumar/ci-job-timeouts
Nov 19, 2026
Merged

kumarUjjawal merged 2 commits into
apache:mainfrom
kumarUjjawal:kumar/ci-job-timeouts

Conversation

@kumarUjjawal

@kumarUjjawal kumarUjjawal commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Related to #25148. This follows apache/datafusion-comet#7679.

Rationale for this change

GitHub Actions defaults to six hours per job. Explicit job timeouts let CI report a hung job sooner and free its runner.

What changes are included in this PR?

  • Add timeouts to the 49 runner jobs that lacked one, so all 52 runner jobs have an explicit limit.
  • Use recent successful Runs-On and GitHub-hosted jobs, including fork runs, to size the limits. The Linux test took up to about 10 minutes upstream and 25 minutes on a fork in the sample. Its 90-minute limit leaves room for cold caches. Upstream run, fork run.
  • Use the existing 15-minute ubuntu-slim runner limit for the docs jobs, Verify Vendored Code, and Detect Unused Dependencies.
  • Document how to choose and adjust job timeouts in the contributor guide.

What is the testing strategy for this PR?

Parsed all 20 workflows and verified every runner job has a timeout. Compared the parsed YAML against main to confirm the timeout additions are the only workflow changes. The existing CI-script tests, required-check mapping, and Prettier checks passed.

Are there any user-facing changes?

CI jobs now stop when they reach their configured timeout.

@github-actions github-actions Bot added documentation Improvements or additions to documentation development-process Related to development process of DataFusion labels Nov 19, 2026
Verify Vendored Code and Detect Unused Dependencies took up to 6.6
and 6.1 minutes with warm caches, so 10 minutes left too little room.

@comphead comphead left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kumarUjjawal

@kumarUjjawal
kumarUjjawal added this pull request to the merge queue Nov 19, 2026
@kumarUjjawal

Copy link
Copy Markdown
Contributor Author

Thank you @comphead for the review

Merged via the queue into apache:main with commit bc598ee Nov 19, 2026
43 checks passed
@kumarUjjawal
kumarUjjawal deleted the kumar/ci-job-timeouts branch November 19, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion documentation Improvements or additions to documentation v57.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants