[GH-ISSUE #1430] [Issue]: Conversation message edits do not persist edited content #715

Closed
opened 2026-10-20 17:32:15 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @cha1latte on GitHub.

Summary

Conversation mode message editing does not persist the edited text. The edit flow accepts the new text, but storage still contains the original message content afterward.

Expected behavior

Editing a Conversation message and saving it should update the message row and render the edited content in the transcript.

Actual behavior

After editing message actions baseline to message actions edited, the storage snapshot still contains the original message actions baseline content and no message actions edited row.

Steps to reproduce

  1. Run refactor commit 05a95e12 with remote runtime at http://127.0.0.1:8787 and a fake OpenAI-compatible provider at http://127.0.0.1:8899/v1.
  2. Create a single-character Conversation chat with a valid text connection.
  3. Send message actions baseline and wait for the assistant reply.
  4. Reveal message actions for the user message.
  5. Click Edit, replace the text with message actions edited, and save with Enter.
  6. Inspect the transcript and messages storage rows.

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 / 05a95e12
  • Run mode: web shell only + remote runtime
  • OS + version: Microsoft Windows NT 10.0.26200.0
  • Node + pnpm versions: Node v24.13.0, pnpm 10.33.2
  • Rust version, if relevant: rustc 1.95.0
  • Remote Runtime URL configured? yes, http://127.0.0.1:8787
  • Provider, model, or integration, if relevant: fake OpenAI-compatible provider, marinara-fake-ok

Logs, screenshots, or video

Local QA evidence:

  • Ledger: scratch/conversation-qa-2026-05-27T19-07-50-429Z/ledger.json
  • Screenshot: scratch/conversation-qa-2026-05-27T19-07-50-429Z/message-edit-not-persisted.png
  • Storage snapshot is embedded in the ledger under bug id conversation-edit-not-persisted.

No screenshots are attached to this issue.

Regression notes

Not specified.

Additional context

The same run verified that Conversation regenerate/swipe controls and delete action worked. The failure appears specific to edit persistence.

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/1430 Originally assigned to: @cha1latte on GitHub. ## Summary Conversation mode message editing does not persist the edited text. The edit flow accepts the new text, but storage still contains the original message content afterward. ## Expected behavior Editing a Conversation message and saving it should update the message row and render the edited content in the transcript. ## Actual behavior After editing `message actions baseline` to `message actions edited`, the storage snapshot still contains the original `message actions baseline` content and no `message actions edited` row. ## Steps to reproduce 1. Run `refactor` commit `05a95e12` with remote runtime at `http://127.0.0.1:8787` and a fake OpenAI-compatible provider at `http://127.0.0.1:8899/v1`. 2. Create a single-character Conversation chat with a valid text connection. 3. Send `message actions baseline` and wait for the assistant reply. 4. Reveal message actions for the user message. 5. Click `Edit`, replace the text with `message actions edited`, and save with Enter. 6. Inspect the transcript and `messages` storage rows. ## 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 - [ ] 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` / `05a95e12` - Run mode: web shell only + remote runtime - OS + version: Microsoft Windows NT 10.0.26200.0 - Node + pnpm versions: Node `v24.13.0`, pnpm `10.33.2` - Rust version, if relevant: `rustc 1.95.0` - Remote Runtime URL configured? yes, `http://127.0.0.1:8787` - Provider, model, or integration, if relevant: fake OpenAI-compatible provider, `marinara-fake-ok` ## Logs, screenshots, or video Local QA evidence: - Ledger: `scratch/conversation-qa-2026-05-27T19-07-50-429Z/ledger.json` - Screenshot: `scratch/conversation-qa-2026-05-27T19-07-50-429Z/message-edit-not-persisted.png` - Storage snapshot is embedded in the ledger under bug id `conversation-edit-not-persisted`. No screenshots are attached to this issue. ## Regression notes Not specified. ## Additional context The same run verified that Conversation regenerate/swipe controls and delete action worked. The failure appears specific to edit persistence. ## 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.
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#715
No description provided.