Skip to content

docs(hub): document the rootfs sidecar so publishers don't reproduce #242#253

Merged
WaylandYang merged 1 commit into
mainfrom
docs/hub-sidecar
Jun 19, 2026
Merged

docs(hub): document the rootfs sidecar so publishers don't reproduce #242#253
WaylandYang merged 1 commit into
mainfrom
docs/hub-sidecar

Conversation

@WaylandYang

Copy link
Copy Markdown
Contributor

Doc-debt from #242/#247. HUB.md's publish guide never mentioned the rootfs sidecar — anyone following it would upload only the .tar.zst and ship an un-restorable-cross-host pack (the exact bug #242 fixed). Now: pack format notes the content-addressed <sha>.rootfs.zst sidecar; the publish steps upload BOTH files to the same release; explains pull derives the sidecar as the pack URL's sibling + caches by sha.

🤖 Generated with Claude Code

…242

HUB.md's "Publishing a new pack" walked through pack → release → registry
but never mentioned the rootfs sidecar — so anyone following it would
upload only the .tar.zst and ship a pack that's un-restorable on any host
but their own (the exact #242 bug). Now documents: from-image rootfs lives
outside the snapshot dir and ships as a content-addressed <sha>.rootfs.zst
sidecar; upload BOTH files to the same release; pull derives the sidecar
URL as the pack's sibling and caches by sha. Pack-format section updated
to match (rootfs.ext4 is only in-tar when the rootfs is inside the snap dir).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@WaylandYang WaylandYang merged commit 98045bc into main Jun 19, 2026
2 checks passed
@WaylandYang WaylandYang deleted the docs/hub-sidecar branch June 19, 2026 23:52
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