mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3899] [MERGED] Fix Prose Guardian swipe saves and fenced code overflow #6146
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3899
Author: @SpicyMarinara
Created: 7/21/2026
Status: ✅ Merged
Merged: 7/21/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/3897-3898-followups📝 Commits (1)
aab4109fix chat metadata swipe race and fenced code overflow📊 Changes
6 files changed (+105 additions, -6 deletions)
View changed files
📝
packages/client/src/components/chat/ChatMessage.tsx(+1 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+20 -5)📝
packages/client/src/hooks/use-generate.ts(+5 -0)➕
packages/client/src/lib/chat-metadata-save-barrier.ts(+29 -0)📝
packages/client/src/styles/globals.css(+9 -0)📝
scripts/regressions/open-issues.regression.ts(+41 -0)📄 Description
Why
Prose Guardian preferences saved on field blur could race a swipe/regeneration request, so the new swipe used the previous server-side settings even though the UI soon showed the update as saved. Fenced Markdown code blocks could still force iOS message bubbles wider than the viewport because their flex ancestors retained min-content sizing.
Closes #3897
Closes #3898
What changed
Automated validation
pnpm regression:issues— passedpnpm check— passedgit diff --check— passedpnpm smoke:ui— 72 passed, 47 skipped, 3 unrelated failures in existing Roleplay setup/Noodle tests; the relevant Roleplay rewrite-streaming test passedGitHub
pnpm-validatedid not reach validation becauseonnxruntime-nodetimed out downloading duringpnpm install.Manual verification
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.