Skip to content
Open
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
4 changes: 4 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13591,6 +13591,10 @@
"failure": {
"$ref": "#/definitions/v1Failure",
"description": "The failure if the activity completed unsuccessfully."
},
"retryState": {
"$ref": "#/definitions/v1RetryState",
"description": "The retry state associated with an unsuccessful activity execution.\nThis field is only meaningful when `failure` is set."
}
},
"description": "The outcome of a completed activity execution: either a successful result or a failure."
Expand Down
15 changes: 15 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9938,6 +9938,21 @@ components:
allOf:
- $ref: '#/components/schemas/Failure'
description: The failure if the activity completed unsuccessfully.
retryState:
enum:
- RETRY_STATE_UNSPECIFIED
- RETRY_STATE_IN_PROGRESS
- RETRY_STATE_NON_RETRYABLE_FAILURE
- RETRY_STATE_TIMEOUT
- RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
- RETRY_STATE_RETRY_POLICY_NOT_SET
- RETRY_STATE_INTERNAL_SERVER_ERROR
- RETRY_STATE_CANCEL_REQUESTED
type: string
description: |-
The retry state associated with an unsuccessful activity execution.
This field is only meaningful when `failure` is set.
format: enum
description: 'The outcome of a completed activity execution: either a successful result or a failure.'
ActivityFailureInfo:
type: object
Expand Down
4 changes: 4 additions & 0 deletions temporal/api/activity/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ message ActivityExecutionOutcome {
// The failure if the activity completed unsuccessfully.
temporal.api.failure.v1.Failure failure = 2;
}

// The retry state associated with an unsuccessful activity execution.
// This field is only meaningful when `failure` is set.
temporal.api.enums.v1.RetryState retry_state = 3;
}

message ActivityOptions {
Expand Down
Loading