mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3409] [Issue]: Game Mode widget update fails when generated action exceeds 50 characters #1844
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#1844
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 @SpicyMarinara on GitHub (Jul 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3409
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In Game Mode, scene analysis generated a
/reputationwidget update with an action string around 100 characters, but the endpoint validation allows only 50 characters. The failed update may also prevent other generated widgets from updating during scene analysis.Expected behavior
Game Mode widget updates generated by scene analysis should either fit validation limits or be handled gracefully without failing the widget update process.
Actual behavior
The
/api/game/reputation/updaterequest returned HTTP 400 becauseactions.0.actionexceeded the 50-character limit. Other generated widgets also did not update during scene analysis, though the map did update.Steps to reproduce
/reputationendpoint./api/game/reputation/updaterequest failing with HTTP 400 due to the 50-character limit.Environment
Logs, screenshots, or video
Request: XHR POST http://127.0.0.1:7860/api/game/reputation/update returned HTTP/1.1 400 Bad Request. Request body included action: "Revealed critical, dangerous information about Dio's secrets, increasing trust and shared danger.", npcId: "Doppio", chatId: "05tVv1i2MY0LlPRzQyrBz". Response body: error "Validation Error" with details path "actions.0.action" and message "String must contain at most 50 character(s)".
Additional context
Reporter suspects the
/reputation/updatevalidation error may interrupt scene analysis before other generated widgets can update. They also noted a possibly separate issue where a meter-only tracker could not be manually edited.Discord thread: A Game mode widget can often break due to max character length
Discord thread link: https://discord.com/channels/1417099416812392641/1524739002731593849
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 9, 2026):
Resolved in #3412, merged to staging as
c3fa793. Game Mode reputation updates now accept longer generated action descriptions.