Skip to content

Give the docs deploy room to finish - #40

Merged
mbakalarski merged 1 commit into
mainfrom
fix-docs-deploy-timeout
Aug 6, 2026
Merged

Give the docs deploy room to finish#40
mbakalarski merged 1 commit into
mainfrom
fix-docs-deploy-timeout

Conversation

@mbakalarski

Copy link
Copy Markdown
Member

PR #39 merged with both checks green, and its docs change never reached the
published site
. https://netclab.dev/netclab-xp/install/ still links to the
Releases page.

The deploy job was cancelled at 10m03s against timeout-minutes: 10:

deploy to Pages: cancelled  startedAt=12:36:09Z  completedAt=12:46:12Z

The job only waits on GitHub's Pages backend — it does no work this repository
controls — so a cap on it does not bound anything useful, it just discards a
deploy that would have succeeded. Raised to 30.

Measured the same day on netclab.github.io, which runs the same shape of
workflow: 8m04s, a cancellation at 10m00s, then 9m12s. The successful runs
sit just under the cap that killed one, which is why this looked fine until it
was not.

Merging this deploys the pending install.md fix along with it, since
.github/workflows/docs.yml is in the workflow's own paths filter.

🤖 Generated with Claude Code

The deploy job waits on GitHub's Pages backend and does no work of its own,
so nothing here bounds how long it takes. A 10 minute cap killed PR #39's
deploy at 10m03s: the change was merged, every check was green, and the
published page kept serving the old content with nothing to indicate why.

Measured the same day on netclab.github.io, which runs the same shape of
workflow: 8m04s, a cancellation at 10m00s, then 9m12s. The successful runs
sit just under the cap that killed one, which is how this stays invisible
until it is not.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mbakalarski
mbakalarski merged commit 4551916 into main Aug 6, 2026
3 checks passed
@mbakalarski
mbakalarski deleted the fix-docs-deploy-timeout branch August 6, 2026 12:49
mbakalarski added a commit that referenced this pull request Aug 6, 2026
PR #40 raised the deploy job to 30 minutes and the very next deploy still
failed at 10m10s. The cap that fired was the action's, not the job's:
deploy-pages takes a `timeout` input, defaults it to 600000 ms, and polls
until then. Two independent ten-minute limits, so raising one moved the
failure by ten seconds.

The consequence is worse than a red run. On timeout the action cancels the
deployment, and the deployment is keyed by commit SHA -- so re-running that
workflow creates a deployment for the same SHA, is handed the cancelled
state, and fails in ten seconds with "Deployment cancelled." Observed
exactly that. A merged docs change then cannot be published at all without
a new commit, which is why this one exists.

Set to 20 minutes, deliberately under the job's 30, so the action times out
and reports instead of being killed mid-flight.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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