mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6091] [Issue]: Full-backup imports regress to a 2 GiB upload cap #3375
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#3375
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 (Sep 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6091
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Full-backup ZIP imports are again capped at 2 GiB by the multipart upload limit, despite the existing streamed ZIP64 backup/restore support. The maintainer reports that many users have larger backups and requests removing this regression.
Expected behavior
Import Profile accepts full backups larger than 2 GiB using the existing streaming upload and restore path.
Actual behavior
The upload is limited to 2,147,483,648 bytes before the archive reader can inspect the backup. The route also declares the same aggregate request limit.
Steps to reproduce
Environment
Logs, screenshots, or video
No additional logs supplied. In
backup.routes.ts,readProfileImportRequestpassesPROFILE_IMPORT_ARCHIVE_LIMIT_BYTESto multipartfileSize; the constant is 2 GiB.Additional context
Regresses the full-backup import allowance established by #4982. SpicyMarinara / Codex is addressing this in #6082. The existing JSON and archive-entry validation remain applicable.
Template check
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Fixed on staging by #6082. The 2 GiB aggregate backup upload cap is removed. Verified with an actual 2,147,484,143-byte HTTP upload, successful preview/import and byte-identical restored media; JSON, archive-entry and path/security validation remain in place.