Skip to content

Commit cd1513f

Browse files
committed
ci(docs-deploy): give the measuring step a 5-minute timeout
continue-on-error does not absorb a hang: without a step timeout only the job's 30-minute clock would end it, and the deploy would not run. Claude-Session: https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9d66e03 commit cd1513f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/docs-deploy.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,12 @@ jobs:
201201
# broken measurement must never stop the docs from publishing (the header's
202202
# failure direction is about the PUBLISH going quietly stale; this step
203203
# publishes nothing). A failure still shows as a warning annotation.
204+
# `timeout-minutes` because `continue-on-error` does not absorb a hang:
205+
# without it only the job's clock would end the step, with no deploy. The
206+
# script is synchronous local reads (seconds); 5 minutes is the ceiling.
204207
- name: Measure what this deploy uploads
205208
continue-on-error: true
209+
timeout-minutes: 5
206210
run: |
207211
set -euo pipefail
208212
if ! node apps/docs/scripts/measure-deploy-output.mjs > "$RUNNER_TEMP/deploy-output-reading.txt"; then

0 commit comments

Comments
 (0)