Skip to content

Add force and breaking options to ServiceDeployer for Restate 1.6+#88

Merged
pcholakov merged 1 commit intomainfrom
pavel/xkruwnqszsvk
Feb 3, 2026
Merged

Add force and breaking options to ServiceDeployer for Restate 1.6+#88
pcholakov merged 1 commit intomainfrom
pavel/xkruwnqszsvk

Conversation

@pcholakov
Copy link
Collaborator

With Restate 1.6 (API v3), the force parameter no longer defaults to true, causing deployments with breaking changes (like removing handlers) to fail.

This adds two new options:

  • force (default: false): Allows breaking changes and overwrites existing deployments.
  • breaking (default: false): Allows breaking changes without overwriting existing deployments. Safer for evolving services while preserving in-flight invocations.

When both are set, force takes precedence.

BREAKING CHANGE: Deployments that remove handlers or make other breaking schema changes will now fail against Restate 1.6 by default. Set force: true or breaking: true to allow such changes.

…mpatibility

With Restate 1.6 (API v3), the force parameter no longer defaults to true,
causing deployments with breaking changes (like removing handlers) to fail.

This adds two new options:
- force (default: false): Allows breaking changes and overwrites existing
  deployments.
- breaking (default: false): Allows breaking changes without overwriting
  existing deployments. Safer for evolving services while preserving
  in-flight invocations.

When both are set, force takes precedence.

BREAKING CHANGE: Deployments that remove handlers or make other breaking
schema changes will now fail by default. Set force: true or breaking: true
to allow such changes.
@pcholakov pcholakov requested a review from jackkleeman February 3, 2026 15:12
@pcholakov pcholakov merged commit c0f8983 into main Feb 3, 2026
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant