You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use goimports internally to resolve the imports for some auto generated Go code. The code snippets are part of our tests and have worked correctly for more than a year now without being modified, however I just now managed to crash the tests in goimports with a concurrent map read/write. I can't really provide a repro code since it never happened until now so it probably won't happen again too fast either.
We're using a vendored version at commit be0fcc31ae2332374e800dfff29b721c585b35df, so it might have been an issue fixed since then.
The code snippets are part of our tests and have worked correctly for more than a year now without being modified [...] I can't really provide a repro code since it never happened until now so it probably won't happen again too fast either.
That being said, I think it has to do with low disk space. I actually hit the exact same issue rerunning my tests, but after freeing up some disk space all tests work correctly. I'm guessing some error path gets hit that doesn't have a proper synchronization. I'll try to repro with latets master if I can.
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
We use
goimports
internally to resolve the imports for some auto generated Go code. The code snippets are part of our tests and have worked correctly for more than a year now without being modified, however I just now managed to crash the tests in goimports with a concurrent map read/write. I can't really provide a repro code since it never happened until now so it probably won't happen again too fast either.We're using a vendored version at commit
be0fcc31ae2332374e800dfff29b721c585b35df
, so it might have been an issue fixed since then.The text was updated successfully, but these errors were encountered: