[PR #8891] [MERGED] test(e2e): three CI WebKit failures on the v2.5.2 matrix #8867

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/8891
Author: @SpicyMarinara
Created: 11/5/2026
Status: ✅ Merged
Merged: 11/5/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/v252-game-accent-tests


📝 Commits (2)

  • c2a2b46 test(e2e): three CI WebKit failures on the v2.5.2 promotion matrix
  • 13d8af6 Merge branch 'staging' into fix/v252-game-accent-tests

📊 Changes

3 files changed (+16 additions, -3 deletions)

View changed files

📝 e2e/accent-pulse.e2e.ts (+3 -0)
📝 e2e/game-world-interiors.e2e.ts (+3 -1)
📝 e2e/gpt-image-2-5.e2e.ts (+10 -2)

📄 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). The last PR for the matrix closes it.

Why this change

The full browser matrix on the v2.5.2 promotion (#8878) failed these three tests on mobile-webkit. Each was traced to a test that raced the page or ran out of time on slow CI WebKit, not to an app bug.

What changed

  • game-world-interiors :55:
    • The interior's people are placed only after its ResizeObserver reports a size (TownInterior.tsx). Until then they sit left of the region. The CI snapshot shows the first one at left: -64px when the click started and at left: 133px 18 ms later.
    • The click used force: true, which skips Playwright's viewport wait, so it failed with "outside of the viewport". It's no longer forced.
    • An app change was considered and dropped. Users can't notice the state, because the buttons are invisible hit targets and the canvas doesn't draw until the size is known.
  • gpt-image-2-5 :17:
    • save() checks the server and then reloads. In the CI trace the reload came 19–42 ms after the app's own post-save refetches started, and WebKit reports each cut-off request as an "access control checks" page error. That matches the four URLs in the failure.
    • The test now waits for page fetches to settle before each reload, using the existing trackPageFetches / waitForPageFetchesToSettle helpers.
  • accent-pulse :37:
    • In the CI trace, each of about 11 clicks waits 2.3–4.2 s for a stable frame and then succeeds first time. The dark run took 59.8, 66.0 and 60.0 s on three different runners against a 60 s limit, so it gets 120 s.
    • A local probe found no running animations on Appearance with Pulse off, and frames at 60 fps at every step.

Not changed: game-turn-macros :130 and core-flows' Game widget Chroma test also failed once, in run 42053259370. Both CI traces show Linux WebKit stop painting within half a second of the weather worker starting, so no click could get a stable frame. Both passed in the two later full runs, and macOS WebKit keeps 60 fps on the same worker path, so there's no test race to make deterministic. #8887 tracks it.

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 the e2e tests change.

Agent-run checks:

  • mobile-webkit, --repeat-each=3: accent-pulse :37 (dark and light), game-world-interiors :55 and gpt-image-2-5 :17, 12 of 12 passed.
  • Harnesses that make each race happen every time: one delays the interior's first size report by 1.5 s, one delays /api/connection-accounts by 1.5 s. Unfixed: 6 of 6 failed with the CI errors. Fixed: 6 of 6 passed.
  • mobile-chromium and desktop-chromium, the same three specs: 8 of 8 passed.
  • Client and server tsc --noEmit, check:e2e-types and Prettier on the three files: 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/8891 **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-game-accent-tests` --- ### 📝 Commits (2) - [`c2a2b46`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c2a2b46a1d11394acafe5385f75a835d58e812a2) test(e2e): three CI WebKit failures on the v2.5.2 promotion matrix - [`13d8af6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/13d8af67e0f063ca61716f27c8958effd25c4378) Merge branch 'staging' into fix/v252-game-accent-tests ### 📊 Changes **3 files changed** (+16 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `e2e/accent-pulse.e2e.ts` (+3 -0) 📝 `e2e/game-world-interiors.e2e.ts` (+3 -1) 📝 `e2e/gpt-image-2-5.e2e.ts` (+10 -2) </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). The last PR for the matrix closes it. ## Why this change The full browser matrix on the v2.5.2 promotion (#8878) failed these three tests on mobile-webkit. Each was traced to a test that raced the page or ran out of time on slow CI WebKit, not to an app bug. ## What changed - **game-world-interiors :55:** - The interior's people are placed only after its `ResizeObserver` reports a size (`TownInterior.tsx`). Until then they sit left of the region. The CI snapshot shows the first one at `left: -64px` when the click started and at `left: 133px` 18 ms later. - The click used `force: true`, which skips Playwright's viewport wait, so it failed with "outside of the viewport". It's no longer forced. - An app change was considered and dropped. Users can't notice the state, because the buttons are invisible hit targets and the canvas doesn't draw until the size is known. - **gpt-image-2-5 :17:** - `save()` checks the server and then reloads. In the CI trace the reload came 19–42 ms after the app's own post-save refetches started, and WebKit reports each cut-off request as an "access control checks" page error. That matches the four URLs in the failure. - The test now waits for page fetches to settle before each reload, using the existing `trackPageFetches` / `waitForPageFetchesToSettle` helpers. - **accent-pulse :37:** - In the CI trace, each of about 11 clicks waits 2.3–4.2 s for a stable frame and then succeeds first time. The dark run took 59.8, 66.0 and 60.0 s on three different runners against a 60 s limit, so it gets 120 s. - A local probe found no running animations on Appearance with Pulse off, and frames at 60 fps at every step. Not changed: `game-turn-macros :130` and core-flows' Game widget Chroma test also failed once, in run 42053259370. Both CI traces show Linux WebKit stop painting within half a second of the weather worker starting, so no click could get a stable frame. Both passed in the two later full runs, and macOS WebKit keeps 60 fps on the same worker path, so there's no test race to make deterministic. #8887 tracks it. ## 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 the e2e tests change. Agent-run checks: - mobile-webkit, `--repeat-each=3`: accent-pulse :37 (dark and light), game-world-interiors :55 and gpt-image-2-5 :17, 12 of 12 passed. - Harnesses that make each race happen every time: one delays the interior's first size report by 1.5 s, one delays `/api/connection-accounts` by 1.5 s. Unfixed: 6 of 6 failed with the CI errors. Fixed: 6 of 6 passed. - mobile-chromium and desktop-chromium, the same three specs: 8 of 8 passed. - Client and server `tsc --noEmit`, `check:e2e-types` and Prettier on the three files: 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#8867
No description provided.