-
Notifications
You must be signed in to change notification settings - Fork 18.1k
cmd/go: coverpkg flag should be part of cache key #66504
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
Comments
(attn @thanm) |
I can't reproduce your result for 100% and 33% ? |
Interesting. I did try before inside Docker container to make sure it is reproducible, but I was also playing a lot with contents of files. I think something got wrong with the cache. If I try now inside clean container with clean checkout without any prior cache, it works as expected. This is now full reproduction:
|
I think |
Uh oh!
There was an error while loading. Please reload this page.
Go version
go version go1.22.1 linux/amd64
Output of
go env
in your module/workspace:What did you do?
On this example repository I ran:
and:
What did you see happen?
I expected in both cases all coverage numbers to be the same.
(I have the problem with coverage numbers themselves, but I will report that separately.)
What did you expect to see?
Different numbers:
The text was updated successfully, but these errors were encountered: