Skip to content

ci(frontend): install only Playwright's browser, not the apt font packages - #82

Merged
OfficialAbhinavSingh merged 1 commit into
mainfrom
ci/playwright-browser-only
Nov 6, 2026
Merged

OfficialAbhinavSingh merged 1 commit into
mainfrom
ci/playwright-browser-only

Conversation

@OfficialAbhinavSingh

Copy link
Copy Markdown
Member

Frontend CI on main has timed out twice for #80's merge commit (ead14d2), so #80 hasn't deployed.

The slow step is npx playwright install --with-deps chromium. --with-deps apt-installs nine font packages (21.9 MB, CJK fonts and unifont). The Azure Ubuntu mirror served them at 40 kB/s, which took 8 min 56 s. Usually the whole step takes about 16 s. On the first attempt the job timed out before e2e started; on the second, e2e got 3 of the 4–5 minutes it needs.

None of those fonts is used. The app bundles its own fonts, no e2e test compares pixels, and the browser's shared libraries are already on ubuntu-latest (a fast run installs only these nine packages).

  • Install the browser only: npx playwright install chromium.
  • That step gets its own 5-minute cap, so a stalled download fails fast.
  • The job timeout goes from 15 to 25 minutes.

This PR's own frontend CI is the check that e2e passes without the font packages.

…kages

--with-deps also apt-installs nine font packages (21.9 MB) that no test needs: the app bundles its own
fonts and no test compares pixels, and the browser's libraries are already on the runner. On
2026-11-06 that download from the Azure Ubuntu mirror ran at 40 kB/s (8 min 56 s), and the job hit its
15-minute timeout twice on main, so #80 never deployed. The install step now has its own 5-minute cap
and the job 25 minutes.
@github-project-automation github-project-automation Bot moved this to Backlog in Kanban Nov 6, 2026
@OfficialAbhinavSingh
OfficialAbhinavSingh merged commit 35d0ae3 into main Nov 6, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Kanban Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant