# Release and platform facts

## Release primitives (`use`)

| Primitive | Data-changing | Release status |
|---|---|---|
| `d1.migrate` | yes (takes DB bookmark) | `migrating` |
| `deploy.candidate` | no | `candidate` |
| `smoke` | no | `candidate` |
| `switch` | no | `switching` |

## Release states and blockers

- States: `queued`, `building`, `blocked`, `needs_confirmation`, `migrating`, `candidate`, `switching`, `live`, `superseded`, `failed`, `rolled_back`.
- Blockers: `build_failed`, `missing_env`, `edited_migration`, `cascade_delete`.
- Database bookmarks are available for up to 30 days.

## Integrations (`integrations[].type`)

- `d1`
- `r2`
- `turnstile`
- `secret`
- `ratelimit`

## Release limits

- Max release steps: **20**
- Max `run` step timeout: **600s**
- Max `job` step timeout: **30s** (routes under `/__propello/jobs/`)
- Max `smoke` timeout: **60s**
- Max total release time: **30 minutes**

## Reserved environment variable names

Names Propello binds itself (refused by `set_env_var` / `propello.json` `env`):

- Exact names: `FILES`, `AUTH_SECRET`, `JOBS_SECRET`, `AUTH_RATE_LIMIT`, `ASSETS`, `DB`, `TURNSTILE_SITEKEY`, `TURNSTILE_SECRET`
- Prefixes: `PROPELLO_*`, `TURNSTILE_*`
