-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/tools/gopls: no metadata for package #41209
Comments
Is this with |
Can confirm: I ran into this message after deleting the only _test.go file of a package with gopls/v0.4.4. After upgrading to master, I can no longer reproduce the issue, i.e. everything seems to work fine. |
Sure, I'll give it another go. I'm currently on master for another reason (I forget why), but maybe the SHA can help.
|
I'm not actually sure when the bug was fixed, so I'd recommend updating to the current master. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm working on some code generators right now, so I'm very often deleting the entire module and re-generating. Sometimes I tweak the generated code before re-generating. I'm using
rm -rf ./duo-blank
from the CLI to delete the project.In this case, I added an
articles_test.go
, then ranrm -rf ./duo-blank
, then re-generated. The re-generated code does not include a replacementarticles_test.go
.It appears there's some cached metadata hasn't been cleared out.
What did you expect to see?
I expect to see this message
The code in the workspace failed to compile
less often.What did you see instead?
It shows up every time I save, so it's a bit annoying.
The text was updated successfully, but these errors were encountered: