mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5046] [MERGED] feat(storage): clean up abandoned avatar files #6602
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#6602
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/5046
Author: @SpicyMarinara
Created: 8/15/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/5039-avatar-storage-cleanup📝 Commits (4)
1dc26b4feat(storage): clean up abandoned avatar files6d082a7fix: rate limit avatar storage maintenance4a9f491Merge remote-tracking branch 'origin/staging' into fix/5039-avatar-storage-cleanup1805952Merge remote-tracking branch 'origin/staging' into fix/5039-avatar-storage-cleanup📊 Changes
8 files changed (+362 additions, -9 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+130 -0)📝
packages/client/src/localization/locales/en.json(+16 -0)📝
packages/server/src/middleware/rate-limit.ts(+28 -1)📝
packages/server/src/routes/admin.routes.ts(+26 -4)📝
packages/server/src/services/image/avatar-file-lifecycle.ts(+109 -2)📝
scripts/regressions/avatar-file-deletion.regression.ts(+31 -1)📝
scripts/regressions/request-host-security.regression.ts(+18 -1)📄 Description
Linked issue
Closes #5039
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkpassed.pnpm regression:avatar-deletepassed after building the shared package.pnpm localization:checkpassed.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue openedRisk proof
/api/admin/avatar-storage/abandoned,/api/admin/avatar-storage/cleanup, avatar lifecycle service.Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.