mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8236] [Feature]: Allow users to configure Personal Extension revision history retention #8171
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#8171
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 @minikkeuen on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8236
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Personal and External Extensions currently retain up to 10 previous revisions, with no option to change this limit.
Each revision stores a copy of the extension's code, including JavaScript, CSS, and server-side JavaScript. Extensions that are frequently updated can accumulate unnecessary historical data, increasing storage usage.
Users who rarely need revision history, or who prefer to keep fewer backups, cannot reduce this overhead.
Proposed solution
Add a configurable revision history retention limit for Personal and External Extensions.
The setting could be placed under Settings → Addons → Extension revision history.
Alternatives considered
Keep the existing fixed limit of 10 revisions
This preserves the current behavior but does not allow users to reduce unnecessary storage usage.
Remove revision history entirely
This would reduce storage usage but eliminate a useful recovery feature.
Automatically prune revisions based on age or storage size
This could provide more flexibility but would introduce additional complexity compared to a simple retention count.
A configurable limit of 0–10 revisions provides a straightforward solution while maintaining backward compatibility.
Additional context
This proposal concerns the existing Personal and External Extension revision history system, not Capability Packages.
Reducing the retention limit would affect only stored historical revisions. Current extension code and user data would remain unchanged.
The proposed default of 10 ensures that existing users experience no change unless they explicitly adjust the setting.
Template check
@SpicyMarinara commented on GitHub (Oct 25, 2026):
Owner: @SpicyMarinara / Codex. I am addressing this in the assigned issue sweep on
fix/sweep-mobile-settings-20261025, targetingstaging. I will link the draft PR as soon as the first focused change is published.@SpicyMarinara commented on GitHub (Oct 25, 2026):
Implementation/investigation is in assigned draft PR #8302, targeting
staging. Owner: @SpicyMarinara / Codex.@SpicyMarinara commented on GitHub (Oct 25, 2026):
Implemented in #8302, merged to staging as
51c7e9edac. Settings → Addons now offers global revision retention from 0–10 (default 10). Lowering retention or pruning surplus imported revisions requires confirmation; transactional proofs preserve active code, approval and saved data. Required PR gates and current-head review passed.