Skip to content

Commit e400847

Browse files
author
Joshua Timmons
authored
Merge branch 'master' into jjtimmons/fix/jsonEncoding-Unmarshal
2 parents a6fbd29 + aa89bb7 commit e400847

29 files changed

+112
-121
lines changed

activity/activity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ package activity
2323
import (
2424
"context"
2525

26-
"github.com/uber-go/tally/v4"
26+
"github.com/uber-go/tally"
2727
"go.uber.org/cadence/internal"
2828
"go.uber.org/zap"
2929
)

go.mod

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,21 @@ module go.uber.org/cadence
33
go 1.13
44

55
require (
6-
github.com/apache/thrift v0.0.0-20161221203622-b2a4d4ae21c7
6+
github.com/apache/thrift v0.16.0
77
github.com/cristalhq/jwt/v3 v3.1.0
88
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a
99
github.com/gogo/protobuf v1.3.2
10-
github.com/golang/mock v1.4.4
10+
github.com/golang/mock v1.5.0
1111
github.com/kisielk/errcheck v1.5.0
1212
github.com/marusama/semaphore/v2 v2.5.0
1313
github.com/opentracing/opentracing-go v1.1.0
1414
github.com/pborman/uuid v0.0.0-20160209185913-a97ce2ca70fa
1515
github.com/robfig/cron v1.2.0
16-
github.com/streadway/quantile v0.0.0-20220407130108-4246515d968d // indirect
17-
github.com/stretchr/testify v1.4.0
18-
github.com/twmb/murmur3 v1.1.6 // indirect
19-
github.com/uber-go/tally/v4 v4.1.1
16+
github.com/stretchr/testify v1.5.1
17+
github.com/uber-go/tally v3.3.15+incompatible
2018
github.com/uber/cadence-idl v0.0.0-20220713235846-fda89e95df1e
2119
github.com/uber/jaeger-client-go v2.22.1+incompatible
22-
github.com/uber/tchannel-go v1.16.0
20+
github.com/uber/tchannel-go v1.32.1
2321
go.uber.org/atomic v1.9.0
2422
go.uber.org/fx v1.13.1 // indirect
2523
go.uber.org/goleak v1.0.0
@@ -28,7 +26,7 @@ require (
2826
go.uber.org/yarpc v1.55.0
2927
go.uber.org/zap v1.13.0
3028
golang.org/x/lint v0.0.0-20200130185559-910be7a94367
31-
golang.org/x/net v0.0.0-20201021035429-f5854403a974
29+
golang.org/x/net v0.0.0-20220121210141-e204ce36a2ba
3230
golang.org/x/sys v0.0.0-20220403205710-6acee93ad0eb // indirect
3331
golang.org/x/time v0.0.0-20170927054726-6dc17368e09b
3432
honnef.co/go/tools v0.0.1-2019.2.3

go.sum

Lines changed: 35 additions & 68 deletions
Large diffs are not rendered by default.

internal/activity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"time"
2828

2929
"github.com/opentracing/opentracing-go"
30-
"github.com/uber-go/tally/v4"
30+
"github.com/uber-go/tally"
3131
"go.uber.org/cadence/.gen/go/shared"
3232
"go.uber.org/zap"
3333
"go.uber.org/zap/zapcore"

internal/client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"time"
2828

2929
"github.com/opentracing/opentracing-go"
30-
"github.com/uber-go/tally/v4"
30+
"github.com/uber-go/tally"
3131
"go.uber.org/cadence/.gen/go/cadence/workflowserviceclient"
3232
s "go.uber.org/cadence/.gen/go/shared"
3333
"go.uber.org/cadence/internal/common/auth"
@@ -524,6 +524,7 @@ func getFeatureFlags(options *ClientOptions) FeatureFlags {
524524
if options != nil {
525525
return FeatureFlags{
526526
WorkflowExecutionAlreadyCompletedErrorEnabled: options.FeatureFlags.WorkflowExecutionAlreadyCompletedErrorEnabled,
527+
PollerAutoScalerEnabled: options.FeatureFlags.PollerAutoScalerEnabled,
527528
}
528529
}
529530
return FeatureFlags{}

internal/common/metrics/capturingStatsReporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"io"
2525
"time"
2626

27-
"github.com/uber-go/tally/v4"
27+
"github.com/uber-go/tally"
2828
)
2929

3030
// NewMetricsScope returns a new metric scope

internal/common/metrics/scope.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"sync"
2525
"time"
2626

27-
"github.com/uber-go/tally/v4"
27+
"github.com/uber-go/tally"
2828
)
2929

3030
type (

internal/common/metrics/scope_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"time"
2828

2929
"github.com/stretchr/testify/require"
30-
"github.com/uber-go/tally/v4"
30+
"github.com/uber-go/tally"
3131
)
3232

3333
func Test_Counter(t *testing.T) {

internal/common/metrics/service_wrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"sync"
2626
"time"
2727

28-
"github.com/uber-go/tally/v4"
28+
"github.com/uber-go/tally"
2929
"go.uber.org/cadence/.gen/go/cadence/workflowserviceclient"
3030
"go.uber.org/cadence/.gen/go/shared"
3131
"go.uber.org/yarpc"

internal/common/metrics/service_wrapper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030

3131
"github.com/golang/mock/gomock"
3232
"github.com/stretchr/testify/require"
33-
"github.com/uber-go/tally/v4"
33+
"github.com/uber-go/tally"
3434
"github.com/uber/tchannel-go/thrift"
3535
"go.uber.org/cadence/.gen/go/cadence/workflowserviceclient"
3636
"go.uber.org/cadence/.gen/go/cadence/workflowservicetest"

0 commit comments

Comments
 (0)