Skip to content

ci: Playwright's system libraries come from the pool image, not from apt in each desk-web job - #779

Merged
SSFSKIM merged 1 commit into
masterfrom
ci-opt/playwright-deps-in-image
Nov 19, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
ci-opt/playwright-deps-in-image

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 19, 2026

Copy link
Copy Markdown
Owner

What changes

  • .github/ci-kit.yml: the apt list gains the 71 libraries Playwright 1.63 lists for Chromium and WebKit on Ubuntu 24.04, and the install line warms chromium webkit. ci-kit bakes a repository's declared packages into its pool image, so a job finds them present.
  • .github/workflows/gate.yml: the desk-web step runs playwright install chromium webkit without --with-deps.

Why

--with-deps runs apt against archive.ubuntu.com in every desk-web job. On 2026-11-19 two pool runners got about 80 kB/s from the archive with per-file timeouts: run 44472434480's desk-web spent 30 minutes in that step and was cancelled at the job's timeout (06:29:44Z to 06:59:31Z), and a second runner did the same at 07:04Z. With the libraries in the image the step needs no network beyond the browser download, which the image also holds.

Evidence

Run 44486328066 at this head (static, unit, probes, e2e:desk-web on the pool): green. In its desk-web job the playwright install step took 1 s (08:19:15Z to 08:19:16Z), and the whole job 7 min 35 s.

Until the pool image is rebaked with this list, ci-kit's setup step installs the missing libraries by apt at each job's start (about 55 s in that run); after the rebake it finds them present. The image is a cache: a stale one is slower, and it fails only when the archive itself is unreachable, which is the case this change removes from the steady state.

Not changed

The browsers Playwright uses, the desk-web suite, and every other job.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

The desk-web job ran `playwright install --with-deps chromium webkit`,
which ran apt-get update and installed 211 packages (134 MB) from
archive.ubuntu.com on every run: about 30 s from a fast mirror, and
30 min when the archive slowed, which cancelled e2e:desk-web at its
timeout in run 44472434480 (06:29-06:59Z on 11-19).

ci-kit.yml's apt list now names the libraries Playwright 1.63 lists for
Chromium and WebKit on Ubuntu 24.04, so the pool's image carries them
and setup checks their presence; the job installs only the browsers.
The install line also warms WebKit's browser into the image.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T08:28:25.841722Z 55f4887 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit a50878c into master Nov 19, 2026
@SSFSKIM
SSFSKIM deleted the ci-opt/playwright-deps-in-image branch November 19, 2026 08:27
@SSFSKIM

SSFSKIM commented Nov 19, 2026

Copy link
Copy Markdown
Owner Author

Landed on master as a50878c (tree equals the PR head; gate run 44486328066 on the same tree).

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)

SSFSKIM added a commit that referenced this pull request Nov 19, 2026
…e and DL163, #782 stopped rows, #779, #763, #765, #768)

Conflicts, each kept both sides:
- src/renderer/src/shell/DocumentSessionSpace.tsx: U10b's bar room (useBarRoom, --float-bar-room on the root) and ticket
  760's measure on [requested, enabled] with data-document-session-width; the root carries both the attribute and the style.
- src/renderer/src/shell/DocumentSessionSpace.test.tsx: U10b's bar-room case, then ticket 760's column-in-the-floating-render case.
- docs/tech-debt-tracker.md: the union's rows, then master's two of 2026-11-19 (master's removal of the anchoring row kept).
The wire is unchanged on master: WIRE_MINOR stays 57.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
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