[PR #8893] [MERGED] test(e2e): Background library test gets 180 s on WebKit #8868

Closed
opened 2026-11-07 17:40:20 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8893
Author: @SpicyMarinara
Created: 11/5/2026
Status: ✅ Merged
Merged: 11/5/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/v252-background-library


📝 Commits (2)

  • 1b4d466 test(e2e): give the Background library test 180 s on WebKit
  • 0730479 Merge branch 'staging' into fix/v252-background-library

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+5 -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

Refs #8887 (the v2.5.2 promotion's browser-matrix failures).

Why this change

"Background library organization works with desktop drag and touch drag" timed out on mobile-webkit in both full matrix runs on #8878, and in every nightly since Oct 23. Nothing is wrong in the app or the test: CI's WebKit got much slower at drawing these screens.

  • The browser changed: Playwright 1.64.1 (#8074, merged between the Oct 22 and Oct 23 nightlies) ships Linux WebKit r2370, which composites backdrop-filter slowly. Upstream reports: microsoft/playwright#43426 and WebKit 327701, fixed upstream on Oct 18 but not yet in Playwright's build.
  • This test's history: it passed in 23.9–31.1 s with r2359 and has timed out at 60 s since r2370.
  • Only some screens slowed: across those two nightlies the median mobile-webkit test barely changed (×1.05 over 848 tests), while tests that open Settings on a phone or the Background Library slowed ×2.5–3.3. Mobile-chromium didn't slow.
  • The CI trace: each click's two-frame stability wait goes from 0.3–0.4 s to 2.4–2.8 s once Appearance opens, about one frame per 1.2 s. Page scripts stayed fast (30–90 ms per evaluate or fill), so the time is compositing, not app code.
  • A budget, not a hang: the failing click had already found Unfiled and was waiting for a stable box when 60 s ran out. The remaining steps add up to about 95 s.

What changed

  • On WebKit only, this test gets test.setTimeout(180_000). That holds up to about 2.3 s per frame.
  • It's marked ponytail: with the cause and the numbers, to be dropped once Playwright's WebKit has the fix for 327701.
  • No assertion changes.

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

  • Nothing to verify in the app: only an e2e test's time budget changes.

Agent-run checks:

  • CI's frame rate emulated locally (150 ms of main-thread work per frame from Appearance on): without the budget, the test fails at 60 s one click before where CI failed; with it, it passes in 1.7 min.
  • mobile-webkit --repeat-each=3: 3 passed. mobile-chromium and desktop-chromium: passed.
  • Client and server tsc --noEmit, check:e2e-types and Prettier on the file: pass.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) 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)

🤖 Generated with Claude Code


🔄 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/8893 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/5/2026 **Status:** ✅ Merged **Merged:** 11/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/v252-background-library` --- ### 📝 Commits (2) - [`1b4d466`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1b4d466445aeb48b6eda44167a05b4b887355f0d) test(e2e): give the Background library test 180 s on WebKit - [`0730479`](https://github.com/Pasta-Devs/Marinara-Engine/commit/073047975fcba68f7600086ebe4198d64bbe78f2) Merge branch 'staging' into fix/v252-background-library ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+5 -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`. ## Linked issue Refs #8887 (the v2.5.2 promotion's browser-matrix failures). ## Why this change "Background library organization works with desktop drag and touch drag" timed out on mobile-webkit in both full matrix runs on #8878, and in every nightly since Oct 23. Nothing is wrong in the app or the test: CI's WebKit got much slower at drawing these screens. - **The browser changed:** Playwright 1.64.1 (#8074, merged between the Oct 22 and Oct 23 nightlies) ships Linux WebKit r2370, which composites `backdrop-filter` slowly. Upstream reports: microsoft/playwright#43426 and WebKit [327701](https://bugs.webkit.org/show_bug.cgi?id=327701), fixed upstream on Oct 18 but not yet in Playwright's build. - **This test's history:** it passed in 23.9–31.1 s with r2359 and has timed out at 60 s since r2370. - **Only some screens slowed:** across those two nightlies the median mobile-webkit test barely changed (×1.05 over 848 tests), while tests that open Settings on a phone or the Background Library slowed ×2.5–3.3. Mobile-chromium didn't slow. - **The CI trace:** each click's two-frame stability wait goes from 0.3–0.4 s to 2.4–2.8 s once Appearance opens, about one frame per 1.2 s. Page scripts stayed fast (30–90 ms per evaluate or fill), so the time is compositing, not app code. - **A budget, not a hang:** the failing click had already found Unfiled and was waiting for a stable box when 60 s ran out. The remaining steps add up to about 95 s. ## What changed - On WebKit only, this test gets `test.setTimeout(180_000)`. That holds up to about 2.3 s per frame. - It's marked `ponytail:` with the cause and the numbers, to be dropped once Playwright's WebKit has the fix for 327701. - No assertion changes. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 - Nothing to verify in the app: only an e2e test's time budget changes. Agent-run checks: - CI's frame rate emulated locally (150 ms of main-thread work per frame from Appearance on): without the budget, the test fails at 60 s one click before where CI failed; with it, it passes in 1.7 min. - mobile-webkit `--repeat-each=3`: 3 passed. mobile-chromium and desktop-chromium: passed. - Client and server `tsc --noEmit`, `check:e2e-types` and Prettier on the file: pass. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) 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) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:40:20 +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#8868
No description provided.