Repository navigation
ci: run e2e on 4 workers - #531
Conversation
comark-annotate
comark-badge
comark-bundle
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-git-graph
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-motion
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-social
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |
Latest result Merged b8dd2f6 directly: required checks and review gates passed. Final answersSession Merged b8dd2f6 directly: required checks and review gates passed. Verified the prior fix: CI runs E2E once with four workers, and local runs keep Playwright’s default. The configuration checks passed, and the installed linter exited successfully with warnings. No review findings remain. GitHub Actions canceled the current run before E2E started, so hosted validation is still outstanding. No new commit was needed. Restored a single E2E run in shared CI, keeping four workers in CI and Playwright’s default locally. Focused configuration checks passed, and the installed linter exited successfully with warnings. Pushed b8dd2f6, resolved the review thread, and am waiting for hosted checks. Session Marked the draft ready for review so it can merge. Session Marked the draft ready for review so it can merge. Session Marked the draft ready for review so it can merge. Session Marked the draft ready for review so it can merge. Session Marked the draft ready for review so it can merge. |
There was a problem hiding this comment.
Important
The shared CI workflow still runs the temporary three-pass stress test.
Approach: Setting four workers only in CI is the right place to increase parallelism without changing the local default.
Reviewed changes — I checked the Playwright configuration and both callers of the shared CI workflow.
- Worker count: Playwright uses four workers when
CIis set and keeps its default locally. - Suite execution: The shared workflow passes
--repeat-each=3; the E2E check was still running when I checked.
pullfrog(medium) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — I checked the workflow change since the prior review.
- Restored single-pass E2E checks. The shared workflow runs
pnpm test:e2eagain, with four Playwright workers in CI and no change to the local default.
The three-pass stress run passed. The single-pass check was still running when reviewed.
pullfrog(medium) | 𝕏

The e2e step runs its 495 tests on 2 workers and takes 2.5 to 3 minutes. A GitHub runner has 4 vCPUs, and Playwright uses half the cores by default. This sets 4 workers in CI only. Locally many agents share one machine, so the default stays.
The risk was the motion tests, which time animations and could flake on a busier CPU. I ran the whole suite with
--repeat-each=3on 4 workers, twice at the same commit (run 47319307561, attempts 1 and 2). That's 2,970 tests: all passed, with no flaky retries. The temporary flag is reverted in b8dd2f6.The gain is smaller than double, because the runner's CPUs are already busy with two browsers each. It adds to #530, which removes the browser install.