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
**What changed?**
- Removed all references to `ActivityOptions`
- Add request_id to `TerminateActivityExecution`
- Add `close_time` to `ActivityInfo`
---------
Co-authored-by: Fred Tzeng <[email protected]>
Co-authored-by: Dan Davison <[email protected]>
Copy file name to clipboardExpand all lines: openapi/openapiv2.json
+36-4Lines changed: 36 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9775,13 +9775,17 @@
9775
9775
"type": "string",
9776
9776
"description": "Activity run ID, targets the latest run if run_id is empty."
9777
9777
},
9778
-
"reason": {
9779
-
"type": "string",
9780
-
"description": "Reason for requesting the termination, recorded in in the activity's result failure outcome."
9781
-
},
9782
9778
"identity": {
9783
9779
"type": "string",
9784
9780
"description": "The identity of the worker/client."
9781
+
},
9782
+
"requestId": {
9783
+
"type": "string",
9784
+
"description": "Used to de-dupe termination requests."
9785
+
},
9786
+
"reason": {
9787
+
"type": "string",
9788
+
"description": "Reason for requesting the termination, recorded in in the activity's result failure outcome."
9785
9789
}
9786
9790
}
9787
9791
},
@@ -10361,6 +10365,29 @@
10361
10365
"$ref": "#/definitions/v1PendingActivityState",
10362
10366
"description": "More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING."
10363
10367
},
10368
+
"taskQueue": {
10369
+
"$ref": "#/definitions/v1TaskQueue"
10370
+
},
10371
+
"scheduleToCloseTimeout": {
10372
+
"type": "string",
10373
+
"description": "Indicates how long the caller is willing to wait for an activity completion. Limits how long\nretries will be attempted.\n"
10374
+
},
10375
+
"scheduleToStartTimeout": {
10376
+
"type": "string",
10377
+
"description": "Limits time an activity task can stay in a task queue before a worker picks it up. This\ntimeout is always non retryable, as all a retry would achieve is to put it back into the same\nqueue. Defaults to `schedule_to_close_timeout`.\n"
10378
+
},
10379
+
"startToCloseTimeout": {
10380
+
"type": "string",
10381
+
"description": "Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This\ntimeout is always retryable.\n"
10382
+
},
10383
+
"heartbeatTimeout": {
10384
+
"type": "string",
10385
+
"description": "Maximum permitted time between successful worker heartbeats."
10386
+
},
10387
+
"retryPolicy": {
10388
+
"$ref": "#/definitions/v1RetryPolicy",
10389
+
"description": "The retry policy for the activity. Will never exceed `schedule_to_close_timeout`."
10390
+
},
10364
10391
"heartbeatDetails": {
10365
10392
"$ref": "#/definitions/v1Payloads",
10366
10393
"description": "Details provided in the last recorded activity heartbeat."
@@ -10394,6 +10421,11 @@
10394
10421
"format": "date-time",
10395
10422
"description": "Scheduled time + schedule to close timeout."
10396
10423
},
10424
+
"closeTime": {
10425
+
"type": "string",
10426
+
"format": "date-time",
10427
+
"description": "Time when the activity transitioned to a closed state."
10428
+
},
10397
10429
"lastFailure": {
10398
10430
"$ref": "#/definitions/apifailurev1Failure",
10399
10431
"description": "Failure details from the last failed attempt."
0 commit comments