[GH-ISSUE #5328] [Issue]: Abandoned Roleplay swipe agents can leak images and block generation #2944

Closed
opened 2026-10-21 05:58:13 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Roleplay post-processing can remain attached to a discarded swipe. Its generated illustration may appear under another selected swipe, and committing a new turn before those agents finish can leave the chat reporting that generation is already in progress while Stop Agents does not release it.

Expected behavior

Agent work and generated media remain bound to the message swipe that started them. When the user selects an earlier swipe and commits the next turn, work for the abandoned swipe is cancelled. Stop Agents reaches active agent work instead of becoming a no-op.

Actual behavior

An illustration generated for the newest swipe can reappear under the previously selected swipe after generation finishes. If the user sends from that earlier swipe before the abandoned agents finish, subsequent generation can be rejected as already in progress, and Stop Agents may appear to do nothing.

Steps to reproduce

  1. In Roleplay mode, regenerate an assistant response to create another swipe with Illustrator or other post-processing agents enabled.
  2. Before agents finish for the newest swipe, navigate back to the previous swipe and send the next message.
  3. Attempt another generation or use Stop Agents while the overlapping work remains active.

Environment

  • Marinara Engine version: Staging build; exact commit unknown
  • Install type: Unknown
  • OS + version: Unknown
  • Browser or app shell: Unknown

Logs, screenshots, or video

No logs or recording captured.

Additional context

The stale illustration disappears during active generation but can return until all agents finish, indicating that cached post-processing extras and detached agent-run ownership are both involved.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5328 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Roleplay post-processing can remain attached to a discarded swipe. Its generated illustration may appear under another selected swipe, and committing a new turn before those agents finish can leave the chat reporting that generation is already in progress while Stop Agents does not release it. ## Expected behavior Agent work and generated media remain bound to the message swipe that started them. When the user selects an earlier swipe and commits the next turn, work for the abandoned swipe is cancelled. Stop Agents reaches active agent work instead of becoming a no-op. ## Actual behavior An illustration generated for the newest swipe can reappear under the previously selected swipe after generation finishes. If the user sends from that earlier swipe before the abandoned agents finish, subsequent generation can be rejected as already in progress, and Stop Agents may appear to do nothing. ## Steps to reproduce 1. In Roleplay mode, regenerate an assistant response to create another swipe with Illustrator or other post-processing agents enabled. 2. Before agents finish for the newest swipe, navigate back to the previous swipe and send the next message. 3. Attempt another generation or use Stop Agents while the overlapping work remains active. ## Environment - Marinara Engine version: Staging build; exact commit unknown - Install type: Unknown - OS + version: Unknown - Browser or app shell: Unknown ## Logs, screenshots, or video No logs or recording captured. ## Additional context The stale illustration disappears during active generation but can return until all agents finish, indicating that cached post-processing extras and detached agent-run ownership are both involved. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:58:13 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 20, 2026):

Resolved on staging by #5329.

<!-- gh-comment-id:5360389546 --> @SpicyMarinara commented on GitHub (Aug 20, 2026): Resolved on staging by #5329.
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#2944
No description provided.