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

go_sdk.host() leads to unstable unreproducible builds #713

Closed
vorburger opened this issue Jun 21, 2024 · 1 comment · Fixed by #715
Closed

go_sdk.host() leads to unstable unreproducible builds #713

vorburger opened this issue Jun 21, 2024 · 1 comment · Fixed by #715
Labels
bug Something isn't working build Build, CI, etc. (w.o. #testing) contributors Affects Contributors (not users) go Go.dev #golang help wanted Extra attention is needed

Comments

@vorburger
Copy link
Member

Expected Behavior

Builds just always just work.

Actual Behavior

Builds regularly break unexpectedly, whenever the version of Go on the host changes; see #626.

Required solution

Replace the go_sdk.host() here with a "fixed version of a remote go toolchain".

@vorburger vorburger added bug Something isn't working help wanted Extra attention is needed build Build, CI, etc. (w.o. #testing) go Go.dev #golang contributors Affects Contributors (not users) labels Jun 21, 2024
vorburger added a commit to vorburger/rules_go that referenced this issue Jun 21, 2024
@vorburger
Copy link
Member Author

#715 fixed this problem locally for this project.

bazelbuild/rules_go#3967 raised for an "upstream" discussion about this problem (with bazelbuild/rules_go#3968).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Build, CI, etc. (w.o. #testing) contributors Affects Contributors (not users) go Go.dev #golang help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant