Skip to content

ConnectionRedaction times out on boards with label lists when grouped by epic

Edit:

https://sentry.gitlab.net/gitlab/gitlabcom/issues/2610161/?referrer=gitlab_plugin

I think this is the correct Sentry record:

https://sentry.gitlab.net/gitlab/gitlabcom/issues/2612134/?query=user%3A%22username%3Adigitalmoksha%22

https://gitlab.com/groups/tech-marketing/demos/gitlab-agile-demo/awesome-co/-/boards/2768175?group_by=epic breaks when trying to group by epic (500) but a similar board (https://gitlab.com/groups/tech-marketing/demos/gitlab-agile-demo/awesome-co/-/boards/2768113?group_by=epic) in the group works fine and neither boards are scoped to anything.

This one also breaks: https://gitlab.com/groups/tech-marketing/demos/gitlab-agile-demo/awesome-co/-/boards/2768257?group_by=epic

Possible that boards with label lists cause the timeout.

PG::QueryCanceled: ERROR:  canceling statement due to statement timeout

  lib/gitlab/graphql/connection_redaction.rb:16:in `redacted'
    @redacted_nodes ||= redactor.present? ? redactor.redact(yield) : yield
  lib/gitlab/graphql/connection_redaction.rb:23:in `nodes'
    redaction_state.redacted { super.to_a }
  lib/gitlab/graphql/generic_tracing.rb:40:in `with_labkit_tracing'
    return yield unless Labkit::Tracing.enabled?
  lib/gitlab/graphql/generic_tracing.rb:30:in `platform_trace'
    with_labkit_tracing(tags, &block)
  lib/gitlab/graphql/generic_tracing.rb:40:in `with_labkit_tracing'
    return yield unless Labkit::Tracing.enabled?
...
(245 additional frame(s) were not displayed)

ActiveRecord::QueryCanceled: PG::QueryCanceled: ERROR:  canceling statement due to statement timeout
Edited by Brett Walker