Set issue_perform_after_creation_tasks_async feature flag to default

parent 34ce74e3
...@@ -38,7 +38,7 @@ module Issues ...@@ -38,7 +38,7 @@ module Issues
user_agent_detail_service.create user_agent_detail_service.create
resolve_discussions_with_issue(issue) resolve_discussions_with_issue(issue)
if Feature.disabled?(:issue_perform_after_creation_tasks_async, issue.project) if Feature.disabled?(:issue_perform_after_creation_tasks_async, issue.project, default_enabled: :yaml)
Issues::AfterCreateService Issues::AfterCreateService
.new(issue.project, current_user) .new(issue.project, current_user)
.execute(issue) .execute(issue)
......
...@@ -17,7 +17,7 @@ class NewIssueWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -17,7 +17,7 @@ class NewIssueWorker # rubocop:disable Scalability/IdempotentWorker
issuable.create_cross_references!(user) issuable.create_cross_references!(user)
if Feature.enabled?(:issue_perform_after_creation_tasks_async, issuable.project) if Feature.enabled?(:issue_perform_after_creation_tasks_async, issuable.project, default_enabled: :yaml)
Issues::AfterCreateService Issues::AfterCreateService
.new(issuable.project, user) .new(issuable.project, user)
.execute(issuable) .execute(issuable)
......
...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/21140 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/21140
milestone: '13.11' milestone: '13.11'
type: development type: development
group: group::geo group: group::geo
default_enabled: false default_enabled: true
...@@ -31,7 +31,7 @@ module EE ...@@ -31,7 +31,7 @@ module EE
private private
def add_issue_sla(issue) def add_issue_sla(issue)
return if ::Feature.enabled?(:issue_perform_after_creation_tasks_async, issue.project) return if ::Feature.enabled?(:issue_perform_after_creation_tasks_async, issue.project, default_enabled: :yaml)
return unless issue.sla_available? return unless issue.sla_available?
::IncidentManagement::Incidents::CreateSlaService.new(issue, current_user).execute ::IncidentManagement::Incidents::CreateSlaService.new(issue, current_user).execute
......
---
title: Set issue_perform_after_creation_tasks_async feature flag to default
merge_request: 59040
author:
type: added
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