mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4760] [Cleanup] (v2.4.3 or later): Remove pre-sharding storage compat code once the format-4 release settles #2620
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#2620
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 @kolacheee on GitHub (Aug 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4760
Originally assigned to: @kolacheee on GitHub.
Reminder issue per the approved plan on #4708 (maintainer decision: delete old-format compat code in a later cleanup PR).
Once the sharding release (#4735 + #4738 + #4754, storage format 4) has been out long enough that supporting direct upgrades from pre-sharding installs is no longer needed, a cleanup PR can remove:
migrateShardedTables/migrateMonolithToShardsand the five-state migration classifier inpackages/server/src/db/file-backed-store.ts(incl. the.migratingsentinel handling andbuildMigrationIndexFromShards)storage-format.json-means-format-2 fallback in both guard twins (scripts/protect-launcher-data.mjsandpackages/server/src/routes/updates.routes.ts) once no supported target predates the filescripts/regressions/message-sharding.regression.ts/launcher-format-guard.regression.mjsDo not do this before at least one (ideally several) stable releases carry the migration - the compat code is what upgrades users through the boundary. The
unshardcommand should stay (it is the documented downgrade escape hatch, not compat code).Blocked until the sharding release ships and has settled.
@kolacheee commented on GitHub (Aug 8, 2026):
saving this for 2.4.3 just to ensure Stable users have a full version of time to decide to keep, delete, or move backups.