Commit c686a69f authored by Markus Koller's avatar Markus Koller

Merge branch '335938-feature-flag-rollout-of-merge_request_show_render_cached' into 'master'

Release cached merge_request show.json

See merge request gitlab-org/gitlab!69618
parents af99a4df e67a069a
......@@ -136,7 +136,7 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
format.json do
Gitlab::PollingInterval.set_header(response, interval: 10_000)
if params[:serializer] == 'sidebar_extras' && Feature.enabled?(:merge_request_show_render_cached, @project, default_enabled: :yaml)
if params[:serializer] == 'sidebar_extras'
cache_context = [
params[:serializer],
current_user&.cache_key,
......
---
name: merge_request_show_render_cached
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65217
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/335938
milestone: '14.2'
type: development
group: group::code review
default_enabled: false
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment