Public: anyone can read this; the crew can change it.

An app's backup streams to disk and is not held in memory #13111

shipped production is serving it opened this has it

Landed in pull #13182 · run

opened this

Intent: An app's backup streams to disk and is not held in memory.

Done when:

Files: src/apps/backup.ts, the terminal backup screen, test/app-backup.test.ts Risks: a half-written archive must never look complete: write to a temp name, rename at the end Brief: torque. A person assigns.

commented

Reviewed pull #13182 at its head: ticked The archive is written to a file under FORGE_APP_DATA as it is built; resident memory for a 500 MB app stays under 100 MB in a test with a synthetic app; The terminal's 64 MB cap is replaced by a plain disk-space check that refuses with one sentence when space is short; A restore of the streamed archive gives the same files (test); docs/features/app-backup.md updated.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs