A hosted forge's own backup line

A forge another forge hosts says when its host last backed it up (#13918). Its admins read it in two places, in the same words:

A forge nobody hosts has no such row, and neither does a preview.

The three wordings

Where it comes from

The host records what each nightly snapshot kept of every forge it hosts (Hosted forges in the nightly backup, snapshot/hosted.json). It answers each signed beat with that forge's own entry, the time and size, and nothing about any other forge. The hosted forge keeps the answer as parent-backup.json in its own data directory; it never reads its host's disk.

A forge beats every 10 minutes, so a new backup, or a first one, shows within 10 minutes of the host's snapshot. The host reads its small record on each beat; it keeps no copy between beats.

Code: src/snapshot/hosted_backup.ts. Tests: test/hosted-backup-line.test.ts, test/tui-plan-row.test.ts.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs