[PR #6574] [MERGED] ci: shard the browser regression lanes 10 / 8 / 10 ways #7231

Closed
opened 2026-10-23 04:17:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6574
Author: @kolacheee
Created: 9/23/2026
Status: ✅ Merged
Merged: 9/23/2026
Merged by: @kolacheee

Base: staging ← Head: ci/shard-browser-lanes-8


📝 Commits (4)

  • 003690f ci: shard the browser regression lanes 8 ways
  • c1e669e ci: shard desktop Chromium and WebKit 10 ways, the slowest lanes
  • 5a00737 docs(changelog): state the CI speed-up as an expectation, not a guarantee
  • 9111a1a Merge remote-tracking branch 'origin/staging' into ci/shard-browser-lanes-8

📊 Changes

2 files changed (+19 additions, -11 deletions)

View changed files

📝 .github/workflows/playwright.yml (+17 -11)
📝 CHANGELOG.md (+2 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #6573

Why this change

  • Every browser lane's slowest shard runs 27 to 29 minutes against the 30-minute job timeout, on staging pushes and PRs alike. PRs wait about 30 minutes for the browser checks.
  • A slightly slow runner is enough to fail a run: on #6572, desktop-chromium 4/4 passed all 129 tests in 29.4 minutes and was then cancelled by the timeout.

What changed

  • desktop-chromium and mobile-webkit run 10 shards and mobile-chromium runs 8, instead of 4 each. The shard action and the fan-in check names are unchanged, and none of these lanes is a required status check.
  • A comment above the shard jobs records the measurement, so the count can be re-checked rather than guessed.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Run by the agent:

  • The workflow parses, and each lane's shard matrix matches its total-shards (10, 8 and 10). actionlint is not installed here. The change is workflow-only, so pnpm check was not run.
  • Measured, not guessed: every test's duration from the last green run (35871966882, 520 tests per lane) split the way --fully-parallel --shard splits, plus ~2 minutes of setup and server boot per shard (measured). The model reproduces today's slowest shards (30 / 28 / 29 min predicted, 29 / 27 / 28 observed) and predicts about 14 / 16 / 17 min at 10 / 8 / 10 shards. The table for 4, 6, 8 and 10 shards, and why tagging tests to run on desktop only was measured and declined, are in #6573.
  • Local CodeRabbit review: no findings.

Please verify:

  • This PR's own Release Regression Matrix run shows 10 desktop Chromium, 8 mobile Chromium and 10 mobile WebKit shards, and the slowest shard finishes in about 17 minutes.
  • The desktop-chromium, mobile-chromium and mobile-webkit fan-in checks still report.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Not applicable: CI configuration only.

Summary by CodeRabbit

  • Maintenance
    • Browser regression checks now run across 10 shards for desktop Chromium, 8 for mobile Chromium, and 10 for mobile WebKit, reducing estimated completion time from about 30 minutes to 17 minutes. The updated shard counts apply to pull-request checks, which now finish well within the 30-minute limit.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6574 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 9/23/2026 **Status:** ✅ Merged **Merged:** 9/23/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `ci/shard-browser-lanes-8` --- ### 📝 Commits (4) - [`003690f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/003690f7dd215099bebc6daf8722be34342948c8) ci: shard the browser regression lanes 8 ways - [`c1e669e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c1e669e9a1ce10959db0f0088acdb3198ecd1d1d) ci: shard desktop Chromium and WebKit 10 ways, the slowest lanes - [`5a00737`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5a00737be37e090b6d0563b3bb0da945b22c04da) docs(changelog): state the CI speed-up as an expectation, not a guarantee - [`9111a1a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9111a1a4cb43433ca2889e0292ccfbdbb76e7287) Merge remote-tracking branch 'origin/staging' into ci/shard-browser-lanes-8 ### 📊 Changes **2 files changed** (+19 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/playwright.yml` (+17 -11) 📝 `CHANGELOG.md` (+2 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #6573 ## Why this change - Every browser lane's slowest shard runs 27 to 29 minutes against the 30-minute job timeout, on staging pushes and PRs alike. PRs wait about 30 minutes for the browser checks. - A slightly slow runner is enough to fail a run: on #6572, `desktop-chromium 4/4` passed all 129 tests in 29.4 minutes and was then cancelled by the timeout. ## What changed - `desktop-chromium` and `mobile-webkit` run 10 shards and `mobile-chromium` runs 8, instead of 4 each. The shard action and the fan-in check names are unchanged, and none of these lanes is a required status check. - A comment above the shard jobs records the measurement, so the count can be re-checked rather than guessed. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Run by the agent: - The workflow parses, and each lane's shard matrix matches its `total-shards` (10, 8 and 10). `actionlint` is not installed here. The change is workflow-only, so `pnpm check` was not run. - Measured, not guessed: every test's duration from the last green run (35871966882, 520 tests per lane) split the way `--fully-parallel --shard` splits, plus ~2 minutes of setup and server boot per shard (measured). The model reproduces today's slowest shards (30 / 28 / 29 min predicted, 29 / 27 / 28 observed) and predicts about 14 / 16 / 17 min at 10 / 8 / 10 shards. The table for 4, 6, 8 and 10 shards, and why tagging tests to run on desktop only was measured and declined, are in #6573. - Local CodeRabbit review: no findings. Please verify: - This PR's own Release Regression Matrix run shows 10 desktop Chromium, 8 mobile Chromium and 10 mobile WebKit shards, and the slowest shard finishes in about 17 minutes. - The `desktop-chromium`, `mobile-chromium` and `mobile-webkit` fan-in checks still report. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Not applicable: CI configuration only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Maintenance** * Browser regression checks now run across 10 shards for desktop Chromium, 8 for mobile Chromium, and 10 for mobile WebKit, reducing estimated completion time from about 30 minutes to 17 minutes. The updated shard counts apply to pull-request checks, which now finish well within the 30-minute limit. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:17:46 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7231
No description provided.