Skip to content

Commit 8de1d02

Browse files
authored
Reset SDK versions (#65)
1 parent 494d65d commit 8de1d02

File tree

8 files changed

+48
-84
lines changed

8 files changed

+48
-84
lines changed

docker/buildkite/Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
FROM golang:1.13.3
2-
3-
RUN go get -u golang.org/x/lint/golint
1+
FROM golang:1.14
42

53
RUN mkdir -p /go/src/go.temporal.io/temporal
64
WORKDIR /go/src/go.temporal.io/temporal
75

86
ADD go.mod go.sum /go/src/go.temporal.io/temporal/
9-
RUN GO111MODULE=on go mod download
7+
RUN go mod download

docker/buildkite/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
- statsd
2424

2525
temporal:
26-
image: temporalio/temporal:master-auto-setup
26+
image: temporalio/auto-setup:latest
2727
ports:
2828
- "7233:7233"
2929
- "7234:7234"

go.mod

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
module go.temporal.io/temporal
22

3-
go 1.12
3+
go 1.14
44

55
require (
66
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
77
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a
8-
github.com/gogo/googleapis v1.3.2 // indirect
98
github.com/gogo/protobuf v1.3.1
109
github.com/gogo/status v1.1.0
1110
github.com/golang/mock v1.4.3
12-
github.com/golang/protobuf v1.3.5 // indirect
13-
github.com/google/go-cmp v0.4.0 // indirect
1411
github.com/google/uuid v1.1.1 // indirect
1512
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
1613
github.com/kr/text v0.2.0 // indirect
@@ -25,16 +22,15 @@ require (
2522
github.com/uber-go/tally v3.3.15+incompatible
2623
github.com/uber/jaeger-client-go v2.22.1+incompatible
2724
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
28-
go.temporal.io/temporal-proto v0.20.0-alpha
25+
go.temporal.io/temporal-proto v0.20.1
2926
go.uber.org/atomic v1.6.0
3027
go.uber.org/goleak v1.0.0
3128
go.uber.org/zap v1.14.1
3229
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
33-
golang.org/x/net v0.0.0-20200320220750-118fecf932d8
34-
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd // indirect
30+
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e
3531
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
36-
golang.org/x/tools v0.0.0-20200323210725-ef1313dc6d0a // indirect
37-
google.golang.org/genproto v0.0.0-20200323114720-3f67cca34472 // indirect
32+
golang.org/x/tools v0.0.0-20200326210457-5d86d385bf88 // indirect
33+
google.golang.org/genproto v0.0.0-20200326112834-f447254575fd // indirect
3834
google.golang.org/grpc v1.28.0
3935
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
4036
gopkg.in/yaml.v2 v2.2.8 // indirect

go.sum

+13-23
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,16 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7
1717
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a h1:yDWHCSQ40h88yih2JAcL6Ls/kVkSE8GFACTGVnMPruw=
1818
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA=
1919
github.com/gogo/googleapis v0.0.0-20180223154316-0cd9801be74a/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s=
20-
github.com/gogo/googleapis v1.3.1 h1:CzMaKrvF6Qa7XtRii064vKBQiyvmY8H8vG1xa1/W1JA=
21-
github.com/gogo/googleapis v1.3.1/go.mod h1:d+q1s/xVJxZGKWwC/6UfPIF33J+G1Tq4GYv9Y+Tg/EU=
2220
github.com/gogo/googleapis v1.3.2 h1:kX1es4djPJrsDhY7aZKJy7aZasdcB5oSOEphMjSB53c=
2321
github.com/gogo/googleapis v1.3.2/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c=
2422
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
25-
github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
2623
github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls=
2724
github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
2825
github.com/gogo/status v1.1.0 h1:+eIkrewn5q6b30y+g/BJINVVdi2xH7je5MPJ3ZPK3JA=
2926
github.com/gogo/status v1.1.0/go.mod h1:BFv9nrluPLmrS0EmGVvLaPNmRosr9KapBYd5/hpY1WM=
3027
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
3128
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
3229
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
33-
github.com/golang/mock v1.4.0 h1:Rd1kQnQu0Hq3qvJppYSG0HtP+f5LPPUiDswTLiEegLg=
34-
github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
3530
github.com/golang/mock v1.4.3 h1:GV+pQPG/EUUbkh47niozDcADz6go/dUwhVzdUQHIVRw=
3631
github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
3732
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@@ -42,13 +37,12 @@ github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaW
4237
github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls=
4338
github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
4439
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
45-
github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg=
46-
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
4740
github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
4841
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
4942
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
5043
github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA=
5144
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
45+
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
5246
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
5347
github.com/kisielk/errcheck v1.2.0 h1:reN85Pxc5larApoH1keMBiu2GWtPqXQ1nc9gx+jOU+E=
5448
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
@@ -67,6 +61,7 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWb
6761
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
6862
github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
6963
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
64+
github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=
7065
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
7166
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
7267
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
@@ -96,8 +91,8 @@ github.com/uber/jaeger-client-go v2.22.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMW
9691
github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/GfSYVCjK7dyaw=
9792
github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U=
9893
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
99-
go.temporal.io/temporal-proto v0.20.0-alpha h1:p/PBkudRd2w4f2Gu1oSAwLDRazTsX7i895gG3Q80SsY=
100-
go.temporal.io/temporal-proto v0.20.0-alpha/go.mod h1:SszgPhzKZvtDenZxaN68OKKj1RD1uVmDOHUn1RnTctk=
94+
go.temporal.io/temporal-proto v0.20.1 h1:hiu9DbQVYOZDp3IVkn0wCahIN6iQR429ctVXcUCARBw=
95+
go.temporal.io/temporal-proto v0.20.1/go.mod h1:Lv8L8YBpbp0Z7V5nbvw5UD0j7x0isebhCOIDLkBqn6s=
10196
go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk=
10297
go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
10398
go.uber.org/goleak v1.0.0 h1:qsup4IcBdlmsnGfqyLl4Ntn3C2XCCuKAE7DwHpScyUo=
@@ -130,11 +125,9 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn
130125
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
131126
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI=
132127
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
133-
golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI=
134-
golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
135128
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
136-
golang.org/x/net v0.0.0-20200320220750-118fecf932d8 h1:1+zQlQqEEhUeStBTi653GZAnAuivZq/2hz+Iz+OP7rg=
137-
golang.org/x/net v0.0.0-20200320220750-118fecf932d8/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
129+
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
130+
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
138131
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
139132
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
140133
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -145,15 +138,14 @@ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5h
145138
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
146139
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
147140
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
148-
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 h1:LfCXLvNmTYH9kEmVgqbnsWfruoXZIrh4YBgqVHtDvw0=
149-
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
150141
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884=
151142
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
152143
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
153144
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
154145
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
155146
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
156147
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
148+
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs=
157149
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
158150
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
159151
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -169,8 +161,8 @@ golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtn
169161
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
170162
golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
171163
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
172-
golang.org/x/tools v0.0.0-20200323210725-ef1313dc6d0a h1:QpsrlnR31DN2tCItRzamUXN4oAe3U00ru8f0ik9HSYI=
173-
golang.org/x/tools v0.0.0-20200323210725-ef1313dc6d0a/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
164+
golang.org/x/tools v0.0.0-20200326210457-5d86d385bf88 h1:F7fM2kxXfuWw820fa+MMCCLH6hmYe+jtLnZpwoiLK4Q=
165+
golang.org/x/tools v0.0.0-20200326210457-5d86d385bf88/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
174166
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
175167
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
176168
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
@@ -181,17 +173,14 @@ google.golang.org/genproto v0.0.0-20180518175338-11a468237815/go.mod h1:JiN7NxoA
181173
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
182174
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE=
183175
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
184-
google.golang.org/genproto v0.0.0-20200207204624-4f3edf09f4f6 h1:tirixpud1WdjE3/NrL9ar4ot0ADfwls8sOcIf1ivRDw=
185-
google.golang.org/genproto v0.0.0-20200207204624-4f3edf09f4f6/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
186-
google.golang.org/genproto v0.0.0-20200323114720-3f67cca34472 h1:XRuIAeTRoXziYGYTVer+YGxVXQBiOhZ8+SpNELP73oQ=
187-
google.golang.org/genproto v0.0.0-20200323114720-3f67cca34472/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
176+
google.golang.org/genproto v0.0.0-20200325114520-5b2d0af7952b/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
177+
google.golang.org/genproto v0.0.0-20200326112834-f447254575fd h1:DVCc2PgW9UrvHGZGEv4Mt3uSeQtUrrs7r8pUw+bVwWI=
178+
google.golang.org/genproto v0.0.0-20200326112834-f447254575fd/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
188179
google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
189180
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
190181
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
191182
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
192183
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
193-
google.golang.org/grpc v1.27.1 h1:zvIju4sqAGvwKspUQOhwnpcqSbzi7/H6QomNNjTL4sk=
194-
google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
195184
google.golang.org/grpc v1.28.0 h1:bO/TA4OxCOummhSf10siHuG7vJOiwh7SpRpFZDkOgl4=
196185
google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
197186
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -202,6 +191,7 @@ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8
202191
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
203192
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
204193
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
194+
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
205195
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
206196
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
207197
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=

internal/internal_utils.go

+12-17
Original file line numberDiff line numberDiff line change
@@ -41,35 +41,30 @@ import (
4141
)
4242

4343
const (
44-
// libraryVersionHeaderName refers to the name of the
45-
// tchannel / http header that contains the client
46-
// library version
47-
libraryVersionHeaderName = "temporal-sdk-version"
44+
// clientVersionHeaderName refers to the name of the gRPC metadata header that contains the client version.
45+
clientVersionHeaderName = "temporal-client-version"
4846

49-
// featureVersionHeaderName refers to the name of the
50-
// tchannel / http header that contains the client
51-
// feature version
52-
featureVersionHeaderName = "temporal-sdk-feature-version"
47+
// clientFeatureVersionHeaderName refers to the name of the gRPC metadata header that contains the client feature set version.
48+
clientFeatureVersionHeaderName = "temporal-client-feature-version"
5349

54-
// clientImplHeaderName refers to the name of the
55-
// header that contains the client implementation
56-
clientImplHeaderName = "temporal-sdk-name"
50+
// clientImplHeaderName refers to the name of the gRPC metadata header that contains the client implementation.
51+
clientImplHeaderName = "temporal-client-name"
5752
clientImplHeaderValue = "temporal-go"
5853

59-
// defaultRPCTimeout is the default tchannel rpc call timeout
54+
// defaultRPCTimeout is the default gRPC rpc call timeout
6055
defaultRPCTimeout = 10 * time.Second
61-
//minRPCTimeout is minimum rpc call timeout allowed
56+
// minRPCTimeout is minimum rpc call timeout allowed
6257
minRPCTimeout = 1 * time.Second
63-
//maxRPCTimeout is maximum rpc call timeout allowed
58+
// maxRPCTimeout is maximum rpc call timeout allowed
6459
maxRPCTimeout = 20 * time.Second
6560
)
6661

6762
var (
6863
// call header to temporal server
6964
headers = metadata.New(map[string]string{
70-
libraryVersionHeaderName: LibraryVersion,
71-
featureVersionHeaderName: FeatureVersion,
72-
clientImplHeaderName: clientImplHeaderValue,
65+
clientVersionHeaderName: SDKVersion,
66+
clientFeatureVersionHeaderName: SDKFeatureVersion,
67+
clientImplHeaderName: clientImplHeaderValue,
7368
})
7469
)
7570

internal/version.go

+9-19
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,16 @@
2020

2121
package internal
2222

23-
// below are the metadata which will be embedded as part
24-
// of headers in every rpc call made by this client to
25-
// temporal server.
23+
// Below are the metadata which will be embedded as part of headers in every rpc call made by this client to Temporal server.
24+
// Update to the metadata below is typically done by the Temporal team as part of a major feature or behavior change.
2625

27-
// Update to the metadata below is typically done
28-
// by the temporal team as part of a major feature or
29-
// behavior change
30-
31-
// LibraryVersion is a semver that represents
32-
// the version of this temporal client library.
33-
// This represents API changes visible to Temporal
34-
// client side library consumers, i.e. developers
35-
// that are writing workflows. So every time we change API
36-
// that can affect them we have to change this number.
26+
// SDKVersion is a semver that represents the version of this Temporal SDK.
27+
// This represents API changes visible to Temporal SDK consumers, i.e. developers
28+
// that are writing workflows. So every time we change API that can affect them we have to change this number.
3729
// Format: MAJOR.MINOR.PATCH
38-
const LibraryVersion = "0.10.1"
30+
const SDKVersion = "0.20.0"
3931

40-
// FeatureVersion is a semver that represents the
41-
// feature set of this temporal client library support.
42-
// This can be used for client capability check, on
43-
// Temporal server, for backward compatibility
32+
// SDKFeatureVersion is a semver that represents the feature set version of this Temporal SDK support.
33+
// This can be used for client capability check, on Temporal server, for backward compatibility.
4434
// Format: MAJOR.MINOR.PATCH
45-
const FeatureVersion = "1.5.0"
35+
const SDKFeatureVersion = "1.0.0"

test/integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (ts *IntegrationTestSuite) TearDownSuite() {
133133
func (ts *IntegrationTestSuite) SetupTest() {
134134
ts.seq++
135135
ts.activities.clearInvoked()
136-
ts.taskListName = fmt.Sprintf("tl-%v", ts.seq)
136+
ts.taskListName = fmt.Sprintf("tl-%v-%s", ts.seq, ts.T().Name())
137137
logger, err := zap.NewDevelopment()
138138
ts.NoError(err)
139139
ts.tracer = newtracingInterceptorFactory()

version.go

+5-10
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,8 @@ package temporal
2222

2323
import "go.temporal.io/temporal/internal"
2424

25-
// LibraryVersion is a semver string that represents
26-
// the version of this temporal client library
27-
// it will be embedded as a "version" header in every
28-
// rpc call made by this client to temporal server.
29-
// In addition, the version string will be used by
30-
// the server to enforce compatibility checks
31-
// Update to this version number is typically done
32-
// by the temporal team as part of a major feature or
33-
// behavior change
34-
const LibraryVersion = internal.LibraryVersion
25+
// SDKVersion is a semver that represents the version of this Temporal SDK.
26+
// This represents API changes visible to Temporal SDK consumers, i.e. developers
27+
// that are writing workflows. So every time we change API that can affect them we have to change this number.
28+
// Format: MAJOR.MINOR.PATCH
29+
const SDKVersion = internal.SDKVersion

0 commit comments

Comments
 (0)