You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ReplayRequest message contains all needed fields (which might be extended) to replay the workflow.messageReplayRequest {
temporal.api.common.v1.WorkflowExecutionworkflow_execution=1;
temporal.api.common.v1.WorkflowTypeworkflow_type=2;
stringsave_path=3;
int64last_event_id=4;
}
// ReplayResponse contains Status response with the error details or nil if there are no errors.// https://cloud.google.com/apis/design/errorsmessageReplayResponse {
Statusstatus=1;
}
messageHistory {
temporal.api.history.v1.Historyhistory=1;
temporal.api.common.v1.WorkflowTypeworkflow_type=2;
}
On error, RR will return the Status response with the appropriate error code. All status codes are described here: link
RR Response statuses for all requests :
Missing fields in the request or data corruption: RR responds with the status code InvalidArgument (code 3) and an error message in the Message field.
Internal errors (proto parsing, marshaling): Internal (code 13) error with error description in the Message status response field.
Replays failure - FailedPrecondition (code 9). with the description of error in the Message status response field.
Plugin
Temporal
I have an idea!
Temporal Replay API RFC: GO-SDK replay docs: link, SDK-GO workflow replayer: link
SDK-PHP ref: temporalio/sdk-php#227
PROTO API:
On error, RR will return the
Status
response with the appropriate error code. All status codes are described here: linkRR Response statuses for all requests :
InvalidArgument
(code 3) and an error message in theMessage
field.Internal
(code 13) error with error description in theMessage
status response field.FailedPrecondition
(code 9). with the description of error in theMessage
status response field.RoadRunner API:
1. Replay method:
Required fields in the ReplayRequest:
run_id
workflow_id
workflow_name
2. Download WF history:
Required fields in the ReplayRequest:
run_id
workflow_id
save_path
3. Replay from the JSON file saved on the disk:
Required fields in the ReplayRequest:
workflow_name
save_path
// path with the fileOptional:
last_event_id
(int64). If this field is not0
RR executes a single workflow task for the json history file upto provided last_event_id.4. Replay from proto workflow history:
Required fields in the ReplayRequest:
workflow_name
CC: @wolfy-j , @roxblnfk
The text was updated successfully, but these errors were encountered: