Gitlab::Git::Repository::NoRepository: no repository for such path
https://sentry.gitlap.com/gitlab/gitlabcom/issues/3132/
Rugged::OSError: Failed to resolve path '/var/opt/gitlab/git-data/repositories/bourd0n/cats_world.git': No such file or directory
lib/gitlab/metrics/instrumentation.rb:138:in `new'
retval = #{send_signature}
lib/gitlab/metrics/instrumentation.rb:138:in `new'
retval = #{send_signature}
lib/gitlab/metrics/instrumentation.rb:138:in `rugged'
retval = #{send_signature}
lib/gitlab/metrics/instrumentation.rb:138:in `branches'
retval = #{send_signature}
app/models/repository.rb:642:in `branches'
@branches ||= raw_repository.branches
...
(36 additional frame(s) were not displayed)
Gitlab::Git::Repository::NoRepository: no repository for such path
lib/gitlab/metrics/instrumentation.rb:138:in `rugged'
retval = #{send_signature}
lib/gitlab/metrics/instrumentation.rb:138:in `branches'
retval = #{send_signature}
app/models/repository.rb:642:in `branches'
@branches ||= raw_repository.branches
app/models/repository.rb:301:in `expire_branch_cache'
branches.each do |branch|
app/models/repository.rb:288:in `expire_cache'
expire_branch_cache(branch_name)
...
(35 additional frame(s) were not displayed)