[PR #7892] [MERGED] fix(backup): skip package tables when a profile import is checked #7989

Closed
opened 2026-10-24 04:09:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7892
Author: @Gunterlie
Created: 10/20/2026
Status: ✅ Merged
Merged: 10/20/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/profile-import-skip-package-tables


📝 Commits (2)

  • afb9fee fix(backup): skip package tables when a profile import is checked
  • fec1a24 fix(backup): leave package tables out of profile import counts

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 packages/server/src/routes/backup.routes.ts (+4 -1)

📄 Description

Why

A user could not import their profile zip on a new PC. The import stopped with Profile table slurp2_account_subscriptions is not supported. When they removed that file from the zip, the import said it could not find the file, so they had no way forward.

No linked issue. This comes from a user report.

What changed

  • The profile import check (validateProfileStorageTableInputs) now skips tables that a package registered, such as Slurp2 tables. Before, it threw an error for them.
  • The profile export and the row-write step already skip these tables, because a profile does not keep package data. This makes the check do the same.

Manual verification

  • Manually verify that a profile zip with profile-tables/slurp2_account_subscriptions.jsonl imports on an install with Slurp2 installed.
  • Manually verify that the normal profile tables (chats, characters, personas) still import from that zip.

Summary by CodeRabbit

  • Bug Fixes
    • Profile imports now handle package-registered tables that are absent from the static profile schema without rejecting them as unsupported.
    • These tables are consistently skipped during preview counts, item counts, validation, and data writing.

🔄 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/7892 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/20/2026 **Status:** ✅ Merged **Merged:** 10/20/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/profile-import-skip-package-tables` --- ### 📝 Commits (2) - [`afb9fee`](https://github.com/Pasta-Devs/Marinara-Engine/commit/afb9fee4968ef99933eb15015ff4c275906beaf0) fix(backup): skip package tables when a profile import is checked - [`fec1a24`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fec1a24571185b238d2f5ec945d8f724ca57f47d) fix(backup): leave package tables out of profile import counts ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/routes/backup.routes.ts` (+4 -1) </details> ### 📄 Description ## Why A user could not import their profile zip on a new PC. The import stopped with `Profile table slurp2_account_subscriptions is not supported.` When they removed that file from the zip, the import said it could not find the file, so they had no way forward. No linked issue. This comes from a user report. ## What changed - The profile import check (`validateProfileStorageTableInputs`) now skips tables that a package registered, such as Slurp2 tables. Before, it threw an error for them. - The profile export and the row-write step already skip these tables, because a profile does not keep package data. This makes the check do the same. ## Manual verification - [ ] Manually verify that a profile zip with `profile-tables/slurp2_account_subscriptions.jsonl` imports on an install with Slurp2 installed. - [ ] Manually verify that the normal profile tables (chats, characters, personas) still import from that zip. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Profile imports now handle package-registered tables that are absent from the static profile schema without rejecting them as unsupported. * These tables are consistently skipped during preview counts, item counts, validation, and data writing. <!-- 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-24 04:09:27 +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#7989
No description provided.