mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #583] [Issue]: Creating a scene from a conversation clears the convo's connected RP chat, even after the scene concludes #268
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#268
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 @aidanbrocklebank on GitHub (May 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/583
Originally assigned to: @Promansis on GitHub.
Summary
When a chat convo which has a "connected chat" creates a scene, that scene becomes the connected chat for the convo. But when the scene ends, the convo doesn't get it's original chat back, it just appears to have no connected chat anymore.
Expected behavior
I'm not 100% what the expected/intended behavior is here. My guess would be that the originally connected RP chat should return as the "connected chat" for the convo, after the scene concludes. Alternatively the scene should never replace the connected RP chat at all.
Actual behavior
When a convo and an RP chat are connected, they are both aware of each other. But after the convo triggers a scene which then concludes, the convo is no longer aware of the connected chat. The RP still believes that it is connected to the convo however.
You also are not able to manually repair the relationship, as the RP chat which was originally connected does not appear on the list of options.
Steps to reproduce
Environment
Logs, screenshots, or video
Additional context
I think this bug is initially possible because
connectChatsinchats.storage.tsdoesn't check whether one of the two chats already has a connected chat, and if it does the other side of that relationship is left dangling. It's possible we could omit callingconnectChatsentirely for the scene and just usesceneOriginChatIdfor anything that an RP would usually use the connected chat for?You also can't manually repair it because from the RP's perspective it does still have a connected convo, which is why it doesn't appear in the list of RP chats you can connect.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Promansis commented on GitHub (May 9, 2026):
I don't believe they are supposed to. Scenes are meant to be disposable little RP bubbles like memories or fun things that don't mean/do much long term development. The summary is what keeps the context with the convo, otherwise it would just destroy context.
@aidanbrocklebank commented on GitHub (May 9, 2026):
@Promansis I don't quite understand why this issue was closed. The current behaviour is wrong/bugged regardless of the intended behaviour.
If so, the creation of a scene shouldn't replace the existing full RP as the "connected chat" right? But it does at the moment.
And the replacement is incomplete, because the full RP still thinks it is the connected chat, so the perspective of the convo and the RP chat are inconsistent with each other.