mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8089] [Issue]: Backups fail when profile ZIP central directory exceeds 8 MiB #7558
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#7558
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 (Oct 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8089
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Automatic and manual backups fail with
ProfileArchiveTooLargeErrorwhen the profile ZIP central directory is 8,388,615 bytes, exceeding the 8,388,608-byte limit.Expected behavior
Automatic and manual backups should complete successfully, or report a clear, actionable way to handle a profile archive that exceeds the supported limit.
Actual behavior
Both automatic and manual backups fail with the same
ProfileArchiveTooLargeError.Steps to reproduce
ProfileArchiveTooLargeError.Environment
25f8df7b0a)Logs, screenshots, or video
Error:
Profile archive central directory is too large for profile ZIP import/export (8388615 bytes, limit 8388608 bytes).Stack includeswriteStoredZipArchive,writeFullBackupArchive, andwriteAutomaticBackup. No screenshots or video provided.Additional context
The error was first noticed around October 19, 2026. The user later confirmed that manual backups fail with the same error.
Discord thread: Automatic backup: Profile archive central directory is too large for profile ZIP import/export error
Discord thread link: https://discord.com/channels/1417099416812392641/1562097886160752740
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Implementation owner: @SpicyMarinara (Codex). I am reproducing the central-directory limit failure in disposable archives and tracing both export and import before changing it. The fix will preserve archive integrity checks, memory bounds and existing backups.
@SpicyMarinara commented on GitHub (Oct 22, 2026):
Resolved by #8094, merged to staging as
0eaca9efe3. Verified reviewed-head ancestry. Full backups now have a bounded 32 MiB directory budget while ordinary/native profile archives keep 8 MiB. Oversized directories are structurally validated before entry materialization, with bounded read windows and the real deferred-note writer order preserved. Final pnpm check, 4/4 backup and 3/3 profile-import regression files pass; all eight required hosted checks and final-head Dottore review passed, and all review threads are resolved. The app/browser-driven and physical-device manual checks remain documented separately.