-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
nogo broken with ".facts" errors in 0.50.0 #4084
Comments
Basic usage like that is covered by tests, so there must be something else about your targets that tickles the bug. Could you try to cut down one of the failing targets to the point that you can share it? |
https://github.com/aran/rules_go_4084 is small and has the issue for me. I also ran |
I have no idea why there is no error message in this case, but when I commented out the last of the analyzers in
This makes me think that this is an issue in @tyler-french We probably have to update |
Thanks for looking. That's a great help. In case anyone else stumbles here, I can workaround with this addition to MODULE.bazel:
and adding it to the go_deps:
|
What work remains to be done here in order to fix this problem? It's hard to tell from reading the preceding comments whether there's a change required in this repository, or if we're waiting on a fix in an upstream dependency. |
It needs a bump of |
Oh, does that mean that if my own go.mod file requires a new enough version of that At present, my go.mod file declares a(n indirect) dependency at version 0.24.0. |
That should work if you are using Bzlmod and |
I'm running into this as well and the workaround from @aran works for now, thanks for the snippet! |
What version of rules_go are you using?
0.50.0
What version of gazelle are you using?
0.38.0
What version of Bazel are you using?
7.3.1
Does this issue reproduce with the latest releases of all the above?
I think those are the latest
What operating system and processor architecture are you using?
macos/m2
Any other potentially useful information about your toolchain?
go_sdk 1.23.0
nogo set up:
What did you do?
In upgrading to 0.50.0, many go targets now fail with:
The text was updated successfully, but these errors were encountered: