Catch breaking changes before they ship
Set lint and breaking-change policies once for an organisation, and every push is checked against them. Problems show up in the CLI and on the commit page, and risky changes can wait for a reviewer.
What you get
Features
- 01
Lint and breaking-change policies
The rule categories of stubs lint and stubs breaking, the same as buf's.
- 02
Choose how strict
Each policy can be off, warn, block the push, or require approval.
- 03
Approval queue
Pushes that need approval wait as pending commits until an admin approves or rejects them.
- 04
Organisation and repository scopes
Set defaults for an organisation and tighten or relax them for individual repositories.
- 05
Feedback where you work
Results are returned to the CLI and shown on the commit page.
- 06
Nothing ships half-checked
Labels and SDKs only move to a commit once its checks pass or it is approved.
In practice
Examples
$ stubs push
Failure: push needs approval under the breaking-change policy of acme:
proto/acme/payments/v1/payment.proto:14:3:
field 3 "amount" on message "Payment" was removed
The commit is pending until an admin of acme approves it.Try Stubs with your own schemas
Create an account, push a module and install your first generated SDK in a few minutes.