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 <41805201+fretz12@users.noreply.github.com>
Co-authored-by: Dan Davison <dandavison7@gmail.com>
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
@@ -9764,13 +9764,17 @@
9764
9764
"type": "string",
9765
9765
"description": "Activity run ID, targets the latest run if run_id is empty."
9766
9766
},
9767
-
"reason": {
9768
-
"type": "string",
9769
-
"description": "Reason for requesting the termination, recorded in in the activity's result failure outcome."
9770
-
},
9771
9767
"identity": {
9772
9768
"type": "string",
9773
9769
"description": "The identity of the worker/client."
9770
+
},
9771
+
"requestId": {
9772
+
"type": "string",
9773
+
"description": "Used to de-dupe termination requests."
9774
+
},
9775
+
"reason": {
9776
+
"type": "string",
9777
+
"description": "Reason for requesting the termination, recorded in in the activity's result failure outcome."
9774
9778
}
9775
9779
}
9776
9780
},
@@ -10350,6 +10354,29 @@
10350
10354
"$ref": "#/definitions/v1PendingActivityState",
10351
10355
"description": "More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING."
10352
10356
},
10357
+
"taskQueue": {
10358
+
"$ref": "#/definitions/v1TaskQueue"
10359
+
},
10360
+
"scheduleToCloseTimeout": {
10361
+
"type": "string",
10362
+
"description": "Indicates how long the caller is willing to wait for an activity completion. Limits how long\nretries will be attempted.\n"
10363
+
},
10364
+
"scheduleToStartTimeout": {
10365
+
"type": "string",
10366
+
"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"
10367
+
},
10368
+
"startToCloseTimeout": {
10369
+
"type": "string",
10370
+
"description": "Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This\ntimeout is always retryable.\n"
10371
+
},
10372
+
"heartbeatTimeout": {
10373
+
"type": "string",
10374
+
"description": "Maximum permitted time between successful worker heartbeats."
10375
+
},
10376
+
"retryPolicy": {
10377
+
"$ref": "#/definitions/v1RetryPolicy",
10378
+
"description": "The retry policy for the activity. Will never exceed `schedule_to_close_timeout`."
10379
+
},
10353
10380
"heartbeatDetails": {
10354
10381
"$ref": "#/definitions/v1Payloads",
10355
10382
"description": "Details provided in the last recorded activity heartbeat."
@@ -10383,6 +10410,11 @@
10383
10410
"format": "date-time",
10384
10411
"description": "Scheduled time + schedule to close timeout."
10385
10412
},
10413
+
"closeTime": {
10414
+
"type": "string",
10415
+
"format": "date-time",
10416
+
"description": "Time when the activity transitioned to a closed state."
10417
+
},
10386
10418
"lastFailure": {
10387
10419
"$ref": "#/definitions/apifailurev1Failure",
10388
10420
"description": "Failure details from the last failed attempt."
0 commit comments