mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4347] [MERGED] fix: reconcile Noodle accounts during profile import #6342
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#6342
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/4347
Author: @Gunterlie
Created: 7/31/2026
Status: ✅ Merged
Merged: 7/31/2026
Merged by: @Gunterlie
Base:
staging← Head:noodle-account-reconciliation📝 Commits (3)
bc1877ffix: reconcile Noodle accounts during profile importbf8c3f0fix: reconcile Noodle accounts during profile import4a6cb23Merge branch 'staging' into noodle-account-reconciliation📊 Changes
5 files changed (+512 additions, -5 deletions)
View changed files
📝
package.json(+1 -1)📝
packages/server/src/routes/backup.routes.ts(+10 -4)➕
packages/server/src/services/import/profile-import-errors.ts(+1 -0)➕
packages/server/src/services/import/profile-import-noodle.ts(+305 -0)➕
scripts/regressions/profile-import-noodle.regression.ts(+195 -0)📄 Description
Linked issue
Closes #4344
Why this change
Native profile imports treated an exported Noodle account ID as the only identity. A fresh destination could already contain the same logical account under a generated ID, causing the imported row to collide on its unique handle and abort the whole import.
What changed
(platform, kind, entityId)before applying the snapshot.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/profile-import-noodle.regression.tspnpm buildpnpm checkreached the client lint stage but exceeded the 120-second command timeout; the client lint was rerun independently and passed.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not applicable; this changes the server-side profile import planner and regression coverage.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.