mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4644] [MERGED] Preserve Persona imports and structured metadata #6451
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#6451
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/4644
Author: @Xelvanis
Created: 8/5/2026
Status: ✅ Merged
Merged: 8/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/persona-correctness-prerequisites📝 Commits (6)
8066338fix(personas): preserve phonetic names during import57afd68fix(personas): keep optional media failures non-fatal29b662ffix(personas): preserve structured extension metadata4649a6ffix(personas): preserve legacy imports when avatar restore failsbc2ae10Merge branch 'staging' into fix/persona-correctness-prerequisites8ae4b73Merge branch 'staging' into fix/persona-correctness-prerequisites📊 Changes
5 files changed (+108 additions, -43 deletions)
View changed files
📝
packages/client/src/components/modals/ImportPersonaModal.tsx(+1 -0)📝
packages/client/src/lib/stat-icon-assignments.ts(+15 -8)📝
packages/server/src/routes/backup.routes.ts(+27 -14)📝
packages/server/src/services/import/marinara.importer.ts(+61 -20)📝
packages/shared/src/utils/rpg-stats.ts(+4 -1)📄 Description
Linked issue
Closes #4646
except it doesn't because this is part 1 but Github is dumb
Why this change
Persona import and editor paths reconstruct known fields independently. That can silently drop pronunciation data or nested extension metadata, while an optional media failure can incorrectly turn an otherwise successful Persona import into a failure after its row already exists.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands completed:
pnpm --dir packages/client exec tsc --noEmitgit diff --check origin/staging..HEADManual verification notes
Not performed. Before submitting for review:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No documentation, translation, or release-file changes are expected for this internal correctness slice.
UI evidence (if applicable)
Not applicable; this PR does not change the visual interface.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.