[go: up one dir, main page]

Race condition caused by cache walker

Since !1424 (merged) we sometimes have failing go test -race tests because:

  1. we spawn a cache dir walker goroutine via a package init() function
  2. that walker accesses config.Config, which test functions regularly modify

https://gitlab.com/gitlab-org/gitaly/-/jobs/274180503 example failing build