mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#7669
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7293
Author: @SpicyMarinara
Created: 10/8/2026
Status: ✅ Merged
Merged: 10/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:test/nightly-stale-and-flaky📝 Commits (3)
5b5cca4test(e2e): update the whisper test for #7196 and steady two flaky WebKit tests8502a18Merge remote-tracking branch 'origin/staging' into test/nightly-stale-and-flakyae38078test(e2e): drop the no-op send-button wait from the illustration test📊 Changes
4 files changed (+17 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
e2e/core-flows.e2e.ts(+3 -0)📝
e2e/prompt-controls.e2e.ts(+2 -0)📝
e2e/roleplay-commands.e2e.ts(+11 -1)📄 Description
Linked issue
No issue exists yet for these nightly failures. One should be opened before this leaves draft (or this PR can stand as the record if Mari prefers). Related: #7196 (
cecaac78b), which changed the whisper behaviour this test still encoded.Why this change
The nightly Regression Checks run 37563586884 on
staging241ee8f2d(Oct 7) failed. This PR handles the e2e side of the triage. The onnxruntime install timeout that keptmobile-webkit 4/10from running is a separate change.e2e/roleplay-commands.e2e.ts:460, both the classic and visual-novel cases, failed indesktop-chromium 9/10,mobile-chromium 7/8andmobile-webkit 9/10withexpect(locator).toBeDisabled() failed … Received: enabledat line 623. #7196 deliberately made an empty whisper saveable: saving it removes the whisper, as described in the changelog and indocs/roleplay/getting-started.md. The test still encoded the behaviour from before #7196. This PR updates that assertion. The product behaviour stays the same.e2e/core-flows.e2e.ts:11411"Game character sheet Retry remains a draft until Save" failed in runs 37490466160, 37481987272 (attempt 1) and 37592611362 (attempt 1). After Save sheet, the "… sheet updated." success toast covers the mobile top bar. The pointer from the previous click stays over the toast, which pauses its auto-dismiss, so the click on the Character Profiles bubble kept retrying until the 60 s test timeout. The run 37490466160 log shows<li … data-type="success" data-sonner-toast …> intercepts pointer events.e2e/prompt-controls.e2e.ts:7failed in run 37469221766 at line 109 (Review Image Promptdialog never appeared). The third/illustratewent out as an empty-composerPOST /api/generatewith nouserMessage, so the review dialog never opened.What changed
Test-only. No product code changed.
e2e/roleplay-commands.e2e.tswhisperText.fill(" "), the test now expects the placeholder "Leave this empty and save to remove the whisper." (the copy checked againstroleplay.commands.whisper.emptyRemovesinen.json) and an enabled Save. Before, it expected Save to be disabled, which was the behaviour before #7196./api/generate/dryRun) no longer contains it.e2e/core-flows.e2e.ts: after the stored-cardrpgStatsexpectation and before the Character Profiles bubble click, the test now moves the pointer to(0, 0)and waits for[data-sonner-toast]to reach count 0. This uses the same pattern the test already has a few lines above.e2e/prompt-controls.e2e.ts: afterfill, the test checks that the composer still holds/illustrate range=1 cup of teabefore clicking send.CHANGELOG.md: one[Unreleased]line for the contributor-check fix, following earlier entries for browser-regression stability.Note on the illustration change: it is a diagnostic guard, not a fix. The root cause of the cleared composer is still unknown. If the composer is cleared before the check, the test now fails at the composer assertion with a clear message, not 10 s later at the dialog. A clear between the check and the click would still fail at the dialog, so this test can still flake.
Review follow-up (
ae380786c): the first version also waited for the send button to be enabled before the third/illustrate. That wait never waited for anything. In a Roleplay chat the send button stays enabled while an agent run is in flight (ChatInput.tsxpassesagentsProcessing: falsein roleplay, and an empty composer can still continue). Also, the review dialog closes only afterretryAgentshas resolved and cleared its abort controller (ChatArea.tsxhandleContinueIllustratorPromptReview,use-generate.tsfinally). So the previous illustration had already finished atexpect(dialog).not.toBeVisible(). The wait was removed, and the comment andCHANGELOG.mdline no longer claim this test is fixed.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run results (macOS, Playwright 1.63.0, isolated ports 5370/8050/5371/8051). These are not a substitute for the boxes above:
pnpm check:e2e-types: passed. Prettier check on the four changed files: passed. Fullpnpm checkwas not run.stagingwhisper test,--project=desktop-chromium --repeat-each=3 --workers=1: 6/6 failed atroleplay-commands.e2e.ts:623toBeDisabled(). This reproduces the nightly failure.desktop-chromium,mobile-chromiumandmobile-webkit,--repeat-each=3 --workers=1: 31/36 passed.locator.clicktimeouts stuck at "performing click action". Each was the first click after a page load or reload (lines 541, 582 and 646), with no assertion failing. Two of them (line 646) came after the updated empty-whisper assertions had already passed. The machine was under heavy load from parallel lanes (load average about 10 on 10 cores). Nightly CI never showed this hang.--project=desktop-chromium --project=mobile-chromium --repeat-each=3 --workers=1: 12/12 passed, including the new removal case.ae380786c, merged withstaging8e4866187first), the illustration test ondesktop-chromium,mobile-chromiumandmobile-webkit,--repeat-each=3 --workers=1: 9/9 passed. Prettier andpnpm check:e2e-typespassed.Regression Checks, the e2e shards run only onworkflow_dispatchor for PRs intomain, so they show as skipped here. To test this branch in CI before merging, dispatch it:gh workflow run playwright.yml --ref test/nightly-stale-and-flaky -f expected_sha=<branch head>. Otherwise, the next nightly after merge is the first CI run of these tests.Manual verification notes
Regression Checksrun passes the whisper test on all three projects, and watch the WebKit shards for the two flaky tests.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG.mdgets one[Unreleased]line. No user-facing docs underdocs/changed, sodocs-i18nis unaffected.UI evidence (if applicable)
Not applicable: test-only change.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.