Only latest Release is displayed on Releases page
When visiting the Releases page on a customer's project, they encounter an issue
where we see an error message in a banner An error occurred while fetching the releases. Please try again
, and only the latest Release is displayed.
Team members can see the project in question within this internal Zendesk ticket: https://gitlab.zendesk.com/agent/tickets/392969
Kibana
In my tests, I got a 500 error on the graphql API when I visit the releases page and with the API.
- UI: https://log.gprd.gitlab.net/app/discover#/doc/7092c4e2-4eb5-46f2-8305-a7da2edad090/pubsub-rails-inf-gprd-015669?id=EPGeSocBzNH32xZBJ36E
- API: https://log.gprd.gitlab.net/app/discover#/doc/7092c4e2-4eb5-46f2-8305-a7da2edad090/pubsub-rails-inf-gprd-015669?id=gw-5SocB0Rw1NkP6HRD2
Interesting details from logs:
json.exception.backtrace
config/routes.rb:313:in `block (4 levels) in <main>', app/presenters/release_presenter.rb:15:in `tag_path', lib/gitlab/graphql/present/field_extension.rb:18:in `resolve', lib/gitlab/graphql/tracers/timer_tracer.rb:20:in `trace', lib/gitlab/graphql/tracers/logger_tracer.rb:14:in `trace', lib/gitlab/graphql/tracers/metrics_tracer.rb:13:in `trace', lib/gitlab/graphql/tracers/application_context_tracer.rb:23:in `trace', lib/gitlab/graphql/tracers/timer_tracer.rb:20:in `trace', lib/gitlab/graphql/generic_tracing.rb:48:in `with_labkit_tracing', lib/gitlab/graphql/generic_tracing.rb:38:in `platform_trace', lib/gitlab/graphql/tracers/logger_tracer.rb:14:in `trace', lib/gitlab/graphql/tracers/metrics_tracer.rb:13:in `trace', lib/gitlab/graphql/tracers/application_context_tracer.rb:23:in `trace', lib/gitlab/graphql/tracers/timer_tracer.rb:20:in `trace', lib/gitlab/graphql/generic_tracing.rb:48:in `with_labkit_tracing', lib/gitlab/graphql/generic_tracing.rb:38:in `platform_trace', lib/gitlab/graphql/tracers/logger_tracer.rb:14:in `trace', lib/gitlab/graphql/tracers/metrics_tracer.rb:13:in `trace', lib/gitlab/graphql/tracers/application_context_tracer.rb:23:in `trace', app/graphql/gitlab_schema.rb:51:in `multiplex', app/controllers/graphql_controller.rb:171:in `execute_multiplex', app/controllers/graphql_controller.rb:57:in `execute', ee/lib/gitlab/ip_address_state.rb:10:in `with', ee/app/controllers/ee/application_controller.rb:46:in `set_current_ip_address', app/controllers/application_controller.rb:524:in `set_current_admin', lib/gitlab/session.rb:11:in `with_session', app/controllers/application_controller.rb:515:in `set_session_storage', lib/gitlab/i18n.rb:107:in `with_locale', lib/gitlab/i18n.rb:113:in `with_user_locale', app/controllers/application_controller.rb:506:in `set_locale', app/controllers/application_controller.rb:499:in `set_current_context', ee/lib/omni_auth/strategies/group_saml.rb:41:in `other_phase', lib/gitlab/metrics/elasticsearch_rack_middleware.rb:16:in `call', lib/gitlab/middleware/memory_report.rb:13:in `call', lib/gitlab/middleware/speedscope.rb:13:in `call', lib/gitlab/database/load_balancing/rack_middleware.rb:23:in `call', lib/gitlab/middleware/rails_queue_duration.rb:33:in `call', lib/gitlab/metrics/rack_middleware.rb:16:in `block in call', lib/gitlab/metrics/web_transaction.rb:46:in `run', lib/gitlab/metrics/rack_middleware.rb:16:in `call', lib/gitlab/jira/middleware.rb:19:in `call', lib/gitlab/middleware/go.rb:20:in `call', lib/gitlab/etag_caching/middleware.rb:21:in `call', lib/gitlab/middleware/query_analyzer.rb:11:in `block in call', lib/gitlab/database/query_analyzer.rb:37:in `within', lib/gitlab/middleware/query_analyzer.rb:11:in `call', lib/gitlab/middleware/multipart.rb:173:in `call', lib/gitlab/middleware/read_only/controller.rb:50:in `call', lib/gitlab/middleware/read_only.rb:18:in `call', lib/gitlab/middleware/same_site_cookies.rb:27:in `call', lib/gitlab/middleware/basic_health_check.rb:25:in `call', lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call', lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call', lib/gitlab/middleware/request_context.rb:21:in `call', lib/gitlab/middleware/webhook_recursion_detection.rb:15:in `call', config/initializers/fix_local_cache_middleware.rb:11:in `call', lib/gitlab/middleware/compressed_json.rb:37:in `call', lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call', lib/gitlab/middleware/sidekiq_web_static.rb:20:in `call', lib/gitlab/metrics/requests_rack_middleware.rb:79:in `call', lib/gitlab/middleware/release_env.rb:13:in `call'
json.exception.class
ActionController::UrlGenerationError
json.exception.message
No route matches {:action=>"show", :controller=>"projects/tags", :id=>"", :namespace_id=>#<Group id:REDACTED>, :project_id=>#<Project id:REDACTED>>}, possible unmatched constraints: [:id]
Did you mean? namespace_project_tags_url
namespace_project_tag_path
namespace_project_tags_path
new_namespace_project_tag_url
Sentry
https://sentry.gitlab.net/gitlab/gitlabcom/issues/4103205/?referrer=gitlab_plugin
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"projects/tags", :id=>"", :namespace_id=>#<Group id:REDACTED>, :project_id=>#<Project id:REDACTED>>}, possible unmatched constraints: [:id]
Did you mean? namespace_project_tags_url
namespace_project_tag_path
namespace_project_tags_path
new_namespace_project_tag_url
lib/gitlab/graphql/tracers/timer_tracer.rb:20:in `trace'
yield
lib/gitlab/graphql/generic_tracing.rb:48:in `with_labkit_tracing'
return yield unless Labkit::Tracing.enabled?
lib/gitlab/graphql/generic_tracing.rb:38:in `platform_trace'
with_labkit_tracing(tags, &block)
lib/gitlab/graphql/tracers/logger_tracer.rb:14:in `trace'
yield
lib/gitlab/graphql/tracers/metrics_tracer.rb:13:in `trace'
result = yield
...
(245 additional frame(s) were not displayed)
Edited by Kenneth Chu