Skip to content

ci: add per-job timeout-minutes to every workflow job - #2

Merged
AminDhouib merged 1 commit into
mainfrom
ci/track7/hygiene
Sep 16, 2026
Merged

AminDhouib merged 1 commit into
mainfrom
ci/track7/hygiene

Conversation

@AminDhouib

Copy link
Copy Markdown
Member

No job in this repository declared timeout-minutes, so a wedged step
could hold a runner until the 6 h Actions default. Each job now carries
an explicit ceiling. The rule is 3 x the observed p90 duration rounded
up to the nearest 5 minutes; every job below was unobserved in the 72 h
of run history, so each takes its class default.

.github/workflows/ci.yml
build-and-import 30 class default (build)
lint 15 class default (lint)
spec-parity 20 class default (unit-test)
test 20 class default (unit-test)
typecheck 15 class default (typecheck)

.github/workflows/publish.yml
build-and-publish 30 class default (build)

.github/workflows/smoke.yml
smoke 20 class default (unit-test)

.github/workflows/spec-drift.yml
check 30 class default (other)

No concurrency edit was planned for this repository.
ci.yml already declares group: ci-${{ github.ref }}, cancel-in-progress: true.

Part of the CI pool right-sizing programme; edits derived from 72 h of run history.

No job in this repository declared timeout-minutes, so a wedged step
could hold a runner until the 6 h Actions default. Each job now carries
an explicit ceiling. The rule is 3 x the observed p90 duration rounded
up to the nearest 5 minutes; every job below was unobserved in the 72 h
of run history, so each takes its class default.

.github/workflows/ci.yml
  build-and-import      30  class default (build)
  lint                  15  class default (lint)
  spec-parity           20  class default (unit-test)
  test                  20  class default (unit-test)
  typecheck             15  class default (typecheck)

.github/workflows/publish.yml
  build-and-publish     30  class default (build)

.github/workflows/smoke.yml
  smoke                 20  class default (unit-test)

.github/workflows/spec-drift.yml
  check                 30  class default (other)

No concurrency edit was planned for this repository.
ci.yml already declares group: ci-${{ github.ref }}, cancel-in-progress: true.
@AminDhouib
AminDhouib merged commit b0163b0 into main Sep 16, 2026
8 checks passed
@AminDhouib
AminDhouib deleted the ci/track7/hygiene branch September 16, 2026 00:26
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