Commit e7181fef authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'remove-ff-block-project-serialization' into 'master'

Remove block_project_serialization feature flag

See merge request gitlab-org/gitlab!82866
parents 9f49af3c 2912ac09
...@@ -3046,10 +3046,6 @@ class Project < ApplicationRecord ...@@ -3046,10 +3046,6 @@ class Project < ApplicationRecord
Projects::SyncEvent.enqueue_worker Projects::SyncEvent.enqueue_worker
end end
end end
def allow_serialization?(options = nil)
Feature.disabled?(:block_project_serialization, self, default_enabled: :yaml) || super
end
end end
Project.prepend_mod_with('Project') Project.prepend_mod_with('Project')
---
name: block_project_serialization
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/81900
rollout_issue_url:
milestone: '14.9'
type: development
group: group::workspace
default_enabled: false
...@@ -8026,14 +8026,6 @@ RSpec.describe Project, factory_default: :keep do ...@@ -8026,14 +8026,6 @@ RSpec.describe Project, factory_default: :keep do
let(:object) { build(:project) } let(:object) { build(:project) }
it_behaves_like 'blocks unsafe serialization' it_behaves_like 'blocks unsafe serialization'
context 'when feature flag block_project_serialization is disabled' do
before do
stub_feature_flags(block_project_serialization: false)
end
it_behaves_like 'allows unsafe serialization'
end
end end
private private
......
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