Skip to content

Commit f229641

Browse files
authored
Add SDK name and version on task metadata (#306)
1 parent 30fa086 commit f229641

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

temporal/api/sdk/v1/task_complete_metadata.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,17 @@ message WorkflowTaskCompletedMetadata {
6060
// (-- api-linter: core::0141::forbidden-types=disabled
6161
// aip.dev/not-precedent: These really shouldn't have negative values. --)
6262
repeated uint32 lang_used_flags = 2;
63+
64+
// Name of the SDK that processed the task. This is usually something like "temporal-go" and is
65+
// usually the same as client-name gRPC header. This should only be set if its value changed
66+
// since the last time recorded on the workflow (or be set on the first task).
67+
//
68+
// (-- api-linter: core::0122::name-suffix=disabled
69+
// aip.dev/not-precedent: We're ok with a name suffix here. --)
70+
string sdk_name = 3;
71+
72+
// Version of the SDK that processed the task. This is usually something like "1.20.0" and is
73+
// usually the same as client-version gRPC header. This should only be set if its value changed
74+
// since the last time recorded on the workflow (or be set on the first task).
75+
string sdk_version = 4;
6376
}

0 commit comments

Comments
 (0)