uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
345 stars 131 forks source link

cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows) #1205

Closed longquanzheng closed 1 year ago

longquanzheng commented 1 year ago

Error when building with different arch:

/go/pkg/mod/go.uber.org/cadence@v0.19.0/internal/workflow_shadower.go:239:20: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows)

longquanzheng commented 1 year ago

looks like it's because I used linux/arm/v7 instead of linux/arm64 for docker build command