GitalyClient#sort_by_param: Invalid sort_by key `recently_updated`
Conversation: gitaly#217 (closed)
Introduced in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10059
/cc @andrewn
https://sentry.gitlap.com/gitlab/gitlabcom/issues/34764/
ArgumentError: Invalid sort_by key `last_updated`
lib/gitlab/gitaly_client/ref.rb:63:in `sort_by_param'
raise ArgumentError, "Invalid sort_by key `#{sort_by}`" unless enum_value
lib/gitlab/gitaly_client/ref.rb:49:in `local_branches'
request.sort_by = sort_by_param(sort_by) if sort_by
lib/gitlab/git/repository.rb:116:in `block in local_branches'
gitaly_ref_client.local_branches(sort_by: sort_by).map do |gitaly_branch|
lib/gitlab/gitaly_client.rb:77:in `block in migrate'
yield is_enabled
lib/gitlab/metrics/influx_db.rb:97:in `measure'
retval = yield
...
(128 additional frame(s) were not displayed)
ArgumentError: Invalid sort_by key `last_updated`
Edited by Andrew Newdigate