mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2203] [MERGED] Fix managed character gallery export #5467
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#5467
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/2203
Author: @cha1latte
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2130-gallery-export📝 Commits (2)
33b6a43Fix managed character gallery export7a7c7c9Record issue 2130 PR metadata📊 Changes
3 files changed (+294 additions, -42 deletions)
View changed files
📝
scratch/bugfix-verification.json(+77 -32)📝
src-tauri/src/commands/storage/exports.rs(+164 -10)📝
src-tauri/src/commands/storage/imports/marinara_tests.rs(+53 -0)📄 Description
Linked issue
Closes #2130
Why this change
.marinaracharacter export skipped gallery images uploaded through the managed-gallery flow because those rows store an asset URL instead of an inlinedata:image/...URL.What changed
character-galleryfiles from the app-owned gallery directory and embeds them into the.marinaraenvelope as data URLs.Refactor impact
Primary owner:
Rust storage / native character import-export
Impact areas reviewed:
src-tauri/src/commands/storage/exports.rssrc-tauri/src/commands/storage/imports/marinara_tests.rsBoundary notes:
src-tauri; no React, engine, shared API, remote-runtime, schema, dependency, or version files changed.Pressure points touched:
.marinaracharacter export gallery assembly.marinaracharacter import regression coverageValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test --manifest-path src-tauri\Cargo.toml gallery_assets -- --nocapture: the new managed-export regression failed becausegallery_for_characterreturned 0 items for a managed gallery row.cargo test --manifest-path src-tauri\Cargo.toml gallery -- --nocapture: 17 gallery-focused Rust tests passed.cargo check --manifest-path src-tauri\Cargo.toml: passed.pnpm install --frozen-lockfilein the isolated worktree becausenode_moduleswas absent, with no dependency declaration changes.pnpm check: passed.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json: passed.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A. This is a Rust storage/native import-export bug with no meaningful visible UI state; command proof is recorded above and in
scratch/bugfix-verification.json.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.