Skip to content

Commit

Permalink
Add failed cause for signal count limit (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt committed Mar 24, 2023
1 parent 44e4397 commit 0a4ff5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ buf-lint:
(cd $(PROTO_ROOT) && buf lint)

buf-breaking:
@printf $(COLOR) "Run buf breaking changes check against master branch..."
@(cd $(PROTO_ROOT) && buf breaking --against '.git#branch=master')
@printf $(COLOR) "Run buf breaking changes check against release/v1.20.x branch..."
@(cd $(PROTO_ROOT) && buf breaking --against '.git#branch=release/v1.20.x')

##### Clean #####
clean:
Expand Down
2 changes: 2 additions & 0 deletions temporal/api/enums/v1/failed_cause.proto
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ enum SignalExternalWorkflowExecutionFailedCause {
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED = 0;
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND = 1;
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND = 2;
// Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution"
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED = 3;
}

enum ResourceExhaustedCause {
Expand Down

0 comments on commit 0a4ff5f

Please sign in to comment.