-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Bazel CI breaks frequently #817
Comments
I don't know about users of the Bazel build, but if the I heard from @achew22 that bazel stuff will sometime soon be generated from |
It doesn't, so that shouldn't be a problem. Whether using
|
Ok, that's not so bad then. So is it correct that this might still be useful sometimes because user submitted changes may legitimately break something? To me it looks like:
Is that a fair summary? If so, I don't think option 1 is so bad for now, if we find it's causing a lot of friction more often than we'd like we can move to option 2. |
As it turned out the failure in #816 was correct - I was wrong about it being unrelated to the change. |
I am having a hard time construction the situation where you need to run docker to invoke gazelle. Gazelle is used to bootstrap into bazel and doesn't have any hard dependencies on it.
|
Do we still need |
It should just be standard go code and work fine without needing bazel, but I'm less certain about it (since it's not designed to be the on ramp). Not at a computer for a while but I would guess something like
|
I honestly didn't think about using |
If they're both linters I'm happy enough to always use tip tbh. Otherwise we can add it to |
It's unfortunately not safe to use tip for Gazelle, as its generated code is tied to the version of IIUC, if it's |
Nah we could just put that in the contribution notes: |
This has turned out not to be such a big problem so I'm happy to close this. |
Adding Gazelle to the CI (#802) has resulted in additional work for contributors (#812, #816).
This breakage could be quite frequent if it's required for any change that affects the dependencies of the individual Golang packages. I see two options:
docker run
command to the error message in the CI, and possibly by adding instructions to the pull request templatedocker run
command involves a ~1GB download as well as a build takes several minutes on a laptopI don't have a preference as our project doesn't need to stay on the bleeding edge of grpc-gateway. Does the Bazel build have any other users?
The text was updated successfully, but these errors were encountered: