[PR #3731] [MERGED] fix: prepare v2.3.3 critical stability update #6075

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3731
Author: @SpicyMarinara
Created: 7/17/2026
Status: ✅ Merged
Merged: 7/17/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/v2.3.3-critical-regressions


📝 Commits (3)

  • 3799f87 fix: prepare v2.3.3 critical stability update
  • be24422 fix: validate capability migration markers
  • 5dff846 Merge remote-tracking branch 'origin/staging' into codex/v2.3.3-critical-regressions

📊 Changes

28 files changed (+421 additions, -190 deletions)

View changed files

📝 CHANGELOG.md (+14 -0)
📝 README.md (+1 -1)
📝 android/app/build.gradle (+3 -3)
📝 package.json (+1 -1)
📝 packages/client/package.json (+1 -1)
📝 packages/client/public/manifest.json (+1 -1)
📝 packages/client/src/components/chat/ChatInput.tsx (+10 -9)
📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+3 -3)
📝 packages/client/src/components/game/GameSurface.tsx (+8 -15)
📝 packages/client/src/components/modals/WhatsNewModal.tsx (+6 -0)
📝 packages/client/src/stores/ui.store.ts (+9 -7)
📝 packages/server/package.json (+1 -1)
📝 packages/server/src/routes/chats.routes.ts (+23 -9)
📝 packages/server/src/routes/game.routes.ts (+29 -26)
📝 packages/server/src/routes/generate.routes.ts (+34 -19)
📝 packages/server/src/routes/generate/dry-run-route.ts (+4 -10)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+12 -8)
📝 packages/server/src/routes/lorebooks.routes.ts (+3 -6)
📝 packages/server/src/services/capability-packages/package-manager.service.ts (+60 -33)
➕ packages/server/src/services/spatial-context/activation.ts (+17 -0)

...and 8 more files

📄 Description

Why

The v2.3.2 upgrade could select Hierarchical Maps in chats that had never enabled it, and Maps service calls were not consistently gated by the chat-level Enable Agents switch. Users then encountered recurring Game tracker flush failures and, with an older Maps runtime, t.select is not a function crashes. Separately, persisted Character-panel filters could make a complete library appear truncated after reopening Marinara.

This draft prepares the v2.3.3 critical stability update without publishing or merging the release.

What changed

  • Includes the tested Hierarchical Maps selection correction from #3724, preserving chats with real map definitions or snapshots.
  • Requires both Enable Agents and the per-chat Maps selection before client or server spatial services run.
  • Applies that gate to generation, retries, previews, lorebook scans, Game tracker patches, session carryover, checkpoints, and assistant-state materialization.
  • Quarantines incompatible Hierarchical Maps 1.0.0, 1.0.3, and 1.0.6 runtimes before their legacy database adapter can load.
  • Resets stale Character-panel search, tag, favorite, and scroll filters on upgrade and keeps those transient filters session-only.
  • Synchronizes v2.3.3 metadata, Android versionCode 38, What's New copy, release notes, installers, and generated credits.

Closes #3723.

Validation

  • pnpm regression:spatial
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/capability-package-lifecycle.regression.ts
  • pnpm check
  • pnpm version:check
  • pnpm credits:check

Manual verification still required

  • Manually verify a Roleplay chat with Maps selected and Enable Agents off does not show or call Maps controls.
  • Manually verify sending a Game message with pending tracker edits no longer reports a game-state patch callback flush failure.
  • Manually verify an upgraded profile opens the Character panel with the full unfiltered collection.
  • Manually verify Maps package 1.1.4 installs or updates and opens normally on Engine v2.3.3.
  • Manually verify Windows, Android, PWA/iOS, macOS, and Linux release artifacts before publishing v2.3.3.

Release state

Draft only. Do not tag, publish, merge to main, or deploy this version from this PR yet.

Summary by CodeRabbit

  • Release

    • Updated the stable release to version 2.3.3 across supported platforms and installers.
    • Added release information to the “What’s New” experience.
  • Bug Fixes

    • Improved Hierarchical Maps activation and prevented use in inactive or unsupported chats.
    • Prevented crashes and blocked game-state updates caused by incompatible map runtimes.
    • Corrected accidental map selections from previous migrations.
    • Reset stale Character panel filters after updating while preserving sorting preferences.

🔄 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/3731 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/17/2026 **Status:** ✅ Merged **Merged:** 7/17/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/v2.3.3-critical-regressions` --- ### 📝 Commits (3) - [`3799f87`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3799f87b3dac8188ac6da47aeef8d0b6ad751513) fix: prepare v2.3.3 critical stability update - [`be24422`](https://github.com/Pasta-Devs/Marinara-Engine/commit/be24422454755bbd707fad2558a1f4cb42454266) fix: validate capability migration markers - [`5dff846`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5dff846fade611014c5c4cc80c2a32008c23f21d) Merge remote-tracking branch 'origin/staging' into codex/v2.3.3-critical-regressions ### 📊 Changes **28 files changed** (+421 additions, -190 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+14 -0) 📝 `README.md` (+1 -1) 📝 `android/app/build.gradle` (+3 -3) 📝 `package.json` (+1 -1) 📝 `packages/client/package.json` (+1 -1) 📝 `packages/client/public/manifest.json` (+1 -1) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+10 -9) 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+3 -3) 📝 `packages/client/src/components/game/GameSurface.tsx` (+8 -15) 📝 `packages/client/src/components/modals/WhatsNewModal.tsx` (+6 -0) 📝 `packages/client/src/stores/ui.store.ts` (+9 -7) 📝 `packages/server/package.json` (+1 -1) 📝 `packages/server/src/routes/chats.routes.ts` (+23 -9) 📝 `packages/server/src/routes/game.routes.ts` (+29 -26) 📝 `packages/server/src/routes/generate.routes.ts` (+34 -19) 📝 `packages/server/src/routes/generate/dry-run-route.ts` (+4 -10) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+12 -8) 📝 `packages/server/src/routes/lorebooks.routes.ts` (+3 -6) 📝 `packages/server/src/services/capability-packages/package-manager.service.ts` (+60 -33) ➕ `packages/server/src/services/spatial-context/activation.ts` (+17 -0) _...and 8 more files_ </details> ### 📄 Description ## Why The v2.3.2 upgrade could select Hierarchical Maps in chats that had never enabled it, and Maps service calls were not consistently gated by the chat-level **Enable Agents** switch. Users then encountered recurring Game tracker flush failures and, with an older Maps runtime, `t.select is not a function` crashes. Separately, persisted Character-panel filters could make a complete library appear truncated after reopening Marinara. This draft prepares the v2.3.3 critical stability update without publishing or merging the release. ## What changed - Includes the tested Hierarchical Maps selection correction from #3724, preserving chats with real map definitions or snapshots. - Requires both **Enable Agents** and the per-chat Maps selection before client or server spatial services run. - Applies that gate to generation, retries, previews, lorebook scans, Game tracker patches, session carryover, checkpoints, and assistant-state materialization. - Quarantines incompatible Hierarchical Maps 1.0.0, 1.0.3, and 1.0.6 runtimes before their legacy database adapter can load. - Resets stale Character-panel search, tag, favorite, and scroll filters on upgrade and keeps those transient filters session-only. - Synchronizes v2.3.3 metadata, Android `versionCode` 38, What's New copy, release notes, installers, and generated credits. Closes #3723. ## Validation - `pnpm regression:spatial` - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/capability-package-lifecycle.regression.ts` - `pnpm check` - `pnpm version:check` - `pnpm credits:check` ## Manual verification still required - [ ] Manually verify a Roleplay chat with Maps selected and **Enable Agents** off does not show or call Maps controls. - [ ] Manually verify sending a Game message with pending tracker edits no longer reports a game-state patch callback flush failure. - [ ] Manually verify an upgraded profile opens the Character panel with the full unfiltered collection. - [ ] Manually verify Maps package 1.1.4 installs or updates and opens normally on Engine v2.3.3. - [ ] Manually verify Windows, Android, PWA/iOS, macOS, and Linux release artifacts before publishing v2.3.3. ## Release state Draft only. Do not tag, publish, merge to `main`, or deploy this version from this PR yet. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Release** * Updated the stable release to version 2.3.3 across supported platforms and installers. * Added release information to the “What’s New” experience. * **Bug Fixes** * Improved Hierarchical Maps activation and prevented use in inactive or unsupported chats. * Prevented crashes and blocked game-state updates caused by incompatible map runtimes. * Corrected accidental map selections from previous migrations. * Reset stale Character panel filters after updating while preserving sorting preferences. <!-- 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:06:51 +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#6075
No description provided.