chore: drop Playwright browser layers from the CI image #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The
athena-archive-ciimage bakes Playwright's chromium / headless-shell / ffmpeg into/opt/ms-playwright(withPLAYWRIGHT_BROWSERS_PATHset 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 —vitestbecomes the only test runner.Dockerfile.testand.forgejo/workflows/*no longer runplaywright installor any browser-based step.Proposed change
Drop the Playwright browser layers (and
PLAYWRIGHT_BROWSERS_PATHENV //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-archivefirst — its currentbuild.ymlstill callsplaywright installagainst the baked browsers. Slimming the image before that merges would break frontend CI.Acceptance criteria
/opt/ms-playwright).ModernLeft/athena-archiveCI (checks.yml,test.yml,build.yml) passes on the slimmed image.