Error 500 when loading annotated tag: NoMethodError: undefined method `tree' for #<Rugged::Tag::Annotation:0x00007f22c455c5b0>
https://sentry.gitlap.com/gitlab/gitlabcom/issues/222867/
NoMethodError: undefined method `tree' for #<Rugged::Tag::Annotation:0x00007f22c455c5b0>
gitlab/git/blob.rb:189:in `find_by_rugged'
root_tree = rugged_commit.tree
gitlab/git/blob.rb:29:in `block in find'
find_by_rugged(repository, sha, path, limit: MAX_DATA_DISPLAY_SIZE)
gitlab/gitaly_client.rb:287:in `block (2 levels) in migrate'
yield is_enabled
gitlab/gitaly_client.rb:331:in `allow_n_plus_1_calls'
yield
gitlab/gitaly_client.rb:280:in `block in migrate'
allow_n_plus_1_calls do
...
(155 additional frame(s) were not displayed)
NoMethodError: undefined method `tree' for #<Rugged::Tag::Annotation:0x00007f22c455c5b0>