[GH-ISSUE #1484] Smoke test: Heavy Data / Legacy / Import Pass #740

Closed
opened 2026-10-20 17:32:36 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1484

Originally assigned to: @Romuromylus on GitHub.

ASSIGNED TO ROMU
Please take Smoke test: Heavy Data / Legacy / Import Pass.

Use copies/backups only. Do not run this on the only copy of real user data.

Setup:

  • Tester:
  • Branch/commit:
  • OS:
  • Run mode: Tauri desktop / Web-Vite
  • Dataset/setup:
  • Backup/copy location:

Note for Romu: This one might be a bit... weird? See what you're able to get out of it. Mari has a copy of her dataset you can use here if you like: https://discord.com/channels/1417099416812392641/1490369703280115855/1509608426093674526

I totally expect this one to be messier, so just ping me about anything you were unsure about or couldn't figure out/confirm.

Checks:

  • PASS / [ ] FAIL - I can launch with a copied heavy or legacy dataset without data disappearing or mutating unexpectedly.
  • PASS / [ ] FAIL - I can open large chat histories and scroll without severe layout or performance failure.
  • PASS / [ ] FAIL - I can open characters, lorebooks, presets, personas, assets, and knowledge records from the copied dataset.
  • PASS / [ ] FAIL - I can import valid supported files and get clear errors for invalid/unsupported files.
  • PASS / [ ] FAIL - I can confirm missing assets, large assets, and deleted disposable items behave clearly.

If something fails, file one GitHub issue per distinct failure and link it back to the project card.

Originally created by @cha1latte on GitHub (May 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1484 Originally assigned to: @Romuromylus on GitHub. ASSIGNED TO ROMU Please take **Smoke test: Heavy Data / Legacy / Import Pass**. Use copies/backups only. Do not run this on the only copy of real user data. Setup: - Tester: - Branch/commit: - OS: - Run mode: Tauri desktop / Web-Vite - Dataset/setup: - Backup/copy location: Note for Romu: This one might be a bit... weird? See what you're able to get out of it. Mari has a copy of her dataset you can use here if you like: https://discord.com/channels/1417099416812392641/1490369703280115855/1509608426093674526 I totally expect this one to be messier, so just ping me about anything you were unsure about or couldn't figure out/confirm. Checks: - [ ] PASS / [ ] FAIL - I can launch with a copied heavy or legacy dataset without data disappearing or mutating unexpectedly. - [ ] PASS / [ ] FAIL - I can open large chat histories and scroll without severe layout or performance failure. - [ ] PASS / [ ] FAIL - I can open characters, lorebooks, presets, personas, assets, and knowledge records from the copied dataset. - [ ] PASS / [ ] FAIL - I can import valid supported files and get clear errors for invalid/unsupported files. - [ ] PASS / [ ] FAIL - I can confirm missing assets, large assets, and deleted disposable items behave clearly. If something fails, file one GitHub issue per distinct failure and link it back to the project card.
Author
Owner

@Romuromylus commented on GitHub (May 29, 2026):

Smoke test complete. Mixed result: normal-size legacy import and catalog browsing work well, but heavy import and the import safety model have problems. Three failure issues filed (#1511, #1512, #1513).

Setup:

  • Tester: Romu
  • Branch/commit: refactor @ ef244c80
  • OS: Windows 11
  • Run mode: Tauri desktop (pnpm tauri dev), driven over WebView2 CDP
  • Dataset/setup:
    • (A) A legacy profile backup from a self-hosted instance of the current staging build (SQLite-migrated file-native data: 31 characters, 32 lorebooks, 1492 lorebook entries, 5 chats, plus avatar/gallery/background assets).
    • (B) Mari's heavy export: 690 chats, 54,354 messages, ~260MB, including one chat whose record is 74.7MB on its own.
  • Backup/copy location: tested against a clean app-data dir; original data backed up and restored afterward. Copies only.

Checks:

  • FAIL - I can launch with a copied heavy or legacy dataset without data disappearing or mutating unexpectedly. Legacy normal-size import (A) loads cleanly, but (1) Mari's full heavy export cannot be imported at all because the profile JSON exceeds the 128MB read cap (#1511), and (2) Import Profile is a destructive full-replace with no warning that also wipes collections absent from the file (#1512).
  • PASS - I can open large chat histories and scroll without severe layout or performance failure. Opened a 1000+ message group chat; windowed rendering plus "Load More" keeps it responsive; scrolling is smooth. First open of a heavy chat took about 5s to render, noticeable but not a failure.
  • PASS - I can open characters, lorebooks, presets, personas, assets, and knowledge records from the copied dataset. All catalog sections open with no crash; imported avatars/gallery render; the previously reported lorebook tags crash on open is fixed (lorebook-level tags normalize to arrays). Caveat: imported lorebook entry fields are mis-normalized, see #1513.
  • PASS - I can import valid supported files and get clear errors for invalid/unsupported files. Valid .zip/.json profiles import; bad extension, missing file, malformed zip, wrong-type envelope, and oversized profile all return clear, specific errors.
  • PASS - I can confirm missing assets, large assets, and deleted disposable items behave clearly. Group chats referencing characters that were not imported degrade gracefully (message content renders, no crash). The 74.7MB chat record is rejected with a clear "too large" error rather than hanging. Note: I did not exercise explicit deletion of disposable items in this pass.

Distinct failures filed:

  • #1511 - Heavy profiles cannot be imported (128MB marinara-profile.json cap).
  • #1512 - Import Profile is a destructive full-replace with no confirmation, wipes collections absent from the file.
  • #1513 - Legacy import leaves boolean/array lorebook-entry fields as strings (editor shows wrong toggle state; activation logic affected).

These three are tagged with the project board in their bodies. They could not be auto-added to the board from CLI (token scope), so they may need to be dropped onto https://github.com/orgs/Pasta-Devs/projects/4 manually.

<!-- gh-comment-id:4573830041 --> @Romuromylus commented on GitHub (May 29, 2026): Smoke test complete. Mixed result: normal-size legacy import and catalog browsing work well, but heavy import and the import safety model have problems. Three failure issues filed (#1511, #1512, #1513). Setup: - Tester: Romu - Branch/commit: refactor @ ef244c80 - OS: Windows 11 - Run mode: Tauri desktop (`pnpm tauri dev`), driven over WebView2 CDP - Dataset/setup: - (A) A legacy profile backup from a self-hosted instance of the current staging build (SQLite-migrated file-native data: 31 characters, 32 lorebooks, 1492 lorebook entries, 5 chats, plus avatar/gallery/background assets). - (B) Mari's heavy export: 690 chats, 54,354 messages, ~260MB, including one chat whose record is 74.7MB on its own. - Backup/copy location: tested against a clean app-data dir; original data backed up and restored afterward. Copies only. Checks: - [ ] FAIL - I can launch with a copied heavy or legacy dataset without data disappearing or mutating unexpectedly. Legacy normal-size import (A) loads cleanly, but (1) Mari's full heavy export cannot be imported at all because the profile JSON exceeds the 128MB read cap (#1511), and (2) Import Profile is a destructive full-replace with no warning that also wipes collections absent from the file (#1512). - [x] PASS - I can open large chat histories and scroll without severe layout or performance failure. Opened a 1000+ message group chat; windowed rendering plus "Load More" keeps it responsive; scrolling is smooth. First open of a heavy chat took about 5s to render, noticeable but not a failure. - [x] PASS - I can open characters, lorebooks, presets, personas, assets, and knowledge records from the copied dataset. All catalog sections open with no crash; imported avatars/gallery render; the previously reported lorebook tags crash on open is fixed (lorebook-level tags normalize to arrays). Caveat: imported lorebook entry fields are mis-normalized, see #1513. - [x] PASS - I can import valid supported files and get clear errors for invalid/unsupported files. Valid .zip/.json profiles import; bad extension, missing file, malformed zip, wrong-type envelope, and oversized profile all return clear, specific errors. - [x] PASS - I can confirm missing assets, large assets, and deleted disposable items behave clearly. Group chats referencing characters that were not imported degrade gracefully (message content renders, no crash). The 74.7MB chat record is rejected with a clear "too large" error rather than hanging. Note: I did not exercise explicit deletion of disposable items in this pass. Distinct failures filed: - #1511 - Heavy profiles cannot be imported (128MB marinara-profile.json cap). - #1512 - Import Profile is a destructive full-replace with no confirmation, wipes collections absent from the file. - #1513 - Legacy import leaves boolean/array lorebook-entry fields as strings (editor shows wrong toggle state; activation logic affected). These three are tagged with the project board in their bodies. They could not be auto-added to the board from CLI (token scope), so they may need to be dropped onto https://github.com/orgs/Pasta-Devs/projects/4 manually.
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#740
No description provided.