Compiler regression in Go 1.20 causes hangs
We have observed that the upgrade to Go 1.20 is causing test failures in internal/gitaly
, which is seemingly related to our use of Badger in the write-ahead log. We have bisected the failure to 8477562ce5 (cmd/compile: be more careful about pointer incrementing in range loops, 2022-11-11). The failure has been fixed upstream via 0384235a15 (cmd/compile: don't mark uintptr->unsafe.Pointer conversion unsafe points, 2023-01-11), which is only going to be part of Go 1.21.