Skip to content
Merged
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 @@ -13670,6 +13670,10 @@
"standaloneActivities": {
"type": "boolean",
"title": "True if the namespace supports standalone activities"
},
"workerPollCompleteOnShutdown": {
"type": "boolean",
"description": "True if the namespace supports server-side completion of outstanding worker polls on shutdown.\nWhen enabled, the server will complete polls for workers that send WorkerInstanceKey in their\npoll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return\nan empty response. When this flag is true, workers should allow polls to return gracefully\nrather than terminating any open polls on shutdown."
}
},
"description": "Namespace capability details. Should contain what features are enabled in a namespace."
Expand Down
8 changes: 8 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10744,6 +10744,14 @@ components:
standaloneActivities:
type: boolean
description: True if the namespace supports standalone activities
workerPollCompleteOnShutdown:
type: boolean
description: |-
True if the namespace supports server-side completion of outstanding worker polls on shutdown.
When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
an empty response. When this flag is true, workers should allow polls to return gracefully
rather than terminating any open polls on shutdown.
description: Namespace capability details. Should contain what features are enabled in a namespace.
NamespaceInfo_Limits:
type: object
Expand Down
6 changes: 6 additions & 0 deletions temporal/api/namespace/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ message NamespaceInfo {
bool workflow_pause = 6;
// True if the namespace supports standalone activities
bool standalone_activities = 7;
// True if the namespace supports server-side completion of outstanding worker polls on shutdown.
// When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
// poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
// an empty response. When this flag is true, workers should allow polls to return gracefully
// rather than terminating any open polls on shutdown.
bool worker_poll_complete_on_shutdown = 8;
}

// Namespace configured limits
Expand Down
Loading