mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5466] Game Mode create with an unreachable GM connection surfaces a bare Internal Server Error #3032
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#3032
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 (Aug 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5466
Originally assigned to: @SpicyMarinara on GitHub.
Creating a Game Mode chat whose GM connection cannot be reached fails with a bare "Internal Server Error" — shown twice (the generic toast, and the setup dialog's error line, which just prints the API error message verbatim) with no indication of WHAT failed or what to do about it.
Repro: add a connection pointing at a dead endpoint (e.g. a custom/OpenAI-compatible provider at
http://localhost:9), pick it as the GM in any Game Mode setup, launch. The engine's game-creation pipeline makes GM calls during create (world overview / blueprint / intro), the provider call fails, and the route surfaces a plain 500.What would fix the experience: the create route classifying the failure the way the generation-adjacent routes already do (provider unreachable vs provider refused vs timeout) and returning that in the error body, so setup dialogs can say "the GM connection could not be reached — check the connection and try again" instead of "Internal Server Error". The chat-creation half is already fine (nothing half-created was observed); this is purely error-surface quality.
Noticed during a Pixelforge 0.11 playtest, but the path is generic Game Mode — the package's setup dialog just displays what the create call returns.
@SpicyMarinara commented on GitHub (Aug 24, 2026):
SpicyMarinara is addressing this in draft PR #5471. The implementation is intentionally scoped to the smallest root fix; validation and CodeRabbit review will complete before it lands on staging.