@@ -1389,8 +1389,7 @@ message UpdateWorkflowExecutionRequest {
1389
1389
// part of the same execution chain as this id.
1390
1390
string first_execution_run_id = 3 ;
1391
1391
1392
- // Describes when this request should return - basically whether the
1393
- // update is synchronous, asynchronous, or somewhere in between.
1392
+ // How long to wait before returning control to the caller.
1394
1393
temporal.api.update.v1.WaitPolicy wait_policy = 4 ;
1395
1394
1396
1395
// The request information that will be delivered all the way down to the
@@ -1409,14 +1408,12 @@ message UpdateWorkflowExecutionResponse {
1409
1408
1410
1409
// The most advanced lifecycle stage that the Update is known to have
1411
1410
// reached, where lifecycle stages are ordered
1412
- // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <
1413
1411
// UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <
1414
1412
// UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <
1415
1413
// UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.
1416
- // UNSPECIFIED will be returned if and only if the server's maximum wait
1417
- // time was reached before the Update reached the stage specified in the
1418
- // request WaitPolicy, and before the context deadline expired; clients may
1419
- // may then retry the call as needed.
1414
+ // If the server's maximum wait time was reached before the stage requested by the client, then
1415
+ // the returned stage may be less than the requested stage. Clients may then retry the call as
1416
+ // needed.
1420
1417
temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 3 ;
1421
1418
}
1422
1419
@@ -1535,14 +1532,12 @@ message PollWorkflowExecutionUpdateResponse {
1535
1532
temporal.api.update.v1.Outcome outcome = 1 ;
1536
1533
// The most advanced lifecycle stage that the Update is known to have
1537
1534
// reached, where lifecycle stages are ordered
1538
- // UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED <
1539
1535
// UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED <
1540
1536
// UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED <
1541
1537
// UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED.
1542
- // UNSPECIFIED will be returned if and only if the server's maximum wait
1543
- // time was reached before the Update reached the stage specified in the
1544
- // request WaitPolicy, and before the context deadline expired; clients may
1545
- // may then retry the call as needed.
1538
+ // If the server's maximum wait time was reached before the stage requested by the client, then
1539
+ // the returned stage may be less than the requested stage. Clients may then retry the call as
1540
+ // needed.
1546
1541
temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage stage = 2 ;
1547
1542
// Sufficient information to address this update.
1548
1543
temporal.api.update.v1.UpdateRef update_ref = 3 ;
0 commit comments