Skip to content
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: VS code hangs when working on a project that uses bazel. #48751

Open
gonzojive opened this issue Oct 3, 2021 · 8 comments
Open

x/tools/gopls: VS code hangs when working on a project that uses bazel. #48751

gonzojive opened this issue Oct 3, 2021 · 8 comments

Comments

@gonzojive
Copy link

@gonzojive gonzojive commented Oct 3, 2021

What did you do?

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is better.
A failing unit test is the best.

  1. Pull the code from https://github.com/gonzojive/xtoproto/tree/codegen
  2. In the background, run ibazel test //codegen:all
  3. Open the project in VS Code and start editing codegen/codegen_imports_test.go.
  4. Run bazel run //:gazelle
  5. Make some changes to codegen/codegen_imports_test.go and hit save.
  6. Repeat 4-5 several times.

Eventually, the save command fails and go-pls stops giving autocomplete suggestions.

What did you expect to see?

I would expect go-pls to remain happy and for save to work.

What did you see instead?

In the gopls (server)output:

	query=[file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/debuglog_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/regexp/exec2_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/dial_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/unixsock_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/iprawsock_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/hash_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/context/x_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/callers_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/stringer_example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/atoi_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/proto/generate_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/netpoll_os_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/rdf/ntriples/ntriples_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/malloc_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/internal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/futex_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/example_keys_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/config_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/protoconn_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/pathtools/path_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/pipe_test.go file:///home/red/git/xtoproto/bazel-xtoproto/csvinfer/csvinfer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/map_reference_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_bsd_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/builder_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_control_flow_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/tomltree_create_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/net_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/exec_solaris_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/cgolib/foo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/path/match_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/example_reporter_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/io/pipe_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/path_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/dnsname_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/timeout_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/udpsock_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bytes/bytes_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/rwmutex_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/helperfuncs_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bufio/scan_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_plan9_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/pool_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/generate_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/crypto/issue21104_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/benchmark_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/examples/example02/converter02/converter02_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/html/escape_test.go file:///home/red/git/xtoproto/bazel-xtoproto/sexpr/sexpr_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/internal/go_repository_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/splice_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bytes/boundary_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/cgo_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/internal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/lexer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/decimal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/search_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/internal/value/sort_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/context/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/strings_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/map_benchmark_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/errors/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/textcoder/textcoder_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/unused_deps/jar_manifest_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_noconf_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/edit/edit_test.go file:///home/red/git/xtoproto/bazel-xtoproto/csvcoder/csvcoder_examples_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/image/decode_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/packetconn_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/exec_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/doc/codewalk/codewalk_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/documentation_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_bazel_api_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/timeout_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bytes/buffer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/map_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/rawconn_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/rawconn_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/regexp/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/position_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/naming_convention/import/bin/bin_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/runtime_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/stringer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/parser_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/addrselect_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/conf_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/netgo_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/internal/protoreflectcmp/protoreflectcmp_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/export_freebsd_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/lfstack_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bmatcuk_doublestar/doublestar_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/interface_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/error_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/repo/remote_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/rule/rule_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/vlop_arm_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/config/config_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/unicode/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/tests_with_testdata/internal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/format_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/dirent_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/example_interface_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_freebsd_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/keysparsing_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bufio/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/proto/resolve_test.go file:///home/red/git/xtoproto/bazel-xtoproto/rdf/rdfxml/rdfxml_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/crash_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/options_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/exec_aix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/rawconn_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/dnsclient_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/textpos/textpos_from_go_token_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bytes/reader_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/debug_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/internal/version/version_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/path/path_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/path_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/rawconn_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/platforms/suffix_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/closure_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/getdirentries_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/edit/buildozer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/tick_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/rdf/iri/iri_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/conv_wasm_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/types_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/reflect/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/build/print_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/context/benchmark_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/cgolib_with_build_tags/foo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/dial_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/port_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/profbuf_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/bin_with_tests/bin_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/checkptr_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/error_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_cloexec_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/unixsock_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/naming_convention/import/lib/lib_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_debuglog_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/os_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/math/export_s390x_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/crash_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/unicode/digit_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/build/quote_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/reflect/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_futex_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/memmove_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/hash/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/cmd/gazelle/fix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/interface_bsd_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/internal/wspace/finder_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/build/lex_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_mmap_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/export_android_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/search_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/nss_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/math/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/gc_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/tests_import_testdata/external_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_macro_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/replace_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_docstring_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/error_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/runtime-gdb_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_cosmetic_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/slice_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/html/entity_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/default_visibility/a_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/naming_convention/versions/v2/lib_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/write_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/strconv_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/mpagecache_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/interface_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/zoneinfo_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/udpsock_plan9_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/dnsclient_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/io/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/chan_test.go file:///home/red/git/xtoproto/bazel-xtoproto/service/service_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/export_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/sort_test.go file:///home/red/git/xtoproto/bazel-xtoproto/recordinfer/recordinfer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/norace_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_conf_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/creds_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/tcpsock_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/mime/encodedword_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/cond_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/export_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/string_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/chanbarrier_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/mgcscavenge_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/textcoder/textcoder_example_interface_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/panic_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/external_test.go file:///home/red/git/xtoproto/bazel-xtoproto/codegen/codegen_imports.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/mime/mediatype_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/error_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/iface_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/os_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/stubs_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/image/geom_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/flag/flag_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/runtime_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/toml_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/repo/repo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/nbpipe_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/env_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/memmove_linux_amd64_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/tables/jsonparser_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/map_bench_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/fileinfo_go_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/waitgroup_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/rule/directives_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/error_plan9_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/label/label_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/once_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/log/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/atof_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/misc/reboot/overlaydir_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/itoa_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/misc/reboot/reboot_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/context/context_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/nbpipe_fcntl_libc_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/signal_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_ptrace_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/edit/fix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/env_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/cmd/fetch_repo/fetch_repo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/example_wrapper_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_deprecated_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/export_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/mmap_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/ipsock_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/error_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/cmd/generate_repo_config/generate_repo_config_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/tests_with_testdata/external_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/build/checkfile_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/export_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/readfrom_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_naming_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/map_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/tests_import_testdata/internal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/cmpopts/util_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/cmd/gazelle/integration_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_debug_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/regexp/find_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/expvar/expvar_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/time_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/build/rule_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/listen_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/exec_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/pipe_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/cmd/tomljson/main_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/image/decode_example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/marshal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_arm_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/buildifier/utils/utils_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/interface_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/query/parser_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/build/parse_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/atob_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/walk/walk_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/query/match_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/token_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/unixsock_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_bazel_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/removeall_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/time_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/wspace/workspace_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/flag/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/math/arith_s390x_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/log/log_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/fastlog2_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/error_posix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/softfloat64_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/mac_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_plan9_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/lib/lib_external_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/example_multi_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/query/lexer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/csvcoder/csvcoder_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/compare_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/build/walk_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/lookup_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/resolve_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/errors/wrap_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/lib/lib_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_solaris_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/ftoa_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/plugin/plugin_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/sub_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/proc_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/mockserver_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/hash/marshal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/html/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/math/huge_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/reflect/tostring_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/walk/config_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/lookup_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/export_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/scan_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/math/all_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/conn_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/fmt_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/doc_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/syscall_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/symtab_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/naming_convention/dot.go/dot_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/runtime_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/env_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/writev_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pmezard_go_difflib/difflib/difflib_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/gostringer_example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/net_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/zoneinfo_android_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/cmd/gazelle/diff_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/platform_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/naming_convention/import_alias/bin/bin_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/misc/reboot/experiment_toolid_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/mpagealloc_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/error_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/sexpr/sexpr_examples_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/path/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_operation_test.go file:///home/red/git/xtoproto/bazel-xtoproto/wirepath/wirepath_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/file_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/sendfile_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/example_search_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/reflect/all_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bytes/compare_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/crash_nonunix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/examples/example01/converter/converter_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/tomltree_write_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/syscall_windows_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/image/image_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/compare_test.go file:///home/red/git/xtoproto/bazel-xtoproto/textcoder/textcoder_example_context_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/main_test_only/foo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/io/io_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/platforms/generic_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/hosts_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/os_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/dnsconfig_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/syscall/export_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/crash_cgo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/io/multi_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/ipsock_plan9_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/helper_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bufio/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/mutex_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/example_pool_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/fix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/internal/value/zero_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/complex_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/sleep_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/zoneinfo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/flag/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sync/runtime_sema_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/testing_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/repo/stubs_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/errors_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/quote_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/ip_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/edit/buildozer_command_file_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_pelletier_go_toml/query/query_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/mono_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/bzlenv/bzlenv_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/fifo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/stack_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/reflect/set_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/fileinfo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/semasleep_test.go file:///home/red/git/xtoproto/bazel-xtoproto/textcoder/textcoder_example_explicit_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/mfinal_test.go file:///home/red/git/xtoproto/bazel-xtoproto/codegen/codegen_imports_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/atoc_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bytes/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/rawconn_stub_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/errors/errors_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/cmd/move_labels/move_labels_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/internal/diff/diff_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/fmt/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strings/reader_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/rand_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/tcpsock_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/internal/gazellebinarytest/gazellebinary_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_aix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/unicode/letter_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_bazel_operation_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_google_go_cmp/cmp/internal/function/func_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/sema_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/server_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/mime/type_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/norace_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/strconv/fp_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/defer_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bytes/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/proto_package_mode_extras/foo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/regexp/onepass_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/parse_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_darwin_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/unicode/graphic_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/proc_runtime_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/stat_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/gcinfo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/regexp/exec_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/regexp/all_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/allocs_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/update_import_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/match_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/allcgolib/foo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/merger/merger_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/math/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/rwmutex_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/image/ycbcr_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_linux_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/panic_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/mime/example_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/runtime-lldb_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/importmap/extra_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/proto/config_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/runtime_mmap_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/bufio/bufio_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/context/net_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/flag/example_value_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/sizeof_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/unicode/script_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/net/main_posix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/proto/fileinfo_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/nbpipe_fcntl_unix_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/bazel_gazelle/language/go/testdata/naming_convention/import_alias/lib/lib_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/com_github_bazelbuild_buildtools/warn/warn_visibility_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/executable_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/os/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/numcpu_freebsd_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/testing/benchmark_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/sort/export_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/runtime/mpallocbits_test.go file:///home/red/git/xtoproto/bazel-xtoproto/external/go_sdk/src/time/tzdata_test.go]

Build info

golang.org/x/tools/gopls v0.7.2
    golang.org/x/tools/gopls@v0.7.2 h1:kRKKdvA8GOzra8rhSFDClOR7hV/x8v0J0Vm4C/gWq8s=
    github.com/BurntSushi/toml@v0.4.1 h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw=
    github.com/google/go-cmp@v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/mod@v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
    golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
    golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e h1:WUoyKPm6nCo1BnNUvPGnFG3T5DUVem42yDJZZ4CNxMA=
    golang.org/x/tools@v0.1.6-0.20210908190839-cf92b39a962c h1:C0nyHiBU2m0cR6hDiUORWqQIt3h37wsp1255QBSSXqY=
    golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
    honnef.co/go/tools@v0.2.0 h1:ws8AfbgTX3oIczLPNPCu5166oBg9ST2vNs0rcht+mDE=
    mvdan.cc/gofumpt@v0.1.1 h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA=
    mvdan.cc/xurls/v2@v2.3.0 h1:59Olnbt67UKpxF1EwVBopJvkSUBmgtb468E4GVWIZ1I=
@gopherbot gopherbot added this to the Unreleased milestone Oct 3, 2021
@gonzojive
Copy link
Author

@gonzojive gonzojive commented Oct 4, 2021

The title is probably not the most descriptive. VS Code doesn't become entirely unresponsive (hang). Go functionality just stops and saves don't complete until reloading VS Code.

@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Oct 4, 2021

Please take a look at https://github.com/golang/tools/tree/master/gopls#supported-go-versions-and-build-systems. Bazel is not fully supported, but you can try setting up the gopackagesdriver as described in the linked instructions.

@findleyr findleyr removed this from the Unreleased milestone Oct 4, 2021
@findleyr findleyr added this to the gopls/unplanned milestone Oct 4, 2021
@gonzojive
Copy link
Author

@gonzojive gonzojive commented Oct 5, 2021

FWIW, the project in question works fine as long as I am not simultaneously using bazel tools. That is, the project is structured to be developed like a regular go project that uses go to build/test, go mod for managing dependencies, etc. It is only when bazel runs and populates the symlinked directories in the project root that I have problems.

I will take a look at the link nonetheless.

@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 5, 2021

While bazel is running and updating underlying files and symlinks, how can one guarantee the project is in a state that can be treated like a regular go project? I don't know what gopls can do better if other independent tools are modifying the project concurrently in high-speed.

Since bazel is not officially supported and the current recommendation is to follow the instruction @stamblerre mentioned, I don't see anything actionable here. Sorry.

@hyangah hyangah closed this Oct 5, 2021
@gonzojive
Copy link
Author

@gonzojive gonzojive commented Oct 5, 2021

Bazel is not mutating any files outside of the symlinked directories. Occasionally the BUILD files will be updated, but this is infrequent.

There is a possibility gopls or some other go tool is traversing the symlinked directories, which I believe would be a bug.

@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 5, 2021

Please reopen or file a new issue when you have a trace and a minimal repro-case (the linked repo is not publicly accessible fyi). For gopls logging, see https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#capture-logs for instruction.

@gonzojive
Copy link
Author

@gonzojive gonzojive commented Oct 7, 2021

I will try to capture logs when I have time.

The repo linked above should be identical to this one now:

https://github.com/google/xtoproto

@hyangah hyangah reopened this Oct 7, 2021
@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 8, 2021

Gopls's behavior around symlinks is undefined. If you collect trace, please update this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants