-
Notifications
You must be signed in to change notification settings - Fork 20
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
The results seem to be random #20
Comments
3 tasks
Note: to repro this with Kopia repo use kopia/kopia@1f3b8d4 instead of latest master, since we've merged the fix to make linter no longer flaky in kopia/kopia@04b99c7 |
The root cause seems to be the argument checker: conditionfor i in {1..10}; do GOARCH=amd64 GOOS=linux mnd ./... 2>&1 | grep 'in <condition> detected' | wc -l; done
5
5
5
5
5
5
5
5
5 operationfor i in {1..10}; do GOARCH=amd64 GOOS=linux mnd ./... 2>&1 | grep 'in <operation> detected' | wc -l; done
18
18
18
18
18
18
18
18
18
18 argumentfor i in {1..10}; do GOARCH=amd64 GOOS=linux mnd ./... 2>&1 | grep 'in <argument> detected' | wc -l; done
37
40
36
37
38
36
39
37
39
38 returnfor i in {1..10}; do GOARCH=amd64 GOOS=linux mnd ./... 2>&1 | grep 'in <return> detected' | wc -l; done
4
4
4
4
4
4
4
4
4
4 assign$ for i in {1..10}; do GOARCH=amd64 GOOS=linux mnd ./... 2>&1 | grep 'in <assign> detected' | wc -l; done
17
17
17
17
17
17
17
17
17
17 |
I found the problem I will open a PR |
Merged
PR is merged and new release published! Thanks for the fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Short summary
The results seem to be random: two calls don't provide the same results.
I found the issue during the analysis of this issue golangci/golangci-lint#1653
Steps to reproduce the behavior
go-mnd version or commit ref
I use my PR #19 because without that I was not able to run the CLI.
Go version (output of 'go version')
Operating system / Environment
Expected behavior
Actual behavior
linux
darwin
windows
The text was updated successfully, but these errors were encountered: