chore: drop Playwright browser layers from the CI image #39

Open
opened 2026-05-22 03:20:15 +00:00 by gravityfargo · 0 comments
Owner

Context

The athena-archive-ci image bakes Playwright's chromium / headless-shell / ffmpeg into /opt/ms-playwright (with PLAYWRIGHT_BROWSERS_PATH set in the image ENV) so the frontend's accessibility crawl could run without downloading browsers at CI time.

The frontend (ModernLeft/athena-archive) is removing all Playwright / headless-Chrome testing — vitest becomes the only test runner. Dockerfile.test and .forgejo/workflows/* no longer run playwright install or any browser-based step.

Proposed change

Drop the Playwright browser layers (and PLAYWRIGHT_BROWSERS_PATH ENV / /opt/ms-playwright) from the CI image. node + pnpm stay; the chromium system libs and the baked browser set are now dead weight and inflate the image.

Sequencing

The frontend's Playwright-removal change is not yet merged. Land it on ModernLeft/athena-archive first — its current build.yml still calls playwright install against the baked browsers. Slimming the image before that merges would break frontend CI.

Acceptance criteria

  • CI image no longer bundles Playwright browsers (/opt/ms-playwright).
  • ModernLeft/athena-archive CI (checks.yml, test.yml, build.yml) passes on the slimmed image.
  • Image size measurably reduced.
## Context The `athena-archive-ci` image bakes Playwright's chromium / headless-shell / ffmpeg into `/opt/ms-playwright` (with `PLAYWRIGHT_BROWSERS_PATH` set in the image ENV) so the frontend's accessibility crawl could run without downloading browsers at CI time. The frontend (`ModernLeft/athena-archive`) is removing all Playwright / headless-Chrome testing — `vitest` becomes the only test runner. `Dockerfile.test` and `.forgejo/workflows/*` no longer run `playwright install` or any browser-based step. ## Proposed change Drop the Playwright browser layers (and `PLAYWRIGHT_BROWSERS_PATH` ENV / `/opt/ms-playwright`) from the CI image. node + pnpm stay; the chromium system libs and the baked browser set are now dead weight and inflate the image. ## Sequencing The frontend's Playwright-removal change is **not yet merged**. Land it on `ModernLeft/athena-archive` first — its current `build.yml` still calls `playwright install` against the baked browsers. Slimming the image before that merges would break frontend CI. ## Acceptance criteria - [ ] CI image no longer bundles Playwright browsers (`/opt/ms-playwright`). - [ ] `ModernLeft/athena-archive` CI (`checks.yml`, `test.yml`, `build.yml`) passes on the slimmed image. - [ ] Image size measurably reduced.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ModernLeft/athena-archive-ci-image#39
No description provided.