[GH-ISSUE #4206] [Issue]: Edited user message sometimes reverts after saving in Roleplay mode #2278

Closed
opened 2026-10-21 05:46:56 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4206

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In Roleplay mode, finishing an edit to an existing user message sometimes rolls the message back to its previous text instead of preserving the edited version.

Expected behavior

Clicking the control to finish editing should persist the updated user-message text and display that saved version consistently.

Actual behavior

The edit appears to finish, but the user message intermittently reverts to the text it contained before editing, causing the user's changes to be lost.

Steps to reproduce

  1. Open a chat in Roleplay mode.
  2. Edit an existing user message.
  3. Change its text.
  4. Click the control to finish editing.
  5. Repeat if necessary, since the rollback is intermittent.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not confirmed
  • Browser or app shell: Not confirmed
  • Chat mode: Roleplay

Logs, screenshots, or video

None currently available.

Additional context

This is intermittent. The saved edit should remain authoritative; stale message state or a delayed refresh should not restore the pre-edit content.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4206 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In Roleplay mode, finishing an edit to an existing user message sometimes rolls the message back to its previous text instead of preserving the edited version. ## Expected behavior Clicking the control to finish editing should persist the updated user-message text and display that saved version consistently. ## Actual behavior The edit appears to finish, but the user message intermittently reverts to the text it contained before editing, causing the user's changes to be lost. ## Steps to reproduce 1. Open a chat in Roleplay mode. 2. Edit an existing user message. 3. Change its text. 4. Click the control to finish editing. 5. Repeat if necessary, since the rollback is intermittent. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not confirmed - Browser or app shell: Not confirmed - Chat mode: Roleplay ## Logs, screenshots, or video None currently available. ## Additional context This is intermittent. The saved edit should remain authoritative; stale message state or a delayed refresh should not restore the pre-edit content. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:46:56 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 28, 2026):

Implementation is underway by @SpicyMarinara in draft PR #4207.

<!-- gh-comment-id:5102541466 --> @SpicyMarinara commented on GitHub (Jul 28, 2026): Implementation is underway by @SpicyMarinara in draft PR #4207.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 28, 2026):

Resolved in #4207 and merged into staging.

<!-- gh-comment-id:5103534016 --> @SpicyMarinara commented on GitHub (Jul 28, 2026): Resolved in #4207 and merged into 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#2278
No description provided.