Skip to content

ci: fix capture-website navigation timeout on Ubuntu 24.04 runners - #13

Merged
ccamel merged 2 commits into
mainfrom
copilot/fix-capture-website-job-again
Jul 18, 2026
Merged

ci: fix capture-website navigation timeout on Ubuntu 24.04 runners#13
ccamel merged 2 commits into
mainfrom
copilot/fix-capture-website-job-again

Conversation

Copilot AI commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

The capture-website workflow consistently hits Navigation timeout of 120000 ms exceeded when screenshotting surface.axone.xyz with Chromium on Ubuntu 24.04 runners.

Root causes

  • headless: "new" is invalid in puppeteer v22+ — removed in favour of headless: true. The bundled puppeteer@23.11.1 accepts it via a compatibility shim, but the behaviour is undefined.
  • Missing --disable-dev-shm-usage — Ubuntu 24.04 runners cap /dev/shm at 64 MB. Chromium uses shared memory for browser↔renderer IPC; when a heavy SPA exhausts that limit the renderer crashes silently, the page never fires the load event, and the navigation times out.

Changes

  • .github/workflows/capture-website.yml: update --launch-options to use headless: true and add --disable-dev-shm-usage to the Chrome args:
-  --launch-options='{"headless":"new","args":["--no-sandbox"]}' \
+  --launch-options='{"headless":true,"args":["--no-sandbox","--disable-dev-shm-usage"]}' \

@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
surface Ready Ready Preview, Comment Jul 18, 2026 10:17am

Two root causes for the `Navigation timeout of 120000 ms exceeded` error:

1. `headless: "new"` is deprecated in puppeteer v22+ and removed in v23+;
   the correct value is now `true` (new headless mode).
2. Missing `--disable-dev-shm-usage` — GitHub Actions Ubuntu 24.04 runners
   cap /dev/shm at 64 MB; Chromium renderer processes crash silently when
   that limit is hit, causing the page navigation to hang and time out.
Copilot AI changed the title [WIP] Fix failing GitHub Actions job capture-website ci: fix capture-website navigation timeout on Ubuntu 24.04 runners Jul 18, 2026
Copilot AI requested a review from ccamel July 18, 2026 10:17
@ccamel
ccamel marked this pull request as ready for review July 18, 2026 10:19

@ccamel ccamel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ccamel
ccamel merged commit 6468ef5 into main Jul 18, 2026
8 of 9 checks passed
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.

2 participants