Skip to content
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

Pull in new versions from makego #3342

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Pull in new versions from makego #3342

merged 2 commits into from
Sep 24, 2024

Conversation

doriable
Copy link
Member

This pulls in the latest versions from makego and runs make upgrade.

This adds a new check from golangci-lint, G115, which checks for overflow
from integer conversions. This PR includes fixes and exemptions for this check.
The check has several false positives that are still being worked on (a link to the
issue is included in the comments in .golangci.yml) so exemptions have been added
to address false positives and/or known safe operations.

Copy link
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedSep 24, 2024, 8:41 PM

# https://github.com/bufbuild/buf/releases 20240521 checked 20240524
BUF_VERSION ?= v1.32.1
# https://github.com/bufbuild/buf/releases 20240911 checked 20240916
BUF_VERSION ?= v1.41.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW we're on v1.42.0 now, but not that important.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this won't affect bufbuild/buf, but it's a good note to update makego for our other projects.

# TODO: Change back to released version once bug is fixed
PROTOC_GEN_GO_VERSION ?= 94ecbc26168965a670a0f7cf86f658131c790a9c
# https://github.com/protocolbuffers/protobuf-go/releases 20240906 checked 20240916
PROTOC_GEN_GO_VERSION ?= v1.34.3-0.20240906163944-03df6c145d96
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this being done? We have always used commits here, not Go pseudo-versions

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this was approved in https://github.com/bufbuild/makego/pull/153/files

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK it's fine

@doriable doriable merged commit ee73df5 into main Sep 24, 2024
13 checks passed
@doriable doriable deleted the update-from-makego branch September 24, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants