Skip to content

Commit 8b9eaeb

Browse files
committed
[Workflow Pause] Proto changes (#653)
<!-- Describe what has changed in this PR --> Adding proto changes that are required to implement Workflow Pause/Unpause feature. Added, - `WorkflowExecutionStatus.WORKFLOW_EXECUTION_STATUS_PAUSED` enum - `EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED` & `EVENT_TYPE_WORKFLOW_EXECUTION_PAUSED` event enums and corresponding event attributes - `PauseWorkflowExecution` & `UnpauseWorkflowExecution` gRPC along with corresponding request/responses. <!-- Tell your future self why have you made these changes --> **Why?** These changes are needed to implement workflow pause/unpause feature. <!-- Are there any breaking changes on binary or code level? --> **Breaking changes** Introduction of new status `WORKFLOW_EXECUTION_STATUS_PAUSED` may break any saved visibility queries that may have assumed `WorkflowExecutionStatus != 'Running'` returns all closed workflows.
1 parent 77b64ec commit 8b9eaeb

File tree

18 files changed

+2402
-1188
lines changed

18 files changed

+2402
-1188
lines changed

enums/v1/event_type.go-helpers.pb.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enums/v1/event_type.pb.go

Lines changed: 16 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enums/v1/workflow.go-helpers.pb.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enums/v1/workflow.pb.go

Lines changed: 11 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

history/v1/message.go-helpers.pb.go

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)