Solutions

Releases & rollbacks

Ship every release through automatic canaries, binding checks and rollbacks

Every production deployment starts at 1% traffic, rolls back automatically on 5xx errors or latency regressions, verifies DB/S3/service bindings pre-cutover, and can restore both code and managed Postgres together.

Updated

What breaks vs. how Gregale solves it

Blind all-at-once container swaps turn bad configs, broken migrations and Friday-night pushes into customer-facing outages with fragmented manual recovery.

Problem without Gregale

One-shot cutovers send 100% of live production traffic to broken builds at once.

How Gregale solves it

Default progressive rollouts climb 1% -> 10% -> 50% -> 100% and roll back automatically on 5xx spikes, crash loops or latency regressions.

Problem without Gregale

Code rollbacks leave incompatible Postgres schema changes or broken env secrets behind.

How Gregale solves it

Paid plans support `gregale rollback --restore-databases` PITR restores, plus automatic snapshot invalidation on every secret rotation.

Problem without Gregale

CI passes unit tests while production breaks on missing DB URLs or Friday deploys.

How Gregale solves it

Pre-promotion binding checks (`--require-bindings`), OpenAPI contract gates, MFA human approvals and recurring deploy freezes block bad ships before traffic moves.

Deep-dive guides (7)

Documentation references

Questions

Do canary deploys and automatic rollbacks require extra configuration?

No. Every HTTP production release on Gregale uses 1% -> 10% -> 50% -> 100% progressive canary stages and automatic 5xx/crash rollback by default across all plans.

What happens if an automatic rollback crosses a database migration?

Automatic rollbacks never blindly move older code onto a newer schema; they keep the current release serving and notify you. On paid plans, gregale rollback --restore-databases restores managed PostgreSQL to the release timestamp alongside earlier code.

Can deploy freezes or OpenAPI checks block emergency rollbacks?

No. Deploy freezes block new forward production releases (release_frozen), while rollbacks to previously serving versions always remain open.