Skip to content

CI: the remaining workflow files have no timeout-minutes on any job — an unbounded stall is invisible, not just slow #1509

Open

Description

@amrmelsayed

Problem

#1502 bounded every job in .github/workflows/test.yml with timeout-minutes after an
unbounded job stalled for hours on an apt-get update inside playwright install --with-deps,
blocking merges and leaving main's Tests run unconcluded for ~3 hours.

The remaining workflow files were not touched and carry no timeout-minutes, so any job in them
inherits GitHub's 6-hour default. The same class of stall — a network fetch with no client-side
timeout, an apt lock, a process that fails to exit — would present identically: a job pending for
hours that reads as "still running" rather than "broken".

Why it matters even though nothing has failed there yet

The failure mode is not a slow job. It is that an unbounded stall is invisible: it never
concludes, so it never reports, and a branch with a stalled run still shows earlier green runs and
reads as healthy. That is precisely how #1502 went unnoticed — main had no Tests conclusion for
three hours while looking fine.

An unbounded job is therefore a monitoring gap rather than only a latency risk.

Requirement

Give every job in the remaining workflow files a timeout-minutes bound, sized from that job's
observed healthy duration with generous headroom (#1502 used roughly 3–4x).

Extend #1502's regression test — which parses test.yml and asserts each job has a bound greater
than zero and below GitHub's 360-minute default — to cover these workflows too, so a job added later
without a bound fails the suite rather than inheriting the six-hour silence.

Notes

Sizing must come from observed healthy runs, not from an assumed figure. During #1502 an earlier
note quoted a baseline roughly four times too low; a timeout set from it would have fired on healthy
runs and converted a rare stall into a routine failure.

Raised by the Claude consultation lane during #1502's review and deliberately kept out of that PR
rather than growing its scope.

Acceptance criteria

  • Every job in every workflow file carries a timeout-minutes bound.
  • Each bound is justified by that job's observed healthy duration.
  • The #1502 workflow-timeout test covers all workflow files, not only test.yml.

Activity

  1. added
    area/core
    on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions