mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5624] Profile, character, and persona imports reupload or reject large valid archives #3114
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#3114
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?
Originally created by @SpicyMarinara on GitHub (Aug 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5624
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Profile imports upload and parse the selected profile twice: once for the confirmation preview and again for the real import. A single unsupported or corrupt asset also aborts the entire otherwise-valid profile restore. Fixed byte ceilings additionally block legitimate multi-gigabyte profiles and character/persona cards with large image galleries.
Expected behavior
The preview upload should be reused when the user confirms the import. Individual asset files that cannot be safely restored should be skipped with explicit warnings while valid profile tables and assets continue importing. Marinara should not impose arbitrary archive or media byte ceilings on profile, character-card, or persona imports; actual disk, memory, and platform resources remain the practical boundary.
Imported files must still pass path, media-content, integrity, archive-structure, and privileged-access checks. Profile executable content must remain quarantined rather than run during import.
Actual behavior
The Settings > Imports > Profile & Marinara flow sends the same file to
/backup/import-profilefor preview, discards the server-side upload, then uploads it again for import. During asset staging,ProfileImportAssetValidationErroris promoted to a request-level failure, so one unsupported asset aborts every table and asset. Profile archives and character/persona packages also have fixed upload, archive, entry, total, or embedded-gallery byte ceilings.Steps to reproduce
game-assets/sprites/.nativewith invalid contents and observe the whole import fail withProfile asset ... is not a supported image file.Environment
Logs, screenshots, or video
Profile asset game-assets/sprites/.native is not a supported image file.The reported profile is approximately 2 GB and each attempt takes about two hours over a poor Wi-Fi connection. Profiles around 10 GB must remain supported without an application-level size ceiling.
Additional context
@SpicyMarinara owns the implementation.
Template check
@SpicyMarinara commented on GitHub (Aug 29, 2026):
THIS DOES NOT COUNT, HUSBAND IS WORKING ON IT, NOT ME, I AM ON HOLIDAYS, TRUST.
@SpicyMarinara commented on GitHub (Aug 29, 2026):
Resolved on
stagingby #5625 (merge commitce5fd8b87). Profile confirmation now reuses the preview upload, invalid individual assets are skipped with warnings, and profile/character/persona gallery imports no longer use Marinara byte ceilings.@SpicyMarinara commented on GitHub (Aug 29, 2026):
Reopening for an incomplete edge case found during verification: the staged upload currently expires 30 minutes after preview, which can force the same multi-gigabyte archive to be uploaded again. SpicyMarinara/Codex is correcting this so the staged input lives until import, explicit cancellation, or server shutdown.