x/tools/gopls: makes http requests to random websites while editing module directive #43187
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
In an attempt to make a small reproducer for #43186, I created a go.mod that started:
module vanilla.xyz
After saving, I selected the word vanilla and started typing "chocolate" as a replacement. As I typed, gopls started attempting to retrieve results from intermediate domains choco.xyz, chocola.xyz, chocolat.xyz, despite me not hitting save. Sample alert from Little Snitch:
The partial module import path seemed to get cached, because well after I finished typing an hit save, I still got this error:
The text was updated successfully, but these errors were encountered: