mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6399] desktop-chromium is red on staging: drag-list-scroll persona spec times out on every run since it was added #3577
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#3577
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 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6399
Originally assigned to: @kolacheee on GitHub.
What happens
e2e/drag-list-scroll.e2e.ts:23("persona lists scroll during a drag and persist the folder drop") times out at 60 seconds ondesktop-chromium 3/4in every Release Regression Matrix run onstagingsince the spec was added (9823a14e1, then630299ce0), sodesktop-chromiumis red onstagingitself and on every PR based on it.c324acfdddesktop-chromium 3/4failed57499fcb2desktop-chromium 3/4failed66bb9bceadesktop-chromium 3/4failedIt fails the same way on a PR that does not touch lists or dragging (#6397, run https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35479330254).
The mobile projects pass it; only the desktop Chromium project times out. Each failed run has the screenshot and video under
test-results/drag-list-scroll.e2e.ts-pe-1f8e3-and-persist-the-folder-drop-desktop-chromium/in its artifacts.Why it matters
Four runs in a row is not a flake: the spec, or the desktop drag path it drives, needs a look. Until then every PR's
desktop-chromiumverdict is red for a reason the PR did not cause.Related: #6398 (the node lane is red on
stagingfor a separate reason).@kolacheee commented on GitHub (Sep 20, 2026):
Where it hangs, from the trace
I pulled the failure artifact from a run of this spec (
playwright-desktop-chromium-shard-3-failure) and readtrace.zip. One action is started and never finishes, and it is not an assertion:That is this line of the desktop branch, the move that drags the card sideways after the button is pressed:
So the test is not waiting for a selector and it is not slow: the drag begins, Chromium enters its native drag loop, and the synthetic mouse move never comes back. The 60 second timeout is the whole test budget expiring on that one call. Every assertion after it is unreached, which is why the log shows only "Test timeout of 60000ms exceeded" with no locator named.
The page snapshot in
error-context.mdagrees: the personas panel is open and all 26 rows are rendered, so nothing is missing from the page.Why only personas, and only desktop
The mobile projects take the touch branch of the same spec, which dispatches synthetic touch events rather than driving a native drag, so they never enter that loop and they pass.
On desktop the three kinds differ in one way that matters here:
PersonasPanelsetsdraggable={nativePersonaDragEnabled}, where that flag is!(pointer: coarse || max-width: 767px), so on a desktop viewport a persona card really is natively draggable.CharactersPaneland the chat sidebar reach that point differently. Whatever the exact reason the other two do not block, a native Chromium drag started from rawmouse.downplusmouse.moveis the known shape of this hang, and it is the one the trace caught.Suggested direction
Driving native HTML5 drag and drop with raw mouse events is not reliable in Chromium. The usual fix is to stop pretending: dispatch
dragstart,dragoveranddropdirectly, the way this spec's own mobile branch dispatches touch events, or uselocator.dragTo, and keep the raw mouse only for what genuinely needs it. Since the point of the case is that the LIST SCROLLS during a drag and that the drop persists, neither of which needs a real native drag, the synthetic route should prove the same thing without the loop.I have not written that fix: Playwright will not run on this machine, and rewriting a drag test I cannot execute would be guessing. The trace above should make it quick for whoever does.
For what it is worth on scheduling: this is currently the only failing spec on
stagingand on every pull request opened against it, so it is charging every contributor a red check.@SpicyMarinara commented on GitHub (Sep 20, 2026):
Codex is taking this in #6420 for @SpicyMarinara as part of the requested issue sweep. I am tracing the existing flow and will add focused regression evidence before merging to staging.
@SpicyMarinara commented on GitHub (Sep 20, 2026):
Resolved by #6420, merged into staging at
49faeabfe4. Required checks and CodeRabbit passed before merge.