chore(ci): add parallel production browser tests - #893
Draft
MikaelSiidorow wants to merge 1 commit into
Draft
MikaelSiidorow wants to merge 1 commit into
MikaelSiidorow wants to merge 1 commit into
Conversation
MikaelSiidorow
force-pushed
the
ci-smoke-test
branch
from
September 17, 2026 05:12
512676c to
87638a1
Compare
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.
Description
Adds a separate Playwright workspace covering landing-page redirects, seeded pages, desktop and mobile navigation, language switching, images, and media delivery in Chromium, Firefox, and WebKit.
CI runs static checks, a browser matrix against the production Node build, and the Docker build concurrently. Each browser job seeds one MongoDB/Azurite stack shared by its parallel tests. The Docker job uses only curl to check health and bundled-image optimization. Publishing and deployment wait for all checks.
The Dockerfile prunes before installing and ships Next.js standalone output, including Sharp's native libraries. This removes the production dependency reinstall and reduces the local image from 1.69 GB to 300 MB. Cache export uses
mode=min: the previousmode=maxupload took 5m 12s, while reinstalling production dependencies took another 2m 11s.Related: #615.
Validation
The updated CI run passed in 3m 04s end-to-end. The Docker job dropped from 22m 43s to 2m 38s; the image build step dropped from 10m 16s to 2m 10s. All three browser matrix jobs passed.