[GH-ISSUE #4608] [Issue]: First attempt to edit sent message fails after canceling generation #2514

Closed
opened 2026-10-21 05:49:21 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

After canceling an assistant or character response in Roleplay mode, the first attempt to edit the user's most recent sent message does not apply the changes, even after confirmation. The edit succeeds on the second attempt.

Expected behavior

After confirming an edit to the most recent sent user message, the message should be updated on the first attempt.

Actual behavior

The first confirmed edit does not change the message. Retrying the edit allows it to succeed.

Steps to reproduce

  1. Open Roleplay mode.
  2. Send a prompt.
  3. Cancel the assistant or character response while it is generating.
  4. Attempt to edit the most recent sent user message and confirm the edit.
  5. Observe that the message is unchanged.
  6. Attempt the same edit again; the edit succeeds on the second attempt.

Environment

  • Marinara Engine version: 2.4.0 reported initially; also reproduced on v2.4.1 (builds b0c7e95 and 367d06f)
  • Install type: termux
  • OS + version: Android 16
  • Browser or app shell: Firefox on Android

Logs, screenshots, or video

Not provided in Discord context.

Additional context

The issue was independently reproduced on Android/Firefox. A maintainer suspected the action may be timing-sensitive, but could not reproduce it on a non-Android device. It may be a regression related to https://discord.com/channels/1417099416812392641/1530693585928716588. A prior GitHub issue was referenced: https://github.com/Pasta-Devs/Marinara-Engine/issues/4592

Discord thread: Bug report - Editing sent user message fails on first attempt
Discord thread link: https://discord.com/channels/1417099416812392641/1534270569263136891
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (13 messages)
[2026-08-04T18:43:29.081Z] Fussel: ME version: 2.4.0
Installation method: Termux (Android 16)
Chatting mode: Roleplay

When I send a prompt, cancel the generation and try to edit my sent message, it won't actually edit the message even after confirmation.
Only in the second attempt does it allow any edit.
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534270569263136891]

[2026-08-04T18:47:38.836Z] DSBwizzard: Release: v2.4.1
Build: b0c7e95

I can reproduce this behaviour. May be a regression from / related to https://discord.com/channels/1417099416812392641/1530693585928716588 ? Not quite the same but still.
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534271616811536456]

[2026-08-04T19:04:37.061Z] Marinara: @Professor Mari GitHub Issue
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534275887556595864]

[2026-08-04T19:04:50.736Z] Professor Mari [bot]: Skill issue. Made a GitHub issue here: https://github.com/Pasta-Devs/Marinara-Engine/issues/4592
[Issue]: Editing a sent user message fails on first attempt · Issu...
Summary After canceling generation, the first attempt to edit the sent user message does not apply the changes. Editing succeeds on the second attempt. Expected behavior The sent user message shoul...
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534275944913567797]

[2026-08-04T20:51:30.296Z] Marinara: Staging, soon main.
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534302786613809282]

[2026-08-04T20:56:30.398Z] DSBwizzard: Soon main :HypeEyes:
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534304045332828341]

[2026-08-04T21:02:19.649Z] DSBwizzard: I am still reproducing this on Android/Firefox in Release: v2.4.1 - Build: 367d06f :monaks:
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534305510197559496]

[2026-08-04T21:02:45.814Z] DSBwizzard: Open Roleplay -> Send message -> Cancel assistant/character response -> Attempt to edit your most recent message
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534305619941658804]

[2026-08-04T21:15:03.239Z] Marinara: You're doing it too fast, probably.
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534308712926154882]

[2026-08-04T21:15:46.682Z] Marinara: I can't reproduce on my device, but maybe it's because I'm not on android?
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534308895139561704]

[2026-08-04T21:15:52.039Z] Marinara: Anyway, we need to do a release.
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534308917608321198]

[2026-08-04T21:22:50.926Z] DSBwizzard: No problem 😄
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534310674547740733]

[2026-08-04T21:23:06.492Z] DSBwizzard: soon main 🥳
[Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534310739836407858]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4608 Originally assigned to: @SpicyMarinara on GitHub. ## Summary After canceling an assistant or character response in Roleplay mode, the first attempt to edit the user's most recent sent message does not apply the changes, even after confirmation. The edit succeeds on the second attempt. ## Expected behavior After confirming an edit to the most recent sent user message, the message should be updated on the first attempt. ## Actual behavior The first confirmed edit does not change the message. Retrying the edit allows it to succeed. ## Steps to reproduce 1. Open Roleplay mode. 2. Send a prompt. 3. Cancel the assistant or character response while it is generating. 4. Attempt to edit the most recent sent user message and confirm the edit. 5. Observe that the message is unchanged. 6. Attempt the same edit again; the edit succeeds on the second attempt. ## Environment - Marinara Engine version: 2.4.0 reported initially; also reproduced on v2.4.1 (builds b0c7e95 and 367d06f) - Install type: termux - OS + version: Android 16 - Browser or app shell: Firefox on Android ## Logs, screenshots, or video Not provided in Discord context. ## Additional context The issue was independently reproduced on Android/Firefox. A maintainer suspected the action may be timing-sensitive, but could not reproduce it on a non-Android device. It may be a regression related to https://discord.com/channels/1417099416812392641/1530693585928716588. A prior GitHub issue was referenced: https://github.com/Pasta-Devs/Marinara-Engine/issues/4592 Discord thread: Bug report - Editing sent user message fails on first attempt Discord thread link: https://discord.com/channels/1417099416812392641/1534270569263136891 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (13 messages)</summary> ```text [2026-08-04T18:43:29.081Z] Fussel: ME version: 2.4.0 Installation method: Termux (Android 16) Chatting mode: Roleplay When I send a prompt, cancel the generation and try to edit my sent message, it won't actually edit the message even after confirmation. Only in the second attempt does it allow any edit. [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534270569263136891] [2026-08-04T18:47:38.836Z] DSBwizzard: Release: v2.4.1 Build: b0c7e95 I can reproduce this behaviour. May be a regression from / related to https://discord.com/channels/1417099416812392641/1530693585928716588 ? Not quite the same but still. [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534271616811536456] [2026-08-04T19:04:37.061Z] Marinara: @Professor Mari GitHub Issue [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534275887556595864] [2026-08-04T19:04:50.736Z] Professor Mari [bot]: Skill issue. Made a GitHub issue here: https://github.com/Pasta-Devs/Marinara-Engine/issues/4592 [Issue]: Editing a sent user message fails on first attempt · Issu... Summary After canceling generation, the first attempt to edit the sent user message does not apply the changes. Editing succeeds on the second attempt. Expected behavior The sent user message shoul... [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534275944913567797] [2026-08-04T20:51:30.296Z] Marinara: Staging, soon main. [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534302786613809282] [2026-08-04T20:56:30.398Z] DSBwizzard: Soon main :HypeEyes: [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534304045332828341] [2026-08-04T21:02:19.649Z] DSBwizzard: I am still reproducing this on Android/Firefox in Release: v2.4.1 - Build: 367d06f :monaks: [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534305510197559496] [2026-08-04T21:02:45.814Z] DSBwizzard: Open Roleplay -> Send message -> Cancel assistant/character response -> Attempt to edit your most recent message [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534305619941658804] [2026-08-04T21:15:03.239Z] Marinara: You're doing it too fast, probably. [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534308712926154882] [2026-08-04T21:15:46.682Z] Marinara: I can't reproduce on my device, but maybe it's because I'm not on android? [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534308895139561704] [2026-08-04T21:15:52.039Z] Marinara: Anyway, we need to do a release. [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534308917608321198] [2026-08-04T21:22:50.926Z] DSBwizzard: No problem 😄 [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534310674547740733] [2026-08-04T21:23:06.492Z] DSBwizzard: soon main 🥳 [Discord message: https://discord.com/channels/1417099416812392641/1534270569263136891/1534310739836407858] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:49:21 +07:00
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#2514
No description provided.