Incompatible change in `tree_entries` causes failure in Rails update job
Failures:
1) Projects::TreeController GET show with blob path redirect to blob redirects
Failure/Error: raise Gitlab::Git::CommandError, e
Gitlab::Git::CommandError:
2:read entry path: EOF.
# ./lib/gitlab/git/wraps_gitaly_errors.rb:15:in `rescue in wrapped_gitaly_errors'
# ./lib/gitlab/git/wraps_gitaly_errors.rb:6:in `wrapped_gitaly_errors'
# ./lib/gitlab/git/tree.rb:25:in `tree_entries'
# ./lib/gitlab/git/rugged_impl/tree.rb:29:in `tree_entries'
# ./lib/gitlab/git/tree.rb:21:in `where'
# ./app/models/tree.rb:17:in `initialize'
# ./app/models/repository.rb:681:in `new'
# ./app/models/repository.rb:681:in `tree'
# ./lib/extracts_ref.rb:75:in `tree'
# ./app/controllers/projects/tree_controller.rb:29:in `show'
# ./app/controllers/application_controller.rb:555:in `block in allow_gitaly_ref_name_caching'
# ./lib/gitlab/gitaly_client.rb:316:in `allow_ref_name_caching'
# ./app/controllers/application_controller.rb:554:in `allow_gitaly_ref_name_caching'
# ./ee/lib/gitlab/ip_address_state.rb:10:in `with'
# ./ee/app/controllers/ee/application_controller.rb:44:in `set_current_ip_address'
# ./lib/gitlab/auth/current_user_mode.rb:72:in `with_current_admin'
# ./app/controllers/application_controller.rb:507:in `set_current_admin'
# ./lib/gitlab/session.rb:11:in `with_session'
# ./app/controllers/application_controller.rb:495:in `set_session_storage'
# ./lib/gitlab/i18n.rb:105:in `with_locale'
# ./lib/gitlab/i18n.rb:111:in `with_user_locale'
# ./app/controllers/application_controller.rb:489:in `set_locale'
# ./app/controllers/application_controller.rb:483:in `set_current_context'
# ./spec/controllers/projects/tree_controller_spec.rb:131:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:112:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:112:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# GRPC::Unknown:
# 2:read entry path: EOF. debug_error_string:{"created":"@1634741536.113836819","description":"Error received from peer unix:tmp/tests/gitaly/praefect.socket","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"read entry path: EOF","grpc_status":2}
# /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/grpc-1.30.2-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:29:in `check_status'