mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8094] [MERGED] fix(backups): support large full-backup ZIP directories #8097
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#8097
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8094
Author: @SpicyMarinara
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/8089-large-profile-backup-directory📝 Commits (4)
5191a02chore: start large profile backup directory fix63f7f89fix(backup): bound large full-backup ZIP directories separatelyb93b5f3fix(backup): reject oversized ordinary directories during traversal439143dfix(backups): preflight full directories through bounded read windows📊 Changes
2 files changed (+326 additions, -88 deletions)
View changed files
📝
packages/server/src/routes/backup.routes.ts(+173 -87)📝
scripts/regressions/automatic-backup-retention.regression.ts(+153 -1)📄 Description
Linked issue
Closes #8089
Why this change
A full-profile backup with many nested files can exceed the ordinary 8 MiB ZIP directory limit. Creation then fails after collecting the profile, and the reader cannot restore that archive.
What changed
Validation
Local Node 24.22.1 / macOS arm64:
pnpm install --frozen-lockfile: passed.pnpm check: passed.Human verification tasks:
The automated proof uses disposable files. It does not establish browser-driven restoration of a real user profile or physical-device behavior.
Docs and release impact
No user-facing documentation, storage-format or release version changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.