Closed gopherbot closed 8 months ago
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
May be related to my change to diagnostic logic. Let's see.
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Looked into this briefly, but have to go for the day. Found the bug, it's a real race:
Like this: we open the file, and then there's a race between the fast-path diagnostics (which don't include analysis) and the result of diagnoseFiles
, which does include analysis. The type error analyzer is run during analysis.
If we just awaited the diagnostics, similarly to how we await them in regtests, there would be no race and we could delete the diagnoseFiles
backdoor.
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Change https://go.dev/cl/556475 mentions this issue: gopls/internal/server: simplify DiagnoseFiles to avoiding races
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestFix"
Issue created automatically to collect these failures.
Example (log):
— watchflakes