-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: build with go 1.18.1 #8932
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed ?
We bumped to go1.17 only when go1.18 released.
For dist.ipfs.io and the docker file I understand that we want to use go1.18 but unless we want to use go1.18 exclusive features,
I think we should continue to have a build test on go1.17 to be sure we support the two latest releases of go. (can you matrix the build instead ?)
This was mostly anomalous because bumping to 1.17 was a bit of a pain due to the breakages to xxhash. In general we support the last two minor versions of Go and release with the latest.
IMO this position isn't viable. If we're giving people go1.18 software to run (dist + docker) then that's what we primarily need to be testing. However, yes doing multiple builds/tests across the various platforms you support is generally a good idea. We do this in almost every repo other than go-ipfs since Unified CI in https://github.com/protocol/.github takes care of this for us. We can certainly add more actual testing, but is #8931 not enough to prevent us from accidentally using features from the latest Go release that aren't available in the previous one (e.g. generics in Go 1.18) since it runs |
I was thinking:
Are I you fine with that ? |
For now that seems fine. We could also add additional testing so it's not just a simple "does it build" test. If you want to add some extra workflows here go for it. Note the outstanding items to get things passing seem to be:
|
7dec5bd
to
203886d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, don't matrix with 1.17.9 but if we are gonna use build VCS info it's not usefull.
We do some via
We're not using it yet. It'll end up in the 1.18.1 binaries, but we're not explicitly doing any checking like we might want to here in the future. |
203886d
to
2a1b4d8
Compare
2a1b4d8
to
6d2f790
Compare
No description provided.