Upgrading Go version from 1.24 to 1.26#4737
Upgrading Go version from 1.24 to 1.26#4737karwaankit32 wants to merge 9 commits intoprebid:masterfrom
Conversation
Code coverage summaryNote:
adapterstestRefer here for heat map coverage report |
Code coverage summaryNote:
adapterstestRefer here for heat map coverage report |
|
Curious, entire json and yaml files are showing up as a change. Did you inadvertently change the line endings? |
| mockMetricEngine := &metrics.MetricsEngineMock{} | ||
| expectedAdapterName := openrtb_ext.BidderAppnexus | ||
| compareConnWaitTime := func(dur time.Duration) bool { return dur.Nanoseconds() > 0 } | ||
| compareConnWaitTime := func(dur time.Duration) bool { return dur >= 0 } |
There was a problem hiding this comment.
Why is this change needed?
| module github.com/prebid/prebid-server/v4 | ||
|
|
||
| go 1.23.0 | ||
| go 1.24 |
There was a problem hiding this comment.
We support the latest two releases, so the minimum version here should be 1.25.
| ## Developing | ||
|
|
||
| Prebid Server requires [Go](https://go.dev) version 1.23 or newer. You can develop on any operating system that Go supports; however, please note that our helper scripts are written in bash. | ||
| Prebid Server requires [Go](https://go.dev) version 1.24 or newer. You can develop on any operating system that Go supports; however, please note that our helper scripts are written in bash. |
There was a problem hiding this comment.
Using 1.25 starts making the webhooks fail. Also, current version being used is 1.24, shouldn't we be setting it to that?
There was a problem hiding this comment.
Using 1.25 starts making the webhooks fail.
What do you mean?
current version being used is 1.24
This PR is upgrading the current version to 1.26. Since we support current and current-1, we use current-1 version here for the tool chain to ensure compatability.
Upgrading Go version build from 1.24 and 1.26.
Doing version compatibility fixes
Testing
Ran all Unit tests
Tested following endpoints -