Repository navigation
ci(frontend): install only Playwright's browser, not the apt font packages - #82
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-depsapt-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).npx playwright install chromium.This PR's own frontend CI is the check that e2e passes without the font packages.