Skip to content

ci: add 15-minute timeout to each job - #15

Merged
cardmagic merged 1 commit into
mainfrom
ci/job-timeouts
Aug 21, 2026
Merged

ci: add 15-minute timeout to each job#15
cardmagic merged 1 commit into
mainfrom
ci/job-timeouts

Conversation

@cardmagic

Copy link
Copy Markdown
Owner

Why

CI on main shows as not passing. The last two runs on main were cancelled after 6 hours.

Root cause: the browser job ran playwright install --with-deps chromium. That step calls apt-get update. The mirror azure.archive.ubuntu.com was unreachable on 2026-08-19, and apt stalled with no limit. No job had a timeout-minutes value, so GitHub killed the job at the 6-hour default.

What

Add timeout-minutes: 15 to every job. A normal run completes in 1 to 3 minutes. With this limit, a hung job fails in 15 minutes, and a rerun costs minutes and not hours.

The browser job hung for 6 hours on 2026-08-19. The apt mirror
azure.archive.ubuntu.com was unreachable, and apt-get stalled with
no limit during playwright install --with-deps. A job timeout makes
a hung job fail fast, so a rerun costs minutes and not hours.
@greptile-apps

greptile-apps Bot commented Aug 21, 2026

Copy link
Copy Markdown

Greptile encountered an error while reviewing this PR. Please reach out to support@greptile.com for assistance and include this reference: 9700e437-470f-4176-b234-de4685bdbeec.

@cardmagic
cardmagic merged commit 8a04b43 into main Aug 21, 2026
19 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.

1 participant