[GH-ISSUE #8779] settings profiles keep Main and persona transitions; Model deletes, moves and Connection copies keep chat picks and revi #8494

Closed
opened 2026-11-07 16:43:20 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Found by the 2026-11-03 release-prep bug sweep of Marinara Engine. Each finding was confirmed by two independent verifiers.

A release-prep audit found four confirmed bugs, all new in this release (#8456, #8555), in settings profiles and Connections.

  1. Applying the Default profile, or any profile without a Model, dropped the chat's followsMainModel flag. Every reply in that chat then showed a 10-second 'this chat's model was deleted' toast, while Chat Settings said the chat follows Main.
  2. A profile's persona was written straight to the chat. Earlier messages saved without a persona snapshot were then shown and sent to the model under the new persona, and the model was never told the persona had changed.
  3. Moving a Model to another service, or removing a Model, rewrote chat model picks without holding the chat metadata queues. A metadata patch already in progress could put the old pick back. The next reply then sent the old service's model id to the new service, or the kept pick was lost.
  4. Duplicating a Connection that was still waiting for import review created a copy that was not under review. Models added to the copy could send chat traffic to the imported endpoint before anyone reviewed it.

Review of the first fix found two more problems, also fixed here:

  • After deleting a Model, the client still sent the chat a PATCH clearing its Model, based on its cached copy. That PATCH predates the server-side cleanup. It dropped a catalog pick the server had just moved to another Model of the same Connection, and with the new follow-Main rule it would also have switched that chat to Main with no notice.
  • Quick setup applied the profile's persona even when the user had picked a different one, then switched back. A new chat with only its greeting would get a 'now playing as' turn for a persona the user had turned down.

There is no linked issue; one should be opened before the PR is submitted.

🤖 Generated with Claude Code

Originally created by @SpicyMarinara on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8779 Originally assigned to: @SpicyMarinara on GitHub. Found by the 2026-11-03 release-prep bug sweep of Marinara Engine. Each finding was confirmed by two independent verifiers. A release-prep audit found four confirmed bugs, all new in this release (#8456, #8555), in settings profiles and Connections. 1. Applying the Default profile, or any profile without a Model, dropped the chat's followsMainModel flag. Every reply in that chat then showed a 10-second 'this chat's model was deleted' toast, while Chat Settings said the chat follows Main. 2. A profile's persona was written straight to the chat. Earlier messages saved without a persona snapshot were then shown and sent to the model under the new persona, and the model was never told the persona had changed. 3. Moving a Model to another service, or removing a Model, rewrote chat model picks without holding the chat metadata queues. A metadata patch already in progress could put the old pick back. The next reply then sent the old service's model id to the new service, or the kept pick was lost. 4. Duplicating a Connection that was still waiting for import review created a copy that was not under review. Models added to the copy could send chat traffic to the imported endpoint before anyone reviewed it. Review of the first fix found two more problems, also fixed here: - After deleting a Model, the client still sent the chat a PATCH clearing its Model, based on its cached copy. That PATCH predates the server-side cleanup. It dropped a catalog pick the server had just moved to another Model of the same Connection, and with the new follow-Main rule it would also have switched that chat to Main with no notice. - Quick setup applied the profile's persona even when the user had picked a different one, then switched back. A new chat with only its greeting would get a 'now playing as' turn for a persona the user had turned down. There is no linked issue; one should be opened before the PR is submitted. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bsakaguchi 2026-11-07 16:43:20 +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#8494
No description provided.