What ran in dev is what runs in production.
A deploy makes an immutable bundle. Promotion switches that same bundle on in production, after a preview of what changes. Nothing is rebuilt on the way, and any earlier version is one confirmation from live again.
- immutable bundles
- preview and drift
- rollback
- git sync
Build, promote, roll back.
-
1Build
volvel deploy, or Deploy on the console's drafts, makes one bundle and activates it in a dev workspace. -
2Promote
See what would change, then switch the same bundle on in the production workspace it's linked to.
-
3Roll back
Activate this version on any earlier bundle. In production it asks you to confirm, by the workspace's name.
One bundle, all the way through.
A bundle is everything a workspace runs: scripts, flows, tables, apps, pages and the rest, with a SHA-256 digest over all of it. It never changes after it's made.
- Switching it on is a single step. A run already going finishes on the version it started with.
- Connections, secrets and variables are bound per workspace and never travel in a bundle.
- Table changes travel inside it, so promotion changes production's tables and never its rows.
- With the tenant's repository connected, each promotion also commits what production now runs to a release branch.
Before anything reaches production.
Promotion is where mistakes are expensive, so it's where the platform asks the most questions.
| Check | What happens |
|---|---|
| Preview | What the promotion would add, change and remove, in sentences and line by line. volvel promote --preview shows the same. |
| Bindings | Refused, with a clear message, if production lacks a connection, secret or variable the bundle needs. |
| Deletions | Removing something production still uses has to be confirmed by name. A move that would drop a resource's runs, rows or access is refused, and the deploy names the key to add instead. |
| Breaking changes | A change to what an agent must call is listed under Breaking and has to be confirmed. |
| Permission | Promoting to production is its own permission. Someone without it sees Request promotion, adds a note, and someone who may decides. |
| Drift | Resource by resource: changed, only in dev, only in production, or in sync, with each difference shown line by line. |
The CLI, for the whole loop.
Start a repository, work against real data, try a change without deploying it, ship it, and follow what it does.
run --remoteruns a build in a dev workspace without deploying anything.pullbrings what was made in the console into your files, drafts included.schemasmakes your editor complete and check the YAML files as you type.tenant exportandimportmove a whole tenant.
$ volvel init my-tenant
$ volvel build
$ volvel run orders/sync --remote --tenant acme --workspace dev
$ volvel deploy --tenant acme --workspace dev
$ volvel promote --tenant acme --workspace dev --preview
$ volvel promote --tenant acme --workspace dev
$ volvel logs <run id> --tenant acme --workspace prod -f Commands as the CLI lists them. Output left out.
Console and code as peers.
Some of your team writes TypeScript and some of it works in the console. Both end up in the same bundles and the same repository.
- Drafts that keep their history
- Changes in a dev workspace's console are drafts until deployed. Setting one aside never loses the earlier text.
- Two-way git sync
- A dev workspace follows a branch. Push, with or without drafts, and pull. A file changed on both sides is chosen side by side, and nothing is chosen for you.
- Files the console can edit
- What has no code, such as apps, triggers and variables, can be kept as YAML that the console edits in place.
- Renames keep history
- Move a resource to a new path and it keeps its runs, rows, bindings and agent tool name. The old address answers for 90 days.
- Clones with a safety on
- Copy production into a new dev workspace, rows or not. It starts with nothing bound and its triggers paused; turning that off is in the audit log.
- Production changes by deploy
- Resources that code manages change in production only through a deploy, never by hand in the console.
Related
Make every release reversible.
Every version kept, every promotion previewed, and the way back one confirmation away.