Closed vytautas-karpavicius closed 2 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
internal/internal_task_pollers.go | 2 | 81.53% | ||
internal/common/convert.go | 3 | 84.62% | ||
<!-- | Total: | 5 | --> |
Totals | |
---|---|
Change from base Build 4f32e7fd-8f48-4ad7-9dd0-cf6c681c5e48: | -0.03% |
Covered Lines: | 12251 |
Relevant Lines: | 19363 |
What changed?
go get github.com/uber/cadence-idl
go.uber.org/cadence/.gen/proto/api/v1
withgithub.com/uber/cadence-idl/go/proto/api/v1
everywhereWhy? Public API proto types are generated on cadence-idl repo (https://github.com/uber/cadence-idl/pull/94) so that they could be shared between client/server. Otherwise it results in duplicated type registrations when using both.
How did you test it?
Potential risks Unfortunately this is a BREAKING CHANGE for people that started using
compatibility
package. Good thing is that fix is easy - replace one import pathgo.uber.org/cadence/.gen/proto/api/v1
->github.com/uber/cadence-idl/go/proto/api/v1
Will need to mention this in the change log of the next release.