mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5637] Trim browser-lane wall time further: per-shard server gating and a fourth webkit shard #3120
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3120
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?
Originally created by @kolacheee on GitHub (Aug 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5637
Originally assigned to: @kolacheee on GitHub.
What happens
Even after #5622's sharding, browser lanes can take ~10 minutes. The breakdown per shard job is ~2–3 min fixed setup, ~1–1.5 min app-server boot, and ~5–6 min of tests — sharding only divides the last chunk. Two further cuts, both approved for implementation (a third idea — caching node_modules directly and skipping the
--with-depsapt step on browser-cache hits — is deliberately deferred unless lanes still feel slow after these two):1. Boot only the server pair the shard actually uses (~30–60s per shard, no behavior risk).
e2e/start-servers.mjsunconditionally boots BOTH the desktop pair (5178/7971) and the mobile pair (5179/7972), but each Playwright project only ever talks to one of them. Plan: aPLAYWRIGHT_ONLY_PROJECT=desktop|mobileenv var — when set,start-servers.mjsboots just that pair, andplaywright.config.tspoints the webServer readiness URL at that pair's client port. Unset (local runs) keeps today's boot-both behavior verbatim. The CI shard jobs pass the value matching their project.2. Per-lane shard counts — raise the slowest lane.
The matrix wall time is the slowest single shard, and mobile-webkit is consistently the slow lane (WebKit-on-Linux). The shard matrix is already per-lane, so webkit goes from 3 to 4 shards while both chromium lanes stay at 3. Expected webkit wall: ~17–18 min of tests / 4 + reduced overhead ≈ 7–8 min.
Constraints carried over from #5622
desktop-chromium,mobile-chromium,mobile-webkit) for branch protection; only shard-job names change (mobile-webkit 1/4, …).--fully-parallel --workers=1sharding invocation and the skip gate are untouched.e2e/).Follow-up to #5622.