Skip to content

Retire the LiteFS Cloud command pages - #2530

Merged
kcmartin merged 1 commit into
mainfrom
retire-litefs-cloud-cmd-pages
Oct 5, 2026
Merged

kcmartin merged 1 commit into
mainfrom
retire-litefs-cloud-cmd-pages

Conversation

@kcmartin

@kcmartin kcmartin commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

docs.fly.io currently publishes flag references for eleven fly litefs-cloud commands that are not in the binary. Lillian removed them from flyctl on 8 September in superfly/flyctl#5187, with the note "this has been dead code for a long time", and the LiteFS Cloud service itself was retired on 15 October 2024.

Companion to superfly/flyctl#5287, which unfreezes the generated reference. That PR deliberately leaves --delete out of the sync so these deletions happen here, reviewed, rather than unannounced on the first run.

Deleted rather than annotated, and that was the choice. Keeping them with the existing litefs-sunset snippet would have cost no redirects, which is how the unmanaged Postgres guides were archived. The difference is that those guides describe an architecture people still run, so the page retains standalone value. A flag list for a command that does not execute does not clear that bar, and the explanation someone actually needs already exists on litefs/cloud-backups, which carries the sunset warning and links the community post.

On redirect count, this is an increase and I want to be straight about it. 604 to 615. The eleven redirects that pointed into these pages now point at /litefs/cloud-backups, which costs nothing. The eleven /flyctl/cmd/fly_litefs-cloud* URLs are live and returning 200 today, so deleting the pages without redirecting them would turn working URLs into 404s. Eleven new entries is the price of not doing that. A wildcard would collapse them, and docs.json has one :slug* precedent, but the pattern needed here does not fall on a path-segment boundary so I did not risk it.

Verified before pushing. No nav reference to any deleted page remains, checked by walking the navigation tree rather than grepping. No redirect points into a deleted page. The fly litefs-cloud group and its nested fly litefs-cloud clusters group are both gone. docs.json still parses, and I edited it surgically rather than reserializing, so the diff is the eleven destinations plus the new entries rather than 604 reformatted lines.

LiteFS the project is untouched. Only the Cloud service was retired, which the snippet says explicitly, so litefs/index and the rest of that section are unchanged. Nothing was pointed at the LiteFS index for that reason: it describes a product that still exists.

What this leaves. flyctl/cmd now holds 305 pages. The generator produces 305. The sets differ by two: fly.mdx is a duplicate of the root page that nothing links to, and fly_wireguard_token-mode is a new command the first sync will add. The duplicate is a separate question from retirement, so it is not in this PR, and it is the remaining reason --delete cannot go back yet.

Lillian removed these commands from flyctl on 8 September in
superfly/flyctl#5187, with the note "this has been dead code for a long
time". The LiteFS Cloud service itself was retired on 15 October 2024.
The docs half never caught up, so docs.fly.io has been publishing flag
references for eleven commands that are not in the binary.

Deleted rather than annotated. The explanation already exists on
litefs/cloud-backups, which carries the sunset warning and the community
post, and nobody can act on a flag list for a command that does not run.
Archiving in place, as the unmanaged Postgres guides were, suits a page
that still has standalone value; this does not.

The eleven redirects that pointed into these pages now point at
litefs/cloud-backups, and the eleven /flyctl/cmd/ URLs are redirected
there too, since they are live today and would otherwise 404. That is 615
redirects where there were 604. The increase is deliberate: the
alternative is breaking URLs that work.

LiteFS the project is not affected and its pages are untouched. The nav
group and its nested clusters group are gone, with no dangling references
left in docs.json.
@mintlify

mintlify Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
fly-io 🟢 Ready View Preview Oct 5, 2026, 7:59 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@kcmartin
kcmartin merged commit 017010b into main Oct 5, 2026
2 of 3 checks passed
@kcmartin
kcmartin deleted the retire-litefs-cloud-cmd-pages branch October 5, 2026 20:29
kcmartin added a commit to superfly/flyctl that referenced this pull request Oct 8, 2026
* Restore --delete to the docs sync

Left out of #5287 because the first sync would have removed 12 pages that
docs.json nav and 15 redirects still pointed at. Those have landed:
superfly/docs#2530 retired the litefs-cloud pages and #2535 the duplicate
root page.

Verified before restoring: generating from master and comparing against
superfly/docs main gives identical page sets, 305 each, and zero changed
pages. So --delete removes nothing today, and from now on a command
removed from flyctl stops being documented.

* Refuse to sync when the generator produced almost nothing

Neither script uses set -e and out/ is cleared before generating, so a
failed generator leaves out/ empty and the rsync, now with --delete, would
remove every page. The review requirement would catch the resulting PR,
but the script should not rely on that.

A floor rather than set -e: set -e would abort the label-preservation loop,
where [ -n "$label" ] && awk ... returns non-zero for the 270 pages that
carry no sidebarTitle.

This branch was successfully deployed

1 active deployment
staging — 7fc0c353 Deployed Oct 5, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant