Repository navigation
v0.10.0
spov 0.10.0 brings back up to 1 GiB when a session syncs to your checkout, where it used to stop at 32 MiB. The transfer streams through the server, and a sync-back that is too large is refused before it starts, with the largest files named. Sync jobs follow the same limit.
Before upgrading
There is no migration. Three things to know:
- A hosted server behind a proxy needs it to pass long responses through. A sync-back now streams for up to 45 minutes:
- Kamal:
deploy/kamal/config/deploy.ymlnow setsproxy.response_timeout: 3600andproxy.buffering.responses: false. Copy those two settings into your own config. - The nginx ingress: see
deploy/k8s/ingress.example.yaml. It turns buffering off, sets long timeouts and allows 25 MiB request bodies; the controller's 1 MiB default already refuses a synced launch's bundle. - Any other proxy: Long responses through a proxy.
- Kamal:
- Older CLIs keep working against a new server, through the previous route and its 32 MiB limit; the refusal says to update spov. A new CLI also works against an older server.
- Kamal's
pre-deployhook now also publishes the sandbox image after migrating, so a release that raises the OpenCode pin no longer leaves launches failing. On Kubernetes, the newdeploy/k8s/image-build-job.yamldoes the same.
Sync-back up to 1 GiB
When you quit a synced spov fly (or run spov stop --sync or spov jobs apply), the sandbox's commits and uncommitted files come back through the server as they are read, instead of in one 32 MiB answer.
- The limit. The commits and the uncommitted files may come to 1 GiB together, with no one file over 256 MiB and at most 200,000 changed files.
- Measured before anything is sent. The sandbox checks the limit first, so a sync-back over it is refused in seconds with the largest files named. Add generated output to
.gitignore, or remove the files in the sandbox, and quit again. The session keeps running. - Progress. A sync-back over 16 MiB says how large it is, and on a terminal counts what has arrived.
- Ctrl-C during the transfer stops it and changes nothing; syncing again is safe. Once spov writes into your checkout, it finishes first.
- The landing is unchanged. It still never overwrites what
git statusshows as untracked or ignored. The transfer is held in a directory under your checkout's.gitwhile it lands, so the largest sync-back needs a few GiB free there.
Sync jobs are judged against the same limit, so a job with 32 MiB to 1 GiB of changes now succeeds, and spov jobs apply takes it.
The seed a launch sends stays at 16 MiB. A checkout over that now says what would let the sandbox clone instead: add a remote on a configured forge and push, configure the platform, or add its credential.
Also in this release
- A launch writes everything it set up in one transaction. Its git token's expiry, its OpenCode sign-in and its credential proxy's certificate are now written together with the session becoming running. A server that restarted in between could leave a session that was never renewed.
- The browser's repository picker no longer draws a note under public repositories a fine-grained token may only read (DL-179).
- Deployment templates brought up to date:
deploy/README.mdnow gives the current quota defaults (5 sessions, 4 jobs), says health checks answer 204, and explainsserver.trusted_proxiesbehind Kamal and an ingress;- new
deploy/kamal/secrets.examplenaming every secret Kamal requires; - the Kubernetes migrate Job can be rerun for an upgrade;
smoke.sh --urlworks behind a proxy that routes by host.
- Docs:
docs/development.mdnow explains how spov records its design decisions (Decision-Linked Development), and the README is shorter.