Skip to content

Commit

Permalink
Add SDK name and version on task metadata (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz authored Aug 9, 2023
1 parent 30fa086 commit f229641
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions temporal/api/sdk/v1/task_complete_metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,17 @@ message WorkflowTaskCompletedMetadata {
// (-- api-linter: core::0141::forbidden-types=disabled
// aip.dev/not-precedent: These really shouldn't have negative values. --)
repeated uint32 lang_used_flags = 2;

// Name of the SDK that processed the task. This is usually something like "temporal-go" and is
// usually the same as client-name gRPC header. This should only be set if its value changed
// since the last time recorded on the workflow (or be set on the first task).
//
// (-- api-linter: core::0122::name-suffix=disabled
// aip.dev/not-precedent: We're ok with a name suffix here. --)
string sdk_name = 3;

// Version of the SDK that processed the task. This is usually something like "1.20.0" and is
// usually the same as client-version gRPC header. This should only be set if its value changed
// since the last time recorded on the workflow (or be set on the first task).
string sdk_version = 4;
}

0 comments on commit f229641

Please sign in to comment.