Repository navigation
Follow-ups from the review of the backup changes - #3741
Merged
pournasserian merged 2 commits intoNov 30, 2026
Merged
Conversation
pournasserian
enabled auto-merge (squash)
November 30, 2026 17:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3724 and #3725, follow-ups from the review of #3734.
What
--allow-incomplete-media:fluentcms backupwrites the archive when a local original named by the database snapshot is missing or changed, and lists each one as anFCMS3255warning (the first 10, then a count). Without the flag the backup still fails withFCMS3255and keeps the previous archive; the error gives the number of affected originals and names the flag. Thefluentcmstool passes the flag to the host.FCMS3254. There is no file to copy and none the archive could replace; an original that names it still fails verification.docs/superpowers/plans/2026-11-27-preview-stability.md: a working plan, not documentation.docs/backups.mdupdated for the flag and for dangling links.Why
With #3734, one lost original (removed by hand, or left by a media purge stopped between deleting the file and its row) made every backup fail, database included, until storage was repaired by hand. A broken link anywhere in the media folder did the same. Verification doubled the backup's IO on large media libraries.
Tests
BackupWithAllowIncompleteMediaWritesTheArchiveAndListsTheLostOriginals: refused without the flag, written with the database and the remaining originals with it.ADanglingMediaFileLinkIsLeftOutRatherThanRefused: skipped locally on Windows without the symlink privilege, so it runs only in CI on Linux.ParserTests: the flag is passed through.BackupCommandTests25 passed, 2 skipped (platform/provider);BackupDestinationTests10 passed, 6 skipped (symlinks);ParserTests105 passed.