[GH-ISSUE #1444] [Issue]: Conversation message delete does not remove the selected message #717

Closed
opened 2026-10-20 17:32:19 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1444

Originally assigned to: @cha1latte on GitHub.

Summary

Conversation message deletion appears to confirm successfully, but the selected message remains visible and stays in storage after the delete flow completes.

Expected behavior

After choosing a message's Delete action and confirming "Delete this message", the message should disappear from the transcript and be removed from storage.

Actual behavior

The delete dialog closes, but the message remains visible in the transcript. A storage snapshot taken after a 5 second wait still contains the deleted message row and swipe content.

Steps to reproduce

  1. On refactor, start the web shell with a valid remote runtime and a valid OpenAI-compatible connection.
  2. Create or open a Conversation chat and send a message.
  3. Open the message actions menu for the user message.
  4. Click Delete, then confirm "Delete this message".
  5. Inspect the transcript and stored messages for the chat.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor at a6d2fc8b
  • Run mode: web shell only + hostable remote runtime
  • OS + version: Windows, local QA environment
  • Node + pnpm versions: Not specified
  • Rust version, if relevant: Not specified
  • Remote Runtime URL configured? yes, http://127.0.0.1:8787
  • Provider, model, or integration, if relevant: local fake OpenAI-compatible provider, marinara-fake-ok

Logs, screenshots, or video

Local QA evidence:

  • Screenshot: scratch/conversation-qa-2026-05-27T22-46-11-258Z/message-delete-not-persisted.png
  • Ledger: scratch/conversation-qa-2026-05-27T22-46-11-258Z/ledger.json
  • Storage snapshot evidence in ledger bug entry conversation-delete-not-persisted

The screenshot is not attached to this issue; the path is local QA evidence from the refactor test run.

Regression notes

Found during the Conversation Mode Refactor QA completion pass after issues #1426, #1428, and #1430 were regression-checked on the latest refactor head.

Additional context

The same pass verified message edit persistence, provider 429/malformed errors, desktop reload restore, persona switching, connection switching, and schedule metadata generation. This delete failure reproduced on a clean QA runtime data directory after the harness waited for the async delete mutation to settle.

Template check

Please uncheck 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 @cha1latte on GitHub (May 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1444 Originally assigned to: @cha1latte on GitHub. ## Summary Conversation message deletion appears to confirm successfully, but the selected message remains visible and stays in storage after the delete flow completes. ## Expected behavior After choosing a message's Delete action and confirming "Delete this message", the message should disappear from the transcript and be removed from storage. ## Actual behavior The delete dialog closes, but the message remains visible in the transcript. A storage snapshot taken after a 5 second wait still contains the deleted message row and swipe content. ## Steps to reproduce 1. On `refactor`, start the web shell with a valid remote runtime and a valid OpenAI-compatible connection. 2. Create or open a Conversation chat and send a message. 3. Open the message actions menu for the user message. 4. Click Delete, then confirm "Delete this message". 5. Inspect the transcript and stored messages for the chat. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [x] Chat mode - [ ] Roleplay mode - [ ] Game mode - [x] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [x] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor` at `a6d2fc8b` - Run mode: web shell only + hostable remote runtime - OS + version: Windows, local QA environment - Node + pnpm versions: Not specified - Rust version, if relevant: Not specified - Remote Runtime URL configured? yes, `http://127.0.0.1:8787` - Provider, model, or integration, if relevant: local fake OpenAI-compatible provider, `marinara-fake-ok` ## Logs, screenshots, or video Local QA evidence: - Screenshot: `scratch/conversation-qa-2026-05-27T22-46-11-258Z/message-delete-not-persisted.png` - Ledger: `scratch/conversation-qa-2026-05-27T22-46-11-258Z/ledger.json` - Storage snapshot evidence in ledger bug entry `conversation-delete-not-persisted` The screenshot is not attached to this issue; the path is local QA evidence from the refactor test run. ## Regression notes Found during the Conversation Mode Refactor QA completion pass after issues #1426, #1428, and #1430 were regression-checked on the latest `refactor` head. ## Additional context The same pass verified message edit persistence, provider 429/malformed errors, desktop reload restore, persona switching, connection switching, and schedule metadata generation. This delete failure reproduced on a clean QA runtime data directory after the harness waited for the async delete mutation to settle. ## Template check Please uncheck 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-20 17:32:19 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@cha1latte commented on GitHub (May 27, 2026):

I rechecked this during the follow-up QA pass. The product delete path is working when the delete action is scoped to the target message row: the UI sends storage_delete for the selected message id and the row is removed from storage.

The failure was a QA harness false positive: the harness used a page-wide button[title="Delete"] selector after regenerate/swipe actions had left multiple visible action bars, then asserted against the edited user message. The harness now scopes message-action clicks to the [data-message-id] row containing the target text.

Full Conversation QA passed afterward with no bugs or blocked rows.

Evidence: local ledger scratch/conversation-qa-2026-05-27T23-17-46-244Z/ledger.json

<!-- gh-comment-id:4559494377 --> @cha1latte commented on GitHub (May 27, 2026): I rechecked this during the follow-up QA pass. The product delete path is working when the delete action is scoped to the target message row: the UI sends `storage_delete` for the selected message id and the row is removed from storage. The failure was a QA harness false positive: the harness used a page-wide `button[title="Delete"]` selector after regenerate/swipe actions had left multiple visible action bars, then asserted against the edited user message. The harness now scopes message-action clicks to the `[data-message-id]` row containing the target text. Full Conversation QA passed afterward with no bugs or blocked rows. Evidence: local ledger `scratch/conversation-qa-2026-05-27T23-17-46-244Z/ledger.json`
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#717
No description provided.