mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #946] [MERGED] Fix game start provider error retry state #4851
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#4851
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/946
Author: @cha1latte
Created: 5/17/2026
Status: ✅ Merged
Merged: 5/17/2026
Merged by: @cha1latte
Base:
staging← Head:fix/game-linkapi-error-state📝 Commits (2)
1a0044bFix game start provider error retry statec647915Normalize LinkAPI Gemini API host📊 Changes
4 files changed (+38 additions, -14 deletions)
View changed files
➕
docs/pr-evidence/game-linkapi-error-state/after.png(+0 -0)➕
docs/pr-evidence/game-linkapi-error-state/before.png(+0 -0)📝
packages/client/src/components/game/GameSurface.tsx(+23 -13)📝
packages/server/src/services/llm/providers/google.provider.ts(+15 -1)📄 Description
Linked issue
No GitHub issue yet. Reported by Celia via Codex screenshot/chat; an issue can be opened before final maintainer submission if the team wants one.
Why this change
getaddrinfo EAI_AGAIN linkapi.ai, but the start screen kept showing the "The adventure begins..." spinner next to Retry. That made a stopped generation look like it was still running.linkapi.ai). LinkAPI's current docs list the Gemini API endpoint ashttps://api.linkapi.ai, so Marinara should normalize that common pasted host before making Gemini provider requests.What changed
linkapi.ai,www.linkapi.ai,home.linkapi.ai) toapi.linkapi.aiin the Google Gemini provider before appending/v1beta.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
/api/generatewithgetaddrinfo EAI_AGAIN linkapi.ai, and confirmed the UI showed both "The adventure begins..." and Retry.connectionIdpersisted.packages\server\node_modules\.bin\tsx.cmd scratch\linkapi-google-url-proof.mjsconfirmedhttps://linkapi.aibecomeshttps://api.linkapi.ai/v1beta/models/gemini-3-flash-preview-r:generateContent.pnpm checkpassed.Docs and release impact
No docs, schema, dependency, release, or version files changed.
UI evidence (if applicable)
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.