Skip to content

ci(book): bound the book workflow's two jobs - #814

Merged
nihalpasham merged 1 commit into
NVIDIA:mainfrom
vyncint:ci/book-job-timeouts
Aug 12, 2026
Merged

nihalpasham merged 1 commit into
NVIDIA:mainfrom
vyncint:ci/book-job-timeouts

Conversation

@vyncint

@vyncint vyncint commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Every job in every other workflow carries timeout-minutes. book.yml's two
were the only unbounded ones in the repo — I checked all ten workflows by parsing
them, not by grepping, because a naive grep also counts push: / pull_request:
under on: and inflates the number badly.

An unbounded job that hangs — a wedged pip install, a sphinx-build that never
returns, a Pages deployment waiting on an API that never answers — runs to
GitHub's 6-hour default instead of failing, holding a runner and telling
nobody.

job bound why
build 15 min a pip install and one sphinx-build; settles in ~2 today, so this is generous enough not to trip on a slow runner
deploy 10 min one deploy-pages action waiting on the Pages API

The build job is the one I added in #744, and I left the bound off it — so
this is mine to tidy rather than a find. deploy predates that.

Verification

  • With these two, no job in any workflow lacks a bound (uses: reusable
    calls excepted, where the timeout belongs to the callee — that is why ci.yml
    is correctly absent from the list).
  • book.yml still parses as YAML, both jobs reporting the intended values.

Every job in every other workflow carries `timeout-minutes`; `book.yml`'s
two were the only unbounded ones in the repo. An unbounded job that hangs
-- a wedged `pip install`, a `sphinx-build` that never returns, a Pages
deployment waiting on an API that never answers -- runs to GitHub's 6-hour
default instead of failing, holding a runner and telling nobody.

`build` is 15 minutes: a pip install and one sphinx-build, which settles in
about two today, so the bound is generous enough not to trip on a slow
runner. `deploy` is 10, since it is one `deploy-pages` action waiting on
the Pages API.

The `build` job is the one I added in NVIDIA#744 and I left the bound off it,
so this is mine to tidy. `deploy` predates that.

Verified: with these two, no job in any workflow lacks a bound
(`uses:` calls excepted, where the timeout belongs to the callee), and
book.yml still parses as YAML.

Signed-off-by: Vyncint Ng <[email protected]>
@nihalpasham nihalpasham added build-related Build scripts, toolchain discovery, or compilation setup QoL-improvement Quality-of-life improvement; not a correctness fix labels Aug 12, 2026
@nihalpasham

Copy link
Copy Markdown
Collaborator

Gist: the last two unbounded jobs in the repo. Every other normal job already carries a 5-75 minute bound, and ci.yml's four are reusable-workflow calls that can't take the key.

Verified here:

  • applies cleanly; parses to build=15 / deploy=10;
  • deploy-pages@v4's internal 10-minute default makes the deploy bound a benign collision, fine as documentation.

Landing once CI is green.

@nihalpasham
nihalpasham merged commit 1d89f09 into NVIDIA:main Aug 12, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-related Build scripts, toolchain discovery, or compilation setup QoL-improvement Quality-of-life improvement; not a correctness fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants