Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ breaking:
ignore:
- google
- temporal/api/enums/v1/failed_cause.proto
# TODO: remove this once the changes with WorkflowExecutionExtendedInfo.pause_info is merged
- temporal/api/workflow/v1/message.proto
lint:
use:
- DEFAULT
Expand Down
10 changes: 5 additions & 5 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16816,6 +16816,10 @@
"$ref": "#/definitions/v1RequestIdInfo"
},
"description": "Request ID information (eg: history event information associated with the request ID).\nNote: It only contains request IDs from StartWorkflowExecution requests, including indirect\ncalls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is\nused in the StartWorkflowExecution request)."
},
"pauseInfo": {
"$ref": "#/definitions/v1WorkflowExecutionPauseInfo",
"description": "Information about the workflow execution pause operation."
}
},
"description": "Holds all the extra information about workflow execution that is not part of Visibility."
Expand Down Expand Up @@ -16941,10 +16945,6 @@
"priority": {
"$ref": "#/definitions/v1Priority",
"title": "Priority metadata"
},
"pauseInfo": {
"$ref": "#/definitions/v1WorkflowExecutionPauseInfo",
"description": "Information about the workflow execution pause operation."
}
},
"description": "Hold basic information about a workflow execution.\nThis structure is a part of visibility, and thus contain a limited subset of information."
Expand Down Expand Up @@ -17379,7 +17379,7 @@
"revisionNumber": {
"type": "string",
"format": "int64",
"description": "Monotonic counter reflecting the latest routing decision for this workflow execution.\nUsed for staleness detection between history and matching when dispatching tasks to workers.\nIncremented when a workflow execution routes to a new deployment version, which happens \nwhen a worker of the new deployment version completes a workflow task.\nNote: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not\nface the problem of inconsistent dispatching that arises from eventual consistency between \ntask queues and their partitions."
"description": "Monotonic counter reflecting the latest routing decision for this workflow execution.\nUsed for staleness detection between history and matching when dispatching tasks to workers.\nIncremented when a workflow execution routes to a new deployment version, which happens\nwhen a worker of the new deployment version completes a workflow task.\nNote: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not\nface the problem of inconsistent dispatching that arises from eventual consistency between\ntask queues and their partitions."
}
},
"description": "Holds all the information about worker versioning for a particular workflow execution.\nExperimental. Versioning info is experimental and might change in the future."
Expand Down
17 changes: 12 additions & 5 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14258,6 +14258,10 @@ components:
Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
used in the StartWorkflowExecution request).
pauseInfo:
allOf:
- $ref: '#/components/schemas/WorkflowExecutionPauseInfo'
description: Information about the workflow execution pause operation.
description: Holds all the extra information about workflow execution that is not part of Visibility.
WorkflowExecutionFailedEventAttributes:
type: object
Expand Down Expand Up @@ -14405,10 +14409,6 @@ components:
allOf:
- $ref: '#/components/schemas/Priority'
description: Priority metadata
pauseInfo:
allOf:
- $ref: '#/components/schemas/WorkflowExecutionPauseInfo'
description: Information about the workflow execution pause operation.
description: |-
Hold basic information about a workflow execution.
This structure is a part of visibility, and thus contain a limited subset of information.
Expand Down Expand Up @@ -14917,7 +14917,14 @@ components:
completed, pending activities will start their next attempt on the new version.
revisionNumber:
type: string
description: "Monotonic counter reflecting the latest routing decision for this workflow execution.\n Used for staleness detection between history and matching when dispatching tasks to workers.\n Incremented when a workflow execution routes to a new deployment version, which happens \n when a worker of the new deployment version completes a workflow task.\n Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not\n face the problem of inconsistent dispatching that arises from eventual consistency between \n task queues and their partitions."
description: |-
Monotonic counter reflecting the latest routing decision for this workflow execution.
Used for staleness detection between history and matching when dispatching tasks to workers.
Incremented when a workflow execution routes to a new deployment version, which happens
when a worker of the new deployment version completes a workflow task.
Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not
face the problem of inconsistent dispatching that arises from eventual consistency between
task queues and their partitions.
description: |-
Holds all the information about worker versioning for a particular workflow execution.
Experimental. Versioning info is experimental and might change in the future.
Expand Down
10 changes: 5 additions & 5 deletions temporal/api/workflow/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ message WorkflowExecutionInfo {

// Priority metadata
temporal.api.common.v1.Priority priority = 24;

// Information about the workflow execution pause operation.
WorkflowExecutionPauseInfo pause_info = 25;
}

// Holds all the extra information about workflow execution that is not part of Visibility.
Expand Down Expand Up @@ -129,6 +126,9 @@ message WorkflowExecutionExtendedInfo {
// calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
// used in the StartWorkflowExecution request).
map<string, RequestIdInfo> request_id_infos = 7;

// Information about the workflow execution pause operation.
WorkflowExecutionPauseInfo pause_info = 8;
}

// Holds all the information about worker versioning for a particular workflow execution.
Expand Down Expand Up @@ -213,10 +213,10 @@ message WorkflowExecutionVersioningInfo {
DeploymentVersionTransition version_transition = 6;
// Monotonic counter reflecting the latest routing decision for this workflow execution.
// Used for staleness detection between history and matching when dispatching tasks to workers.
// Incremented when a workflow execution routes to a new deployment version, which happens
// Incremented when a workflow execution routes to a new deployment version, which happens
// when a worker of the new deployment version completes a workflow task.
// Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not
// face the problem of inconsistent dispatching that arises from eventual consistency between
// face the problem of inconsistent dispatching that arises from eventual consistency between
// task queues and their partitions.
int64 revision_number = 8;
}
Expand Down
Loading