[PR #8876] [MERGED] fix(e2e): the last full-matrix failures follow the current UI #8856

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

📋 Pull Request Information

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

Base: staging ← Head: fix/e2e-matrix-final


📝 Commits (4)

  • 72c417a test(e2e): the last full-matrix failures follow the current UI; Jobs box focus target, Decision picker with no chat models
  • dc5ea75 test(e2e): final matrix review fixes
  • 4250b57 Merge remote-tracking branch 'origin/staging' into fix/e2e-matrix-final
  • 0dcff82 Merge branch 'staging' into fix/e2e-matrix-final

📊 Changes

10 files changed (+307 additions, -89 deletions)

View changed files

📝 e2e/agent-activation-questions.e2e.ts (+225 -71)
📝 e2e/connection-access-home.e2e.ts (+3 -0)
📝 e2e/connection-test-failure.e2e.ts (+3 -0)
📝 e2e/core-flows.e2e.ts (+8 -0)
📝 e2e/mari-open-cached.e2e.ts (+9 -4)
📝 e2e/phone-bubbles.e2e.ts (+17 -5)
📝 e2e/roleplay-commands.e2e.ts (+9 -5)
📝 packages/client/src/components/connections/ConnectionDefaults.tsx (+1 -1)
📝 packages/client/src/components/connections/ConnectionSwitcherBody.tsx (+6 -3)
📝 packages/client/src/components/modals/create-connection/CreateConnectionModalContent.tsx (+26 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.

Linked issue

Closes #8875. Refs #8843.

Why this change

The full Playwright matrix on #8869 (run 42029653525) still failed 11 tests, 20 failures across projects. Promoting staging to main for v2.5.2 needs the full matrix to pass.

What changed

App fixes (from #8456), each shown to fail its test without it:

  • The Connections Jobs box toggle had the wrong data attribute, so after Change in Defaults focus fell to the page instead of returning to the Jobs box.
  • With no chat models listed, the Model for Decision picker dropped its extra rows, so a Decision connection couldn't be picked at all.
  • On phones, that picker's top strip with None was hidden when there were no panes, so decisions couldn't be turned off there.

Tests brought to the current UI:

  • roleplay-commands dice: a roll with a DC now shows the success or failure tone from #8258 instead of the accent colour. Rolls without a DC still check the accent.
  • agent-activation-questions :8 and :343 follow the #8456 Decision picker and the Use this key for decisions flow, as the maintainer chose. Assertions that can no longer hold are named in comments with the PR.
  • Slow on CI WebKit, with no assertion changed:
    • connection-test-failure and connection-access-home get a time budget.
    • phone-bubbles tool reorder is hardened.
    • The core-flows Background library drag and mari-open-cached each had a deterministic test cause, now fixed.
  • The core-flows UI language packs test now waits on the pack download (assertions only added).
  • persona-tts :96 is left unchanged: it fails only in CI's WebKit and didn't reproduce locally in three tries.

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

  • Manually verify that Change in Defaults from a device page returns focus to the Connections Jobs box.
  • Manually verify on a phone that Model for Decision lists your Decision connections and offers None, even when you have no chat models.

Agent-run checks:

  • Every failure was reproduced locally first. Each fix passed with --retries=0 on every project it failed on.
  • Each app fix, reverted on its own, made its test fail.
  • After merging current staging: pnpm check:e2e-types, client tsc --noEmit, pnpm localization:check and Prettier pass.
  • Independent review: 2 findings, both fixed in dc5ea75ce6.

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/8876 **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/e2e-matrix-final` --- ### 📝 Commits (4) - [`72c417a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/72c417a153693e8ec3e42492c09f10fe8f63d7b2) test(e2e): the last full-matrix failures follow the current UI; Jobs box focus target, Decision picker with no chat models - [`dc5ea75`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dc5ea75ce6aba3ce013a2715630f474a12f93dde) test(e2e): final matrix review fixes - [`4250b57`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4250b57d148a866c954d1e131241345a388b9981) Merge remote-tracking branch 'origin/staging' into fix/e2e-matrix-final - [`0dcff82`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0dcff8281922aed5d8a8dc5b6371bf8de774ee29) Merge branch 'staging' into fix/e2e-matrix-final ### 📊 Changes **10 files changed** (+307 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `e2e/agent-activation-questions.e2e.ts` (+225 -71) 📝 `e2e/connection-access-home.e2e.ts` (+3 -0) 📝 `e2e/connection-test-failure.e2e.ts` (+3 -0) 📝 `e2e/core-flows.e2e.ts` (+8 -0) 📝 `e2e/mari-open-cached.e2e.ts` (+9 -4) 📝 `e2e/phone-bubbles.e2e.ts` (+17 -5) 📝 `e2e/roleplay-commands.e2e.ts` (+9 -5) 📝 `packages/client/src/components/connections/ConnectionDefaults.tsx` (+1 -1) 📝 `packages/client/src/components/connections/ConnectionSwitcherBody.tsx` (+6 -3) 📝 `packages/client/src/components/modals/create-connection/CreateConnectionModalContent.tsx` (+26 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. ## Linked issue Closes #8875. Refs #8843. ## Why this change The full Playwright matrix on #8869 (run 42029653525) still failed 11 tests, 20 failures across projects. Promoting staging to `main` for v2.5.2 needs the full matrix to pass. ## What changed App fixes (from #8456), each shown to fail its test without it: - The Connections **Jobs** box toggle had the wrong data attribute, so after **Change in Defaults** focus fell to the page instead of returning to the Jobs box. - With no chat models listed, the **Model for Decision** picker dropped its extra rows, so a Decision connection couldn't be picked at all. - On phones, that picker's top strip with **None** was hidden when there were no panes, so decisions couldn't be turned off there. Tests brought to the current UI: - `roleplay-commands` dice: a roll with a DC now shows the success or failure tone from #8258 instead of the accent colour. Rolls without a DC still check the accent. - `agent-activation-questions` :8 and :343 follow the #8456 Decision picker and the **Use this key for decisions** flow, as the maintainer chose. Assertions that can no longer hold are named in comments with the PR. - Slow on CI WebKit, with no assertion changed: - `connection-test-failure` and `connection-access-home` get a time budget. - `phone-bubbles` tool reorder is hardened. - The core-flows Background library drag and `mari-open-cached` each had a deterministic test cause, now fixed. - The core-flows UI language packs test now waits on the pack download (assertions only added). - `persona-tts` :96 is left unchanged: it fails only in CI's WebKit and didn't reproduce locally in three tries. ## 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 - Manually verify that **Change in Defaults** from a device page returns focus to the Connections **Jobs** box. - Manually verify on a phone that **Model for Decision** lists your Decision connections and offers **None**, even when you have no chat models. Agent-run checks: - Every failure was reproduced locally first. Each fix passed with `--retries=0` on every project it failed on. - Each app fix, reverted on its own, made its test fail. - After merging current staging: `pnpm check:e2e-types`, client `tsc --noEmit`, `pnpm localization:check` and Prettier pass. - Independent review: 2 findings, both fixed in `dc5ea75ce6`. ## 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:15 +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#8856
No description provided.