Commit 5d06a064 authored by Sincheol (David) Kim's avatar Sincheol (David) Kim

Merge branch '357770-feature-flag-cleanup-mrc_api_use_raw_diffs_from_gitaly' into 'master'

Cleanup mrc_api_use_raw_diffs_from_gitaly feature flag

See merge request gitlab-org/gitlab!84327
parents 2ad63f89 4251a0f4
---
name: mrc_api_use_raw_diffs_from_gitaly
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46190
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/225322
type: development
group: group::code review
default_enabled: false
milestone: '13.6'
......@@ -24,7 +24,7 @@ module API
end
def expose_raw_diffs?
options[:access_raw_diffs] || ::Feature.enabled?(:mrc_api_use_raw_diffs_from_gitaly, options[:project])
options[:access_raw_diffs]
end
end
end
......
......@@ -1605,11 +1605,7 @@ RSpec.describe API::MergeRequests do
expect(json_response['overflow']).to be_falsy
end
context 'when using DB-backed diffs via feature flag' do
before do
stub_feature_flags(mrc_api_use_raw_diffs_from_gitaly: false)
end
context 'when using DB-backed diffs' do
it_behaves_like 'find an existing merge request'
it 'accesses diffs via DB-backed diffs.diffs' do
......
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