[GH-ISSUE #5466] Game Mode create with an unreachable GM connection surfaces a bare Internal Server Error #3032

Closed
opened 2026-10-21 05:58:59 +07:00 by bsakaguchi · 1 comment
Owner

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.

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.
bsakaguchi 2026-10-21 05:58:59 +07:00
Author
Owner

@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.

<!-- gh-comment-id:5391247258 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3032
No description provided.