mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6573] [Feature]: Shard the browser regression lanes further so no shard sits at the 30-minute limit #3686
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#3686
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 (Sep 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6573
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Every browser lane of the Release Regression Matrix (
desktop-chromium,mobile-chromium,mobile-webkit) now has its slowest shard at 27 to 29 minutes, against a 30-minute job timeout. On the last five runs (staging pushes and PRs alike),desktop-chromium 4/4took 28 to 29 minutes every time, and on #6572 it passed all 129 tests in 29.4 minutes and was then cancelled by the timeout a few seconds later. So:Proposed solution
Shard desktop Chromium and mobile WebKit 10 ways and mobile Chromium 8 ways, instead of 4 each (
.github/workflows/playwright.yml). Measured, not guessed: I took every test's duration from the last green run (35871966882, 520 tests per lane) and split them the way--fully-parallel --sharddoes (contiguous, equal test counts), adding the measured ~2 minutes of setup and server boot per shard. That model reproduces today's slowest shards (30 / 28 / 29 min predicted against 29 / 27 / 28 observed). Its prediction:So 10 / 8 / 10 puts the slowest shards at about 14 / 16 / 17 minutes: PR browser checks finish in about 17 minutes instead of about 30, and the 30-minute timeout is a real hang guard again. 6 gains little because the slowest spec files sit together at the end of the list.
Cost: the repository is public, so runner minutes are free. Each extra shard repeats about 2 minutes of setup. A run peaks at about 30 concurrent jobs against the Team plan's 60, so two PR runs at once still fit; a third would queue briefly rather than fail.
Nothing else pins the count: the three fan-in checks keep their names, and none of the browser lanes is a required status check on
staging.Alternatives considered
--shard; balancing by hand would mean maintaining a--test-listper shard.--workers=1on purpose, because tests share that shard's app servers (#5622).Additional context
Follow-up to the sharding in #5622 and #5637.
Template check