Skip to content
Open
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
2 changes: 2 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ breaking:
- WIRE_JSON
ignore:
- google
# TODO (yuandrew): remove this. Added for "heartbeat" changes
- temporal/api/worker/v1/message.proto
lint:
use:
- DEFAULT
Expand Down
6 changes: 3 additions & 3 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16272,13 +16272,13 @@
"type": "string",
"description": "Worker host identifier."
},
"processKey": {
"workerSetKey": {
"type": "string",
"title": "Worker process identifier. This id should be unique for all _processes_\nrunning workers in the namespace, and should be shared by all workers\nin the same process.\nThis will be used to build the worker command nexus task queue name:\n\"temporal-sys/worker-commands/{process_key}\""
"title": "Worker set identifier. This id should be unique for all worker sets (grouped\nby clients they share) running workers in the namespace, and should be shared by all\nworkers in the same worker set.\nThis will be used to build the worker command nexus task queue name:\n\"temporal-sys/worker-commands/{worker_set_key}\""
},
"processId": {
"type": "string",
"description": "Worker process identifier. Unlike process_key, this id only needs to be unique\nwithin one host (so using e.g. a unix pid would be appropriate)."
"description": "Worker process identifier. This id only needs to be unique\nwithin one host (so using e.g. a unix pid would be appropriate)."
},
"currentHostCpuUsage": {
"type": "number",
Expand Down
12 changes: 6 additions & 6 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13611,18 +13611,18 @@ components:
hostName:
type: string
description: Worker host identifier.
processKey:
workerSetKey:
type: string
description: |-
Worker process identifier. This id should be unique for all _processes_
running workers in the namespace, and should be shared by all workers
in the same process.
Worker set identifier. This id should be unique for all worker sets (grouped
by clients they share) running workers in the namespace, and should be shared by all
workers in the same worker set.
This will be used to build the worker command nexus task queue name:
"temporal-sys/worker-commands/{process_key}"
"temporal-sys/worker-commands/{worker_set_key}"
processId:
type: string
description: |-
Worker process identifier. Unlike process_key, this id only needs to be unique
Worker process identifier. This id only needs to be unique
within one host (so using e.g. a unix pid would be appropriate).
currentHostCpuUsage:
type: number
Expand Down
13 changes: 6 additions & 7 deletions temporal/api/worker/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ message WorkerHostInfo {
// Worker host identifier.
string host_name = 1;


// Worker process identifier. This id should be unique for all _processes_
// running workers in the namespace, and should be shared by all workers
// in the same process.
// Worker set identifier. This id should be unique for all worker sets (grouped
// by clients they share) running workers in the namespace, and should be shared by all
// workers in the same worker set.
// This will be used to build the worker command nexus task queue name:
// "temporal-sys/worker-commands/{process_key}"
string process_key = 5;
// "temporal-sys/worker-commands/{worker_set_key}"
string worker_set_key = 5;

// Worker process identifier. Unlike process_key, this id only needs to be unique
// Worker process identifier. This id only needs to be unique
// within one host (so using e.g. a unix pid would be appropriate).
string process_id = 2;

Expand Down
Loading