fix: Destination migration testing using incorrect mode#822
fix: Destination migration testing using incorrect mode#822kodiakhq[bot] merged 2 commits intomainfrom
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #822 +/- ##
==========================================
- Coverage 47.18% 47.04% -0.15%
==========================================
Files 76 76
Lines 7845 7858 +13
==========================================
- Hits 3702 3697 -5
- Misses 3643 3670 +27
+ Partials 500 491 -9 ☔ View full report in Codecov by Sentry. |
⏱️ Benchmark results
|
const (
MigrateModeSafe MigrateMode = iota
MigrateModeForced
)How is it incorrect? Zero value defaults to safe. Maybe not 'explicit', but shouldn't be incorrect? |
|
Yeah, I think it's just not explicit, but explicit is better than implicit I think, so we may want to just update the title of this PR if it's not fixing anything in reality. |
I think it might be due to a race where the variable was changed in another test. but not sure at this stage. |
🤖 I have created a release *beep* *boop* --- ## [2.5.2](v2.5.1...v2.5.2) (2023-05-02) ### Bug Fixes * **deps:** Update github.com/apache/arrow/go/v12 digest to 0ea1a10 ([#836](#836)) ([5561fa1](5561fa1)) * **deps:** Update golang.org/x/exp digest to 47ecfdc ([#837](#837)) ([bb56f9c](bb56f9c)) * **deps:** Update golang.org/x/xerrors digest to 04be3eb ([#838](#838)) ([42d4517](42d4517)) * **deps:** Update google.golang.org/genproto digest to daa745c ([#839](#839)) ([1285222](1285222)) * **deps:** Update module github.com/avast/retry-go/v4 to v4.3.4 ([#840](#840)) ([47da73d](47da73d)) * Destination migration testing using incorrect mode ([#822](#822)) ([fa51c80](fa51c80)) * **json:** Use `GetOneForMarshal` instead of deserialization-serialization cycle ([#834](#834)) ([6fb7c1c](6fb7c1c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
Use the following steps to ensure your PR is ready to be reviewed
go fmtto format your code 🖊golangci-lint run🚨 (install golangci-lint here)