Skip to content

Lifecycle: where large temporary files belong - #287

Draft
jphenow wants to merge 1 commit into
mainfrom
jphenow/tmp-guidance
Draft

jphenow wants to merge 1 commit into
mainfrom
jphenow/tmp-guidance

Conversation

@jphenow

@jphenow jphenow commented Nov 20, 2026

Copy link
Copy Markdown
Member

What this gets us

Customers can find where large temporary files belong before a capped /tmp surprises them. Once superfly/sprite-env#1005 and #1062 ship, /tmp is limited to 2 GiB (or less on tight disks), so a big download there fails with "No space left on device" even with most of the 100 GB free.

Approach

A "Temporary files" subsection under "What persists" on the lifecycle page. It covers checking df -h /tmp, using /var/tmp, $HOME or TMPDIR, and what that error means. The wording holds before and after the cap ships. It doesn't quote the 2 GiB figure, because the size varies by Sprite.

Risk

0/5: one docs page section.

Why 0

A wrong sentence misleads a reader until a revert, nothing more. Above nothing: no code changes.

Verification

Facts checked against sprite-env#1005 (/tmp is local storage outside checkpoints) and a live Sprite (/var/tmp is on the persistent overlay). Not proven: the page build. I didn't run pnpm build locally, so CI covers that.

Calls worth a second opinion

Leaving the 2 GiB figure out. Saying it would be more concrete, but it would be wrong on tight-disk Sprites and would go stale if the cap changes.

Where to look closely

Nothing in particular.

Context

  • Bounded /tmp: superfly/sprite-env#1005, superfly/sprite-env#1062
  • In-Sprite counterpart: superfly/sprite-env#1085

🤖 Generated with Claude Code

https://claude.ai/code/session_01YFg7MXbpg6P1SveTg5Gv8q

@mintlify

mintlify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

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

Project Status Preview Updated
fly-io 🟢 Ready View Preview Nov 20, 2026, 4:56 PM

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

This branch was successfully deployed

1 active deployment
staging — f3efa9cd Deployed Nov 20, 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