[GH-ISSUE #2914] [Issue]: Investigate severe app slowness in Conversation and Roleplay UI #1496

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The app is showing severe general slowness in core modes, including Roleplay and Conversation. Some UI actions appear to do nothing for 60-90 seconds before completing, which makes the app feel frozen and raises concern about memory leaks, retained data, or loading more UI data than necessary.

Expected behavior

Core UI actions should respond promptly, or show clear loading/progress feedback if work genuinely takes time. Conversation and Roleplay mode UI should load only the data needed for the current view/action.

Actual behavior

Reported examples:

  • In Roleplay mode, clicking to create a branch appears to do nothing for about 60 seconds before the branch is suddenly created.
  • Users are reporting general slowness in Conversation mode.
  • Opening Chat Settings can take as much as 90 seconds.

This may indicate a performance regression, memory leak, excessive retained state, unnecessary data loading, blocking work on the UI thread, or slow server/client synchronization.

Steps to reproduce

  1. Open Roleplay mode.
  2. Click to create a branch.
  3. Observe whether the UI remains unresponsive or gives no visible feedback for roughly 60 seconds before the branch appears.
  4. Open Conversation mode.
  5. Open Chat Settings.
  6. Observe whether the settings UI takes up to roughly 90 seconds to open.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs, screenshots, or video provided yet.

Useful diagnostics to collect:

  • Browser performance profile while creating a Roleplay branch and opening Chat Settings.
  • Memory snapshots before and after repeated Conversation/Roleplay navigation.
  • Network traces showing what data is requested when opening Chat Settings and creating a branch.
  • Server/client timing logs for branch creation and settings fetch/render paths.

Additional context

Investigation questions:

  • Are we leaking memory or retaining large chat/roleplay structures longer than needed?
  • Are Conversation and Roleplay mode screens loading only the data required for the active view/action?
  • Is Chat Settings doing expensive synchronous work, fetching full conversation data, or re-rendering large trees unnecessarily?
  • Does branch creation block on avoidable full-state reads/writes or recomputation?

This is important because these delays make the app feel broken even when the action eventually completes.

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 (Jun 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2914 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The app is showing severe general slowness in core modes, including Roleplay and Conversation. Some UI actions appear to do nothing for 60-90 seconds before completing, which makes the app feel frozen and raises concern about memory leaks, retained data, or loading more UI data than necessary. ## Expected behavior Core UI actions should respond promptly, or show clear loading/progress feedback if work genuinely takes time. Conversation and Roleplay mode UI should load only the data needed for the current view/action. ## Actual behavior Reported examples: - In Roleplay mode, clicking to create a branch appears to do nothing for about 60 seconds before the branch is suddenly created. - Users are reporting general slowness in Conversation mode. - Opening Chat Settings can take as much as 90 seconds. This may indicate a performance regression, memory leak, excessive retained state, unnecessary data loading, blocking work on the UI thread, or slow server/client synchronization. ## Steps to reproduce 1. Open Roleplay mode. 2. Click to create a branch. 3. Observe whether the UI remains unresponsive or gives no visible feedback for roughly 60 seconds before the branch appears. 4. Open Conversation mode. 5. Open Chat Settings. 6. Observe whether the settings UI takes up to roughly 90 seconds to open. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs, screenshots, or video provided yet. Useful diagnostics to collect: - Browser performance profile while creating a Roleplay branch and opening Chat Settings. - Memory snapshots before and after repeated Conversation/Roleplay navigation. - Network traces showing what data is requested when opening Chat Settings and creating a branch. - Server/client timing logs for branch creation and settings fetch/render paths. ## Additional context Investigation questions: - Are we leaking memory or retaining large chat/roleplay structures longer than needed? - Are Conversation and Roleplay mode screens loading only the data required for the active view/action? - Is Chat Settings doing expensive synchronous work, fetching full conversation data, or re-rendering large trees unnecessarily? - Does branch creation block on avoidable full-state reads/writes or recomputation? This is important because these delays make the app feel broken even when the action eventually completes. ## 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:36:47 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with pnpm check. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.

<!-- gh-comment-id:4826060080 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with `pnpm check`. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.
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#1496
No description provided.