mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #744] [Issue]: Regenerating after hiding recent RP messages from AI can crash the server #354
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#354
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 @Xelvanis on GitHub (May 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/744
Originally assigned to: @cha1latte on GitHub.
Summary
Regenerating a Roleplay reply after several recent messages are marked hidden from AI can crash the Marinara Engine server. The visible error includes Fastify's
Reply was already sentmessage, and the browser can no longer connect to127.0.0.1:7860until the app is manually reopened.Expected behavior
Regenerating should either succeed while respecting
hiddenFromAImessages, or fail gracefully with a user-visible error. It should not crash the server process.Actual behavior
After hiding several recent replies from AI and pressing regenerate, Marinara crashes. The reporter's screenshot shows the browser connection failure page and a terminal stack trace containing
Reply was already sentfrom Fastify.The reporter recovered by manually reopening the app and making the affected messages no longer hidden from AI.
Steps to reproduce
Environment
Logs, screenshots, or video
Discord screenshot/report from 12 May 2026 shows:
127.0.0.1:7860after the crash.Reply was already sent.Additional context
The reporter initially confused the hide/reply controls and accidentally marked multiple recent messages hidden from AI. They noted that user error in the UI should not be able to crash the engine.
Temporary workaround: unhide the affected messages from AI / context before regenerating.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: