mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6578] [Issue]: request-timeouts e2e flakes on mobile-webkit because the settings search jump takes focus mid-fill #3687
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#3687
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/6578
Originally assigned to: @SpicyMarinara on GitHub.
e2e/afternoon-sweep.e2e.ts:230("request timeouts can be found, saved and reloaded in Advanced Settings") fails intermittently onmobile-webkit. The test types 1234 into Text generation and saves, but the server keeps 300:Cause
Clicking a settings search result calls
jumpToSearchResultinpackages/client/src/components/panels/SettingsPanel.tsx. It switches the tab right away, then waits two animation frames before it scrolls to the section and moves focus onto it withfocusTarget?.focus({ preventScroll: true }).The test does not wait for that focus move. It checks the field's value and starts
fill("1234")as soon as the section renders. On the slow mobile WebKit runner, the two frames land in the middle of the fill:fillfocuses the Text generation input.The test then blurs and clicks Save timeouts, and the app saves 300.
Evidence from the trace
Run https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35901562180, artifact
playwright-mobile-webkit-shard-1-failure:PUT /api/admin/request-timeoutsbody is byte-identical to the precedingGETresponse, so the app saved the original values.bluralready shows the input at300.The same failure, with the same values, happened on an unrelated branch: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35769236205 (
codex/sept22-gpt6-sol-luna, 2026-09-22). Neither branch touches the settings panel or request timeouts.Suggested fix
In the test, wait for the jump to finish before editing, the same way a user would. For example, after
openTimeouts():Putting it at the end of
openTimeouts()covers both of its calls.@SpicyMarinara commented on GitHub (Sep 23, 2026):
Codex is taking this for @SpicyMarinara in draft PR #6585. I am tracing the existing behavior and adding focused regression coverage.