mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1452] [Issue]: Game provider failures emit uncaught page errors #721
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#721
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 @cha1latte on GitHub (May 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1452
Originally assigned to: @cha1latte on GitHub.
Summary
Game mode provider/runtime failure paths recover in the UI, but the failed generation promise also surfaces as uncaught
pageerrorevents during scripted QA.Expected behavior
Provider failures such as HTTP 500, HTTP 429, timeout, malformed provider output, and remote-runtime interruption should show the existing recoverable Game UI/toast/error message without emitting uncaught browser page errors.
Actual behavior
The Game UI showed recoverable error states, but the Playwright console audit collected uncaught page errors for rejected Game generation promises:
Provider returned HTTP 500 Internal Server Error: fake game provider 500Provider returned HTTP 429 Too Many Requests: fake game provider rate limitedFailed to fetchThe stack traces pointed through
runGenerationWithUi(...)into Game turn generation after provider/runtime failure rows.Steps to reproduce
refactor.pageerrorevents while the UI displays the recoverable provider error.Impact area
Environment
refactorat0cf4c9d7v24.13.0, pnpm10.33.2rustc 1.95.0http://127.0.0.1:8787Logs, screenshots, or video
Local evidence path:
scratch/game-qa-post-1449-full-cleanRelevant files:
scratch/game-qa-post-1449-full-clean/console.jsonscratch/game-qa-post-1449-full-clean/failure-provider-500.pngscratch/game-qa-post-1449-full-clean/failure-provider-429.pngscratch/game-qa-post-1449-full-clean/failure-runtime-offline-mid-turn.pngScreenshots are local only and are not attached to this issue.
Regression notes
Not specified.
Additional context
Found during the post-#1449 scripted Game QA sweep. The UI recovery itself worked; the issue is the uncaught browser error generated by the rejected fire-and-forget Game generation call.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: