Skip to content

Commit

Permalink
Merge branch 'master' into feature/improve-wf-update-comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin authored Sep 6, 2024
2 parents c158a3f + 510c7f3 commit ee2beb3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@
},
{
"name": "versions.allActive",
"description": "Include all active versions. A version is considered active if it has had new\ntasks or polls recently.",
"description": "Include all active versions. A version is considered active if, in the last few minutes,\nit has had new tasks or polls, or it has been the subject of certain task queue API calls.",
"in": "query",
"required": false,
"type": "boolean"
Expand Down Expand Up @@ -3710,7 +3710,7 @@
},
{
"name": "versions.allActive",
"description": "Include all active versions. A version is considered active if it has had new\ntasks or polls recently.",
"description": "Include all active versions. A version is considered active if, in the last few minutes,\nit has had new tasks or polls, or it has been the subject of certain task queue API calls.",
"in": "query",
"required": false,
"type": "boolean"
Expand Down Expand Up @@ -10883,7 +10883,7 @@
},
"allActive": {
"type": "boolean",
"description": "Include all active versions. A version is considered active if it has had new\ntasks or polls recently."
"description": "Include all active versions. A version is considered active if, in the last few minutes,\nit has had new tasks or polls, or it has been the subject of certain task queue API calls."
}
},
"description": "Used for specifying versions the caller is interested in."
Expand Down
8 changes: 4 additions & 4 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,8 @@ paths:
- name: versions.allActive
in: query
description: |-
Include all active versions. A version is considered active if it has had new
tasks or polls recently.
Include all active versions. A version is considered active if, in the last few minutes,
it has had new tasks or polls, or it has been the subject of certain task queue API calls.
schema:
type: boolean
- name: taskQueueTypes
Expand Down Expand Up @@ -3251,8 +3251,8 @@ paths:
- name: versions.allActive
in: query
description: |-
Include all active versions. A version is considered active if it has had new
tasks or polls recently.
Include all active versions. A version is considered active if, in the last few minutes,
it has had new tasks or polls, or it has been the subject of certain task queue API calls.
schema:
type: boolean
- name: taskQueueTypes
Expand Down
6 changes: 6 additions & 0 deletions temporal/api/sdk/v1/workflow_metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@ message WorkflowDefinition {
// A name scoped by the task queue that maps to this workflow definition.
// If missing, this workflow is a dynamic workflow.
string type = 1;

// Query definitions, sorted by name.
repeated WorkflowInteractionDefinition query_definitions = 2;

// Signal definitions, sorted by name.
repeated WorkflowInteractionDefinition signal_definitions = 3;

// Update definitions, sorted by name.
repeated WorkflowInteractionDefinition update_definitions = 4;
}

Expand Down
4 changes: 2 additions & 2 deletions temporal/api/taskqueue/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ message TaskQueueVersionSelection {
repeated string build_ids = 1;
// Include the unversioned queue.
bool unversioned = 2;
// Include all active versions. A version is considered active if it has had new
// tasks or polls recently.
// Include all active versions. A version is considered active if, in the last few minutes,
// it has had new tasks or polls, or it has been the subject of certain task queue API calls.
bool all_active = 3;
}

Expand Down

0 comments on commit ee2beb3

Please sign in to comment.