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
19 changes: 19 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7590,6 +7590,21 @@
},
"title": "A subset of WorkerDeploymentInfo"
},
"NamespaceInfoLimits": {
"type": "object",
"properties": {
"blobSizeLimitError": {
"type": "string",
"format": "int64",
"description": "Maximum size in bytes for payload fields in workflow history events\n(e.g., workflow/activity inputs and results, failure details, signal payloads).\nWhen exceeded, the server will reject the operation with an error."
},
"memoSizeLimitError": {
"type": "string",
"format": "int64",
"description": "Maximum total memo size in bytes per workflow execution."
}
}
},
"OperatorServiceUpdateNexusEndpointBody": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12549,6 +12564,10 @@
"$ref": "#/definitions/v1NamespaceInfoCapabilities",
"description": "All capabilities the namespace supports."
},
"limits": {
"$ref": "#/definitions/NamespaceInfoLimits",
"title": "Namespace configured limits"
},
"supportsSchedules": {
"type": "boolean",
"description": "Whether scheduled workflows are supported on this namespace. This is only needed\ntemporarily while the feature is experimental, so we can give it a high tag."
Expand Down
16 changes: 16 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9311,6 +9311,10 @@ components:
allOf:
- $ref: '#/components/schemas/NamespaceInfo_Capabilities'
description: All capabilities the namespace supports.
limits:
allOf:
- $ref: '#/components/schemas/NamespaceInfo_Limits'
description: Namespace configured limits
supportsSchedules:
type: boolean
description: |-
Expand All @@ -9335,6 +9339,18 @@ components:
type: boolean
description: True if the namespace supports reported problems search attribute
description: Namespace capability details. Should contain what features are enabled in a namespace.
NamespaceInfo_Limits:
type: object
properties:
blobSizeLimitError:
type: string
description: |-
Maximum size in bytes for payload fields in workflow history events
(e.g., workflow/activity inputs and results, failure details, signal payloads).
When exceeded, the server will reject the operation with an error.
memoSizeLimitError:
type: string
description: Maximum total memo size in bytes per workflow execution.
NamespaceReplicationConfig:
type: object
properties:
Expand Down
11 changes: 11 additions & 0 deletions temporal/api/namespace/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ message NamespaceInfo {
bool reported_problems_search_attribute = 5;
}

// Namespace configured limits
Limits limits = 8;
message Limits {
// Maximum size in bytes for payload fields in workflow history events
// (e.g., workflow/activity inputs and results, failure details, signal payloads).
// When exceeded, the server will reject the operation with an error.
int64 blob_size_limit_error = 1;
// Maximum total memo size in bytes per workflow execution.
int64 memo_size_limit_error = 2;
}

// Whether scheduled workflows are supported on this namespace. This is only needed
// temporarily while the feature is experimental, so we can give it a high tag.
bool supports_schedules = 100;
Expand Down
Loading