[PR #4590] [MERGED] Fix v2.4.1 stabilization regressions #6435

Closed
opened 2026-10-23 04:10:23 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4590
Author: @SpicyMarinara
Created: 8/4/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/4589-v2.4.1-release


📝 Commits (10+)

  • 637bb8e Start #4589 and v2.4.1 release
  • 8195200 Fix mobile chat retention and responsive library controls
  • 8bf1946 Merge remote-tracking branch 'origin/staging' into agent/4589-v2.4.1-release
  • 1882c68 Include latest staging fixes in v2.4.1 notes
  • 492e230 Fix final v2.4.1 stabilization issues
  • e2beac9 Avoid restart during pnpm launcher handoff
  • 35de96a Address final stabilization review findings
  • d07f19d Polish pnpm handoff troubleshooting wording
  • 6b40071 Merge branch 'staging' into agent/4589-v2.4.1-release
  • 7629b9e Fix configured image prompt tag injection

📊 Changes

31 files changed (+739 additions, -149 deletions)

View changed files

📝 CHANGELOG.md (+14 -14)
📝 docs/TROUBLESHOOTING.md (+3 -3)
📝 e2e/core-flows.e2e.ts (+251 -47)
📝 package.json (+2 -2)
📝 packages/client/src/components/bot-browser/BotBrowserView.tsx (+25 -4)
📝 packages/client/src/components/characters/CharacterLibraryView.tsx (+3 -1)
📝 packages/client/src/components/chat/ChatMessage.tsx (+3 -3)
📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+1 -1)
📝 packages/client/src/components/modals/WhatsNewModal.tsx (+5 -0)
📝 packages/client/src/components/panels/AgentsPanel.tsx (+16 -2)
📝 packages/client/src/components/panels/CharactersPanel.tsx (+22 -9)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+19 -12)
📝 packages/client/src/components/panels/LorebooksPanel.tsx (+16 -2)
📝 packages/client/src/components/panels/PersonasPanel.tsx (+16 -2)
📝 packages/client/src/components/panels/PresetsPanel.tsx (+16 -2)
📝 packages/client/src/hooks/use-chats.ts (+22 -7)
📝 packages/client/src/hooks/use-generate.ts (+43 -4)
📝 packages/client/src/hooks/use-visual-viewport-chat-bottom.ts (+78 -7)
📝 packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/server/src/routes/bot-browser.routes.ts (+17 -5)

...and 11 more files

📄 Description

Linked issues

Closes #4589
Closes #4592
Closes #4593
Closes #4594\nCloses #4602
Follow-up to #4581
Translation follow-up: #4596

Why this change

The v2.4.1 candidate needed a final stabilization pass before release. Mobile Firefox could move a Roleplay transcript to the newest message when the software keyboard opened; post-cancel edits could discard the first confirmation; Chub filtering hid or misreported NSFW results; and provider-refused prompts were restored into the composer even after the user turn had been saved.

The same pass fixes responsive library controls, synchronizes the release notes after the latest staging changes, and removes the extra launcher restart some staging testers encountered during the pnpm 10.34.5 handoff.

What changed

  • Capture the transcript anchor before composer focus and restore it after mobile visual-viewport changes, while retaining bottom pinning for readers already at the latest message.
  • Normalize omitted/default swipe indexes while editing so generation cleanup cannot discard the first post-cancel edit.
  • Reconcile failed generations against authoritative chat history and restore the draft only when the submitted user turn was not persisted.
  • Send Chub explicit NSFW inclusion parameters, recognize its canonical NSFW topic, use its filtered result count, and render spaced pagination.
  • Keep Character hover/touch actions in one compact row with Chat matching Copy and Delete.
  • Keep mobile folder counts and Delete actions in one non-overlapping action pill across Characters, Personas, Presets, Lorebooks, Connections, and Agents.
  • Stretch Characters/Personas library artwork to the full height of mobile cards while retaining square desktop cards.
  • Keep pnpm 10.34.5 exact and hash-pinned while allowing only the previous 10.33.2 launcher to complete the one-time update handoff; intermediate versions remain rejected.
  • Add the v2.4.1 What's New announcement, consolidate accumulated release notes, and refresh generated contributor credits.
  • Integrate staging PR #4591 and include its Storyboard fallback fix in the release notes.

Validation

  • pnpm check
  • pnpm localization:check
  • pnpm version:check
  • pnpm credits:check
  • pnpm guard:installer-artifacts
  • Focused Playwright proof on desktop and mobile
  • pnpm regression:prompt
  • Launcher/update regression checks, including 10.33.2 success, 10.34.4 rejection, and 10.34.5 success
  • Android APK build
  • Windows installer workflow build

Manual verification required

  • Manually verify Roleplay scroll retention while opening the software keyboard in Firefox for Android.
  • Manually verify the first message edit after stopping generation on Android.
  • Manually verify a provider-refused prompt remains only in chat history.
  • Manually verify Chub NSFW search and filtered counters against the live upstream service.
  • Manually verify Character action geometry on desktop and mobile.
  • Manually verify folder count/Delete geometry in every affected tab on mobile.
  • Manually verify Characters and Personas library avatar height on mobile.
  • Manually verify an existing staging checkout updates through the pnpm 10.34.5 handoff in one launcher run.
  • Manually verify the v2.4.1 What's New announcement.

Release impact

  • Version metadata was already synchronized at 2.4.1 / Android versionCode 42 on staging.
  • CHANGELOG.md is the official release-note source and contains all changes accumulated for v2.4.1.
  • Tagged workflows will publish the source archive, Windows installer, Android Termux bootstrap APK, and container images.
  • Engine promotion, tagging, and installer publication remain paused until Mari explicitly resumes the release. The separately authorized Marinara-Agents promotion is tracked in Pasta-Devs/Marinara-Agents#241.

Summary by CodeRabbit

  • New Features

    • Added the v2.4.1 release announcement.
    • Improved Chub search with accurate counts, NSFW filtering, labels, and pagination.
    • Added responsive folder counts and streamlined panel controls.
    • Improved mobile card layouts and chat-composer scrolling.
    • Added game-surface capability packages, portable gallery references, Hindi documentation, RTL rendering, and regex prompt targeting.
  • Bug Fixes

    • Improved edited-message handling, failed-prompt recovery, and message-save verification.
    • Fixed responsive artwork, storyboard, conversation, provider-error, duplicate-profile, and image-generation issues.
  • Documentation

    • Updated package-manager migration and troubleshooting guidance.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/4590 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/4/2026 **Status:** ✅ Merged **Merged:** 8/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/4589-v2.4.1-release` --- ### 📝 Commits (10+) - [`637bb8e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/637bb8efc3f04f9d789c73c22e7a69cd69dc3185) Start #4589 and v2.4.1 release - [`8195200`](https://github.com/Pasta-Devs/Marinara-Engine/commit/819520012c2591fe4e1ce8daf09708a7c92c9387) Fix mobile chat retention and responsive library controls - [`8bf1946`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8bf1946ec3681843f9ef67c5ef687c35cc87a218) Merge remote-tracking branch 'origin/staging' into agent/4589-v2.4.1-release - [`1882c68`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1882c68854f49df8b125067d02ed4b8ae45977af) Include latest staging fixes in v2.4.1 notes - [`492e230`](https://github.com/Pasta-Devs/Marinara-Engine/commit/492e230ab9c281b8e3541127a8455e77e0dcb260) Fix final v2.4.1 stabilization issues - [`e2beac9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e2beac9a1116a27ca3e35e7616ea9006fb636f59) Avoid restart during pnpm launcher handoff - [`35de96a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/35de96afa84d168b657918b8c08e25714a8756c7) Address final stabilization review findings - [`d07f19d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d07f19df594c77c3d5a0a6dbd62f4abe082d7660) Polish pnpm handoff troubleshooting wording - [`6b40071`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6b400718896d63d8d724c6699eaed9ed788f16d8) Merge branch 'staging' into agent/4589-v2.4.1-release - [`7629b9e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7629b9eb0a4e0eb27127ed898a9f0d1e67806c67) Fix configured image prompt tag injection ### 📊 Changes **31 files changed** (+739 additions, -149 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+14 -14) 📝 `docs/TROUBLESHOOTING.md` (+3 -3) 📝 `e2e/core-flows.e2e.ts` (+251 -47) 📝 `package.json` (+2 -2) 📝 `packages/client/src/components/bot-browser/BotBrowserView.tsx` (+25 -4) 📝 `packages/client/src/components/characters/CharacterLibraryView.tsx` (+3 -1) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+3 -3) 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+1 -1) 📝 `packages/client/src/components/modals/WhatsNewModal.tsx` (+5 -0) 📝 `packages/client/src/components/panels/AgentsPanel.tsx` (+16 -2) 📝 `packages/client/src/components/panels/CharactersPanel.tsx` (+22 -9) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+19 -12) 📝 `packages/client/src/components/panels/LorebooksPanel.tsx` (+16 -2) 📝 `packages/client/src/components/panels/PersonasPanel.tsx` (+16 -2) 📝 `packages/client/src/components/panels/PresetsPanel.tsx` (+16 -2) 📝 `packages/client/src/hooks/use-chats.ts` (+22 -7) 📝 `packages/client/src/hooks/use-generate.ts` (+43 -4) 📝 `packages/client/src/hooks/use-visual-viewport-chat-bottom.ts` (+78 -7) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/server/src/routes/bot-browser.routes.ts` (+17 -5) _...and 11 more files_ </details> ### 📄 Description ## Linked issues Closes #4589 Closes #4592 Closes #4593 Closes #4594\nCloses #4602 Follow-up to #4581 Translation follow-up: #4596 ## Why this change The v2.4.1 candidate needed a final stabilization pass before release. Mobile Firefox could move a Roleplay transcript to the newest message when the software keyboard opened; post-cancel edits could discard the first confirmation; Chub filtering hid or misreported NSFW results; and provider-refused prompts were restored into the composer even after the user turn had been saved. The same pass fixes responsive library controls, synchronizes the release notes after the latest staging changes, and removes the extra launcher restart some staging testers encountered during the pnpm 10.34.5 handoff. ## What changed - Capture the transcript anchor before composer focus and restore it after mobile visual-viewport changes, while retaining bottom pinning for readers already at the latest message. - Normalize omitted/default swipe indexes while editing so generation cleanup cannot discard the first post-cancel edit. - Reconcile failed generations against authoritative chat history and restore the draft only when the submitted user turn was not persisted. - Send Chub explicit NSFW inclusion parameters, recognize its canonical NSFW topic, use its filtered result count, and render spaced pagination. - Keep Character hover/touch actions in one compact row with Chat matching Copy and Delete. - Keep mobile folder counts and Delete actions in one non-overlapping action pill across Characters, Personas, Presets, Lorebooks, Connections, and Agents. - Stretch Characters/Personas library artwork to the full height of mobile cards while retaining square desktop cards. - Keep pnpm 10.34.5 exact and hash-pinned while allowing only the previous 10.33.2 launcher to complete the one-time update handoff; intermediate versions remain rejected. - Add the v2.4.1 What's New announcement, consolidate accumulated release notes, and refresh generated contributor credits. - Integrate staging PR #4591 and include its Storyboard fallback fix in the release notes. ## Validation - [ ] `pnpm check` - [ ] `pnpm localization:check` - [ ] `pnpm version:check` - [ ] `pnpm credits:check` - [ ] `pnpm guard:installer-artifacts` - [ ] Focused Playwright proof on desktop and mobile - [ ] `pnpm regression:prompt` - [ ] Launcher/update regression checks, including 10.33.2 success, 10.34.4 rejection, and 10.34.5 success - [ ] Android APK build - [ ] Windows installer workflow build ## Manual verification required - [ ] Manually verify Roleplay scroll retention while opening the software keyboard in Firefox for Android. - [ ] Manually verify the first message edit after stopping generation on Android. - [ ] Manually verify a provider-refused prompt remains only in chat history. - [ ] Manually verify Chub NSFW search and filtered counters against the live upstream service. - [ ] Manually verify Character action geometry on desktop and mobile. - [ ] Manually verify folder count/Delete geometry in every affected tab on mobile. - [ ] Manually verify Characters and Personas library avatar height on mobile. - [ ] Manually verify an existing staging checkout updates through the pnpm 10.34.5 handoff in one launcher run. - [ ] Manually verify the v2.4.1 What's New announcement. ## Release impact - Version metadata was already synchronized at 2.4.1 / Android versionCode 42 on staging. - `CHANGELOG.md` is the official release-note source and contains all changes accumulated for v2.4.1. - Tagged workflows will publish the source archive, Windows installer, Android Termux bootstrap APK, and container images. - Engine promotion, tagging, and installer publication remain paused until Mari explicitly resumes the release. The separately authorized Marinara-Agents promotion is tracked in Pasta-Devs/Marinara-Agents#241. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added the v2.4.1 release announcement. * Improved Chub search with accurate counts, NSFW filtering, labels, and pagination. * Added responsive folder counts and streamlined panel controls. * Improved mobile card layouts and chat-composer scrolling. * Added game-surface capability packages, portable gallery references, Hindi documentation, RTL rendering, and regex prompt targeting. * **Bug Fixes** * Improved edited-message handling, failed-prompt recovery, and message-save verification. * Fixed responsive artwork, storyboard, conversation, provider-error, duplicate-profile, and image-generation issues. * **Documentation** * Updated package-manager migration and troubleshooting guidance. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:10:23 +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#6435
No description provided.