Skip to content

Commit 350edeb

Browse files
committed
Merge branch 'master' of github.com:temporalio/api into cdf/pinned-can
2 parents dfff5e2 + 50cbefb commit 350edeb

14 files changed

Lines changed: 135 additions & 119 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ This repository contains both the protobuf descriptors and OpenAPI documentation
66

77
Install as git submodule to the project.
88

9+
## Contribution
10+
11+
Make your change to the temporal/proto files, and run `make` to update the openapi definitions.
12+
913
## License
1014

1115
MIT License, please see [LICENSE](LICENSE) for details.

openapi/openapiv2.json

Lines changed: 32 additions & 30 deletions
Large diffs are not rendered by default.

openapi/openapiv3.yaml

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6399,7 +6399,7 @@ components:
63996399
- RESET_TYPE_FIRST_WORKFLOW_TASK
64006400
- RESET_TYPE_LAST_WORKFLOW_TASK
64016401
type: string
6402-
description: Reset type (deprecated, use `options`).
6402+
description: Deprecated. Use `options`.
64036403
format: enum
64046404
resetReapplyType:
64056405
enum:
@@ -6408,7 +6408,7 @@ components:
64086408
- RESET_REAPPLY_TYPE_NONE
64096409
- RESET_REAPPLY_TYPE_ALL_ELIGIBLE
64106410
type: string
6411-
description: History event reapply options (deprecated, use `options`).
6411+
description: Deprecated. Use `options`.
64126412
format: enum
64136413
postResetOperations:
64146414
type: array
@@ -7548,7 +7548,7 @@ components:
75487548
$ref: '#/components/schemas/WorkflowExecution'
75497549
control:
75507550
type: string
7551-
description: Deprecated
7551+
description: Deprecated.
75527552
FailoverStatus:
75537553
type: object
75547554
properties:
@@ -8674,7 +8674,7 @@ components:
86748674
description: |-
86758675
Operation ID - may be empty if the operation completed synchronously.
86768676

8677-
Deprecated: Renamed to operation_token.
8677+
Deprecated. Renamed to operation_token.
86788678
operationToken:
86798679
type: string
86808680
description: Operation token - may be empty if the operation completed synchronously.
@@ -8917,16 +8917,16 @@ components:
89178917
lastIndependentlyAssignedBuildId:
89188918
type: string
89198919
description: |-
8920-
This means the activity is independently versioned and not bound to the build ID of its workflow.
8920+
Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
89218921
The activity will use the build id in this field instead.
89228922
If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
89238923
rules.
89248924
lastWorkerVersionStamp:
89258925
allOf:
89268926
- $ref: '#/components/schemas/WorkerVersionStamp'
89278927
description: |-
8928-
The version stamp of the worker to whom this activity was most recently dispatched
8929-
Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
8928+
Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
8929+
This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
89308930
currentRetryInterval:
89318931
pattern: ^-?(?:0|[1-9][0-9]{0,11})(?:\.[0-9]{1,9})?s$
89328932
type: string
@@ -9030,7 +9030,7 @@ components:
90309030
description: |-
90319031
Operation ID. Only set for asynchronous operations after a successful StartOperation call.
90329032

9033-
Deprecated: Renamed to operation_token.
9033+
Deprecated. Renamed to operation_token.
90349034
scheduleToCloseTimeout:
90359035
pattern: ^-?(?:0|[1-9][0-9]{0,11})(?:\.[0-9]{1,9})?s$
90369036
type: string
@@ -9560,7 +9560,7 @@ components:
95609560
corresponds to
95619561
control:
95629562
type: string
9563-
description: Deprecated
9563+
description: Deprecated.
95649564
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes:
95659565
type: object
95669566
properties:
@@ -9578,7 +9578,7 @@ components:
95789578
$ref: '#/components/schemas/WorkflowExecution'
95799579
control:
95809580
type: string
9581-
description: Deprecated
9581+
description: Deprecated.
95829582
childWorkflowOnly:
95839583
type: boolean
95849584
description: |-
@@ -9756,7 +9756,7 @@ components:
97569756
- RESET_REAPPLY_TYPE_ALL_ELIGIBLE
97579757
type: string
97589758
description: |-
9759-
Event types to be reapplied (deprecated)
9759+
Deprecated. Use `options`.
97609760
Default: RESET_REAPPLY_TYPE_SIGNAL
97619761
format: enum
97629762
currentRunOnly:
@@ -9787,7 +9787,7 @@ components:
97879787
description: Worker build id.
97889788
binaryChecksum:
97899789
type: string
9790-
description: A worker binary version identifier (deprecated).
9790+
description: Deprecated. A worker binary version identifier.
97919791
runId:
97929792
type: string
97939793
description: The first run ID in the execution chain that was touched by this worker build.
@@ -9848,7 +9848,7 @@ components:
98489848
- RESET_REAPPLY_TYPE_ALL_ELIGIBLE
98499849
type: string
98509850
description: |-
9851-
Event types to be reapplied (deprecated)
9851+
Deprecated. Use `options`.
98529852
Default: RESET_REAPPLY_TYPE_SIGNAL
98539853
format: enum
98549854
resetReapplyExcludeTypes:
@@ -10278,6 +10278,7 @@ components:
1027810278
format: date-time
1027910279
invalidScheduleError:
1028010280
type: string
10281+
description: Deprecated.
1028110282
ScheduleListEntry:
1028210283
type: object
1028310284
properties:
@@ -10432,7 +10433,9 @@ components:
1043210433
type: array
1043310434
items:
1043410435
$ref: '#/components/schemas/CalendarSpec'
10435-
description: Any timestamps matching any of exclude_* will be skipped.
10436+
description: |-
10437+
Any timestamps matching any of exclude_* will be skipped.
10438+
Deprecated. Use exclude_structured_calendar.
1043610439
excludeStructuredCalendar:
1043710440
type: array
1043810441
items:
@@ -10727,7 +10730,7 @@ components:
1072710730
type: string
1072810731
control:
1072910732
type: string
10730-
description: Deprecated
10733+
description: Deprecated.
1073110734
SignalExternalWorkflowExecutionInitiatedEventAttributes:
1073210735
type: object
1073310736
properties:
@@ -10752,7 +10755,7 @@ components:
1075210755
description: Serialized arguments to provide to the signal handler
1075310756
control:
1075410757
type: string
10755-
description: Deprecated
10758+
description: Deprecated.
1075610759
childWorkflowOnly:
1075710760
type: boolean
1075810761
description: |-
@@ -10832,7 +10835,7 @@ components:
1083210835
description: Serialized value(s) to provide with the signal
1083310836
control:
1083410837
type: string
10835-
description: Deprecated
10838+
description: Deprecated.
1083610839
retryPolicy:
1083710840
allOf:
1083810841
- $ref: '#/components/schemas/RetryPolicy'
@@ -10908,7 +10911,7 @@ components:
1090810911
description: Used to de-dupe sent signals
1090910912
control:
1091010913
type: string
10911-
description: Deprecated
10914+
description: Deprecated.
1091210915
header:
1091310916
allOf:
1091410917
- $ref: '#/components/schemas/Header'
@@ -11001,7 +11004,7 @@ components:
1100111004
format: enum
1100211005
control:
1100311006
type: string
11004-
description: Deprecated
11007+
description: Deprecated.
1100511008
initiatedEventId:
1100611009
type: string
1100711010
description: Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
@@ -11049,7 +11052,7 @@ components:
1104911052
format: enum
1105011053
control:
1105111054
type: string
11052-
description: Deprecated
11055+
description: Deprecated.
1105311056
workflowTaskCompletedEventId:
1105411057
type: string
1105511058
description: The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
@@ -12912,10 +12915,12 @@ components:
1291212915
header:
1291312916
allOf:
1291412917
- $ref: '#/components/schemas/Header'
12915-
description: "Headers that were passed by the sender of the signal and copied by temporal \n server into the workflow task."
12918+
description: |-
12919+
Headers that were passed by the sender of the signal and copied by temporal
12920+
server into the workflow task.
1291612921
skipGenerateWorkflowTask:
1291712922
type: boolean
12918-
description: This field is deprecated and never respected. It should always be set to false.
12923+
description: Deprecated. This field is never respected and should always be set to false.
1291912924
externalWorkflowExecution:
1292012925
allOf:
1292112926
- $ref: '#/components/schemas/WorkflowExecution'
@@ -13652,6 +13657,7 @@ components:
1365213657
- WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
1365313658
- WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
1365413659
- WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
13660+
- WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE
1365513661
type: string
1365613662
format: enum
1365713663
failure:
@@ -13673,7 +13679,7 @@ components:
1367313679
binaryChecksum:
1367413680
type: string
1367513681
description: |-
13676-
DEPRECATED since 1.21 - This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
13682+
Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
1367713683
If a worker explicitly failed this task, its binary id
1367813684
workerVersion:
1367913685
allOf:

temporal/api/batch/v1/message.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ message BatchOperationReset {
7777
// Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
7878
temporal.api.common.v1.ResetOptions options = 4;
7979

80-
// Reset type (deprecated, use `options`).
81-
temporal.api.enums.v1.ResetType reset_type = 1;
82-
// History event reapply options (deprecated, use `options`).
83-
temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2;
80+
// Deprecated. Use `options`.
81+
temporal.api.enums.v1.ResetType reset_type = 1 [deprecated = true];
82+
// Deprecated. Use `options`.
83+
temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2 [deprecated = true];
8484
// Operations to perform after the workflow has been reset. These operations will be applied
8585
// to the *new* run of the workflow execution in the order they are provided.
8686
// All operations are applied to the workflow before the first new workflow task is generated

temporal/api/command/v1/message.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ message RequestCancelExternalWorkflowExecutionCommandAttributes {
106106
string workflow_id = 2;
107107
string run_id = 3;
108108
// Deprecated.
109-
string control = 4;
109+
string control = 4 [deprecated = true];
110110
// Set this to true if the workflow being cancelled is a child of the workflow originating this
111111
// command. The request will be rejected if it is set to true and the target workflow is *not*
112112
// a child of the requesting workflow.
@@ -123,7 +123,7 @@ message SignalExternalWorkflowExecutionCommandAttributes {
123123
// Serialized value(s) to provide with the signal.
124124
temporal.api.common.v1.Payloads input = 4;
125125
// Deprecated
126-
string control = 5;
126+
string control = 5 [deprecated = true];
127127
// Set this to true if the workflow being cancelled is a child of the workflow originating this
128128
// command. The request will be rejected if it is set to true and the target workflow is *not*
129129
// a child of the requesting workflow.

temporal/api/common/v1/message.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ message ResetOptions {
154154
string build_id = 4;
155155
}
156156

157-
// Event types to be reapplied (deprecated)
157+
// Deprecated. Use `options`.
158158
// Default: RESET_REAPPLY_TYPE_SIGNAL
159-
temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10;
159+
temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 10 [deprecated = true];
160160

161161
// If true, limit the reset to only within the current run. (Applies to build_id targets and
162162
// possibly others in the future.)

temporal/api/enums/v1/failed_cause.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ enum WorkflowTaskFailedCause {
7979
// for the workflow's namespace).
8080
// Check the workflow task failure message for more information.
8181
WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED = 35;
82+
// A workflow task failed because a grpc message was too large.
83+
WORKFLOW_TASK_FAILED_CAUSE_GRPC_MESSAGE_TOO_LARGE = 36;
8284
}
8385

8486
enum StartChildWorkflowExecutionFailedCause {

temporal/api/enums/v1/reset.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ enum ResetReapplyExcludeType {
2222
RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST = 4 [deprecated=true];
2323
}
2424

25-
// Event types to include when reapplying events. Deprecated: applications
26-
// should use ResetReapplyExcludeType to specify exclusions from this set, and
27-
// new event types should be added to ResetReapplyExcludeType instead of here.
25+
// Deprecated: applications should use ResetReapplyExcludeType to specify
26+
// exclusions from this set, and new event types should be added to ResetReapplyExcludeType
27+
// instead of here.
2828
enum ResetReapplyType {
2929
RESET_REAPPLY_TYPE_UNSPECIFIED = 0;
3030
// Signals are reapplied when workflow is reset.
@@ -35,7 +35,7 @@ enum ResetReapplyType {
3535
RESET_REAPPLY_TYPE_ALL_ELIGIBLE = 3;
3636
}
3737

38-
// Reset type options. Deprecated, see temporal.api.common.v1.ResetOptions.
38+
// Deprecated, see temporal.api.common.v1.ResetOptions.
3939
enum ResetType {
4040
RESET_TYPE_UNSPECIFIED = 0;
4141
// Resets to event of the first workflow task completed, or if it does not exist, the event after task scheduled.

temporal/api/failure/v1/message.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ message NexusOperationFailureInfo {
7777
string operation = 4;
7878
// Operation ID - may be empty if the operation completed synchronously.
7979
//
80-
// Deprecated: Renamed to operation_token.
81-
string operation_id = 5;
80+
// Deprecated. Renamed to operation_token.
81+
string operation_id = 5 [deprecated = true];
8282
// Operation token - may be empty if the operation completed synchronously.
8383
string operation_token = 6;
8484
}

0 commit comments

Comments
 (0)