[PR #3686] [MERGED] fix: address v3.2.2 issue batch #6052

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

📋 Pull Request Information

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

Base: staging ← Head: agent/issues-3681-3685-v3.2.2


📝 Commits (6)

  • 1bdfa9f fix game journal portraits and setup timeout
  • b0a43a0 feat add Venice image generation
  • 583211b fix make profile imports atomic
  • f4a6a69 docs update 3.2.2 issue fixes
  • f97b4ff docs align Calls package version
  • d18ad75 fix: address review findings for issue batch

📊 Changes

22 files changed (+867 additions, -103 deletions)

View changed files

📝 CHANGELOG.md (+5 -0)
📝 README.md (+1 -1)
📝 docs/FAQ.md (+1 -1)
📝 docs/media/image-providers.md (+8 -2)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+9 -7)
📝 packages/client/src/components/game/GameJournal.tsx (+4 -5)
📝 packages/client/src/components/game/GameSurface.tsx (+14 -12)
📝 packages/client/src/lib/game-npc-avatar.ts (+11 -0)
📝 packages/client/src/stores/game-mode.store.ts (+11 -5)
📝 packages/server/src/db/file-backed-store.ts (+79 -15)
📝 packages/server/src/routes/backup.routes.ts (+158 -51)
📝 packages/server/src/routes/connections.routes.ts (+26 -0)
📝 packages/server/src/routes/game.routes.ts (+5 -2)
📝 packages/server/src/routes/generate.routes.ts (+2 -0)
📝 packages/server/src/routes/noodle.routes.ts (+1 -0)
📝 packages/server/src/services/game/initial-game-setup.ts (+2 -0)
📝 packages/server/src/services/image/image-generation.ts (+46 -1)
➕ packages/server/src/services/image/venice-image.ts (+152 -0)
➕ packages/server/src/services/import/profile-import-assets.ts (+136 -0)
📝 packages/shared/src/constants/model-lists.ts (+13 -0)

...and 2 more files

📄 Description

Linked issue

Closes #3681
Closes #3682
Closes #3683
Closes #3684
Closes #3685

Why this change

  • This v3.2.2 batch resolves current user-facing Game portrait and setup failures, adds the requested Venice image provider, prevents partial profile restores, and coordinates the package-owned Calls typed-message fix.

What changed

  • Canonicalized Game NPC identity matching so portrait refreshes survive appended reputation labels.
  • Extended only the final Game setup watchdog from 300 to 500 seconds.
  • Added Venice image generation and live image-model discovery with model-aware request sizing and response validation.
  • Staged and validated native-profile assets before mutation, serialized table writes, and added durable row/asset rollback on promotion or flush failure while preserving warning-only missing assets.
  • Added v3.2.2 release notes for #3681–#3685; the downloadable Calls runtime fix is in Pasta-Devs/Marinara-Agents#47.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • pnpm check, pnpm regression:issues, pnpm regression:prompt, pnpm version:check, pnpm credits:check, and git diff --check passed locally.
  • Marinara-Agents Calls v1.0.4 built successfully; its catalog validation and whitespace checks passed.
  • Full pnpm smoke:ui: 61 passed, 39 skipped. The unchanged Roleplay resize test failed its 70 ms transition sample once and passed on focused rerun. The unchanged Hierarchical Maps placement test still records a 404 from its unmocked /api/chats/:id/spatial-context request; that route/test is outside this diff.
  • Human verification remains: refresh an NPC portrait with a reputation label, exercise the 500-second setup boundary, generate through Venice, import a deliberately corrupt profile archive, and install Calls v1.0.4 to send a typed message.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

Updated CHANGELOG.md, README.md, docs/FAQ.md, and docs/media/image-providers.md for v3.2.2 and Venice support. No version bump is included because the repository is already at 3.2.2.

UI evidence (if applicable)

No new layout is introduced; the Game Journal change restores existing portrait behavior.

Summary by CodeRabbit

  • New Features

    • Added Venice.ai as an image-generation provider, including model discovery, supported sizing, and validated image results.
    • Added Venice.ai setup guidance and API key information to documentation.
  • Bug Fixes

    • Improved NPC portrait matching when names include reputation labels.
    • Profile imports now validate assets and roll back safely when failures occur.
    • Conversation Calls no longer save fallback replies after generation failures.
    • Increased the Game setup generation timeout to support larger blueprints.
    • Improved storage reliability during concurrent writes and failed transactions.

🔄 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/3686 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/16/2026 **Status:** ✅ Merged **Merged:** 7/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/issues-3681-3685-v3.2.2` --- ### 📝 Commits (6) - [`1bdfa9f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1bdfa9f84328acbfd5b439010f52988b26999ab9) fix game journal portraits and setup timeout - [`b0a43a0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b0a43a0b7d8629556b6f95740fe8240866ac0260) feat add Venice image generation - [`583211b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/583211b7c19378c5df87db2ec980364b860ce731) fix make profile imports atomic - [`f4a6a69`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f4a6a697d4dce4816891003ceb8118602d01250b) docs update 3.2.2 issue fixes - [`f97b4ff`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f97b4ffc4368edbd8188531dfb73578327aef451) docs align Calls package version - [`d18ad75`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d18ad75d38ad9abf61d7ad319c2e1fe91c9faedb) fix: address review findings for issue batch ### 📊 Changes **22 files changed** (+867 additions, -103 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -0) 📝 `README.md` (+1 -1) 📝 `docs/FAQ.md` (+1 -1) 📝 `docs/media/image-providers.md` (+8 -2) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+9 -7) 📝 `packages/client/src/components/game/GameJournal.tsx` (+4 -5) 📝 `packages/client/src/components/game/GameSurface.tsx` (+14 -12) 📝 `packages/client/src/lib/game-npc-avatar.ts` (+11 -0) 📝 `packages/client/src/stores/game-mode.store.ts` (+11 -5) 📝 `packages/server/src/db/file-backed-store.ts` (+79 -15) 📝 `packages/server/src/routes/backup.routes.ts` (+158 -51) 📝 `packages/server/src/routes/connections.routes.ts` (+26 -0) 📝 `packages/server/src/routes/game.routes.ts` (+5 -2) 📝 `packages/server/src/routes/generate.routes.ts` (+2 -0) 📝 `packages/server/src/routes/noodle.routes.ts` (+1 -0) 📝 `packages/server/src/services/game/initial-game-setup.ts` (+2 -0) 📝 `packages/server/src/services/image/image-generation.ts` (+46 -1) ➕ `packages/server/src/services/image/venice-image.ts` (+152 -0) ➕ `packages/server/src/services/import/profile-import-assets.ts` (+136 -0) 📝 `packages/shared/src/constants/model-lists.ts` (+13 -0) _...and 2 more files_ </details> ### 📄 Description ## Linked issue Closes #3681 Closes #3682 Closes #3683 Closes #3684 Closes #3685 ## Why this change - This v3.2.2 batch resolves current user-facing Game portrait and setup failures, adds the requested Venice image provider, prevents partial profile restores, and coordinates the package-owned Calls typed-message fix. ## What changed - Canonicalized Game NPC identity matching so portrait refreshes survive appended reputation labels. - Extended only the final Game setup watchdog from 300 to 500 seconds. - Added Venice image generation and live image-model discovery with model-aware request sizing and response validation. - Staged and validated native-profile assets before mutation, serialized table writes, and added durable row/asset rollback on promotion or flush failure while preserving warning-only missing assets. - Added v3.2.2 release notes for #3681–#3685; the downloadable Calls runtime fix is in Pasta-Devs/Marinara-Agents#47. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `pnpm check`, `pnpm regression:issues`, `pnpm regression:prompt`, `pnpm version:check`, `pnpm credits:check`, and `git diff --check` passed locally. - Marinara-Agents Calls v1.0.4 built successfully; its catalog validation and whitespace checks passed. - Full `pnpm smoke:ui`: 61 passed, 39 skipped. The unchanged Roleplay resize test failed its 70 ms transition sample once and passed on focused rerun. The unchanged Hierarchical Maps placement test still records a 404 from its unmocked `/api/chats/:id/spatial-context` request; that route/test is outside this diff. - Human verification remains: refresh an NPC portrait with a reputation label, exercise the 500-second setup boundary, generate through Venice, import a deliberately corrupt profile archive, and install Calls v1.0.4 to send a typed message. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) Updated `CHANGELOG.md`, `README.md`, `docs/FAQ.md`, and `docs/media/image-providers.md` for v3.2.2 and Venice support. No version bump is included because the repository is already at 3.2.2. ## UI evidence (if applicable) No new layout is introduced; the Game Journal change restores existing portrait behavior. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Venice.ai as an image-generation provider, including model discovery, supported sizing, and validated image results. * Added Venice.ai setup guidance and API key information to documentation. * **Bug Fixes** * Improved NPC portrait matching when names include reputation labels. * Profile imports now validate assets and roll back safely when failures occur. * Conversation Calls no longer save fallback replies after generation failures. * Increased the Game setup generation timeout to support larger blueprints. * Improved storage reliability during concurrent writes and failed transactions. <!-- 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:37 +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#6052
No description provided.