2022-12-02 release-tools Feature Flags tracker
Feature Flags tracker
We have 22 feature flags on OPS
-
Scan run on gitlab-org/release-tools@1f154c14 in date 2022-12-02 11:57:37 +0100
-
active: 17
-
inactive: 5
-
security_cherry_picker - active: true
- description: Determines if security merge requests merged into the
masterbranch should automatically be cherry-picked into the current auto-deploy branch. - created at: 2020-07-29T14:18:49.201Z
- updated at: 2020-07-29T14:30:23.360Z
- Usage in code:
-
lib/release_tools/security/cherry_picker.rb:17return unless Feature.enabled?(:security_cherry_picker) -
spec/lib/release_tools/security/cherry_picker_spec.rb:35enable_feature(:security_cherry_picker) -
spec/lib/release_tools/security/cherry_picker_spec.rb:78disable_feature(:security_cherry_picker)
-
-
tag_scheduled_rc - active: true
- description: Enables the automatic tagging of release candidates.
- created at: 2020-07-29T14:18:50.101Z
- updated at: 2020-07-29T14:30:46.034Z
- Usage in code:
-
.gitlab/ci/automation.gitlab-ci.yml:113release:tag_scheduled_rc: -
.gitlab/ci/automation.gitlab-ci.yml:119- bundle exec rake 'release:tag_scheduled_rc' -
lib/tasks/release.rake:213task :tag_scheduled_rc do -
lib/tasks/release.rake:214unless ReleaseTools::Feature.enabled?(:tag_scheduled_rc)
-
-
update_gitlab_kas_version - active: true
- description: PENDING: See https://gitlab.com/gitlab-org/release-tools/-/issues/489
- created at: 2020-11-19T19:48:01.135Z
- updated at: 2021-01-11T23:25:44.336Z
-
⚠ No usage in code⚠
-
switch_to_main_branch - active: false
- description: Makes GitLab EE and GitLab CE projects to use 'main' as default branch.
Feature flag will be used as part of #1441 (closed) - created at: 2021-01-12T15:58:49.619Z
- updated at: 2021-02-12T18:04:06.920Z
- Usage in code:
-
lib/release_tools/project/gitlab_ce.rb:13if Feature.enabled?(:switch_to_main_branch) -
lib/release_tools/project/gitlab_ee.rb:39if Feature.enabled?(:switch_to_main_branch) -
spec/lib/release_tools/project/gitlab_ce_spec.rb:31enable_feature(:switch_to_main_branch) -
spec/lib/release_tools/project/gitlab_ee_spec.rb:32enable_feature(:switch_to_main_branch)
-
-
skip_foss_merge_train - active: false
- description: Skip FOSS merge train
- created at: 2021-01-20T19:42:34.182Z
- updated at: 2021-01-21T02:15:08.026Z
- Usage in code:
-
lib/release_tools/public_release/gitlab_release.rb:162return if Feature.enabled?(:skip_foss_merge_train)
-
-
auto_deploy_tag_latest - active: false
- description: Always use the latest commit in the auto-deploy branch, regardless of its pipeline status.
- created at: 2021-03-22T21:02:16.995Z
- updated at: 2022-11-15T13:38:51.210Z
- Usage in code:
-
lib/release_tools/passing_build.rb:31if Feature.enabled?(:auto_deploy_tag_latest) -
spec/lib/release_tools/passing_build_spec.rb:54it 'returns the latest commit when auto_deploy_tag_latest is enabled' do -
spec/lib/release_tools/passing_build_spec.rb:55enable_feature(:auto_deploy_tag_latest) -
spec/lib/release_tools/services/auto_deploy_branch_service_spec.rb:65it 'uses the latest commit when the auto_deploy_tag_latest feature flag is enabled' do -
spec/lib/release_tools/services/auto_deploy_branch_service_spec.rb:70enable_feature(:auto_deploy_tag_latest)
-
-
disable_deploy_wait_failure_slack_notification - active: true
- description: Temporary disable deployer wait failure notifications.
To be removed after switching from next-gen to master - created at: 2021-04-06T09:50:21.000Z
- updated at: 2021-04-06T09:50:21.000Z
- Usage in code:
-
lib/release_tools/auto_deploy/wait_for_pipeline.rb:25slack_notification(ex) if ReleaseTools::Feature.disabled?(:disable_deploy_wait_failure_slack_notification) -
spec/lib/release_tools/auto_deploy/wait_for_pipeline_spec.rb:29context 'when disable_deploy_wait_failure_slack_notification is set' do -
spec/lib/release_tools/auto_deploy/wait_for_pipeline_spec.rb:31enable_feature(:disable_deploy_wait_failure_slack_notification)
-
-
check_canary_up - active: true
- description: Verify that Canary is up during baking time message.
See #1792 (closed) - created at: 2021-06-04T17:01:20.870Z
- updated at: 2021-06-14T15:02:36.562Z
- Usage in code:
-
lib/release_tools/promotion/checks/canary_up.rb:21return true unless ReleaseTools::Feature.enabled?(:check_canary_up) -
spec/lib/release_tools/promotion/checks/canary_up_spec.rb:46enable_feature(:check_canary_up)
-
-
production_check_incident - active: true
- description: Development: Determines if we use the refactored ProductionCheck::Incident class when enabled, or the existing CheckProduction monolith when disabled.
- created at: 2021-07-07T17:19:09.752Z
- updated at: 2021-07-07T17:19:09.752Z
-
⚠ No usage in code⚠
-
create_mr_on_merge_failure - active: true
- description: Creates a merge request on Canonical when syncing security changes into Canonical repository.
#1501 (closed) - created at: 2021-07-14T18:31:07.580Z
- updated at: 2021-08-06T14:10:26.824Z
- Usage in code:
-
lib/release_tools/security/sync_remotes_service.rb:26sync_branches(project, *branches, create_mr_on_merge_failure: true) -
lib/release_tools/services/sync_refs_helper.rb:23def sync_branches(project, *branches, create_mr_on_merge_failure: false) -
lib/release_tools/services/sync_refs_helper.rb:43process_merge_failure(project, result, create_mr_on_merge_failure, branch) -
lib/release_tools/services/sync_refs_helper.rb:80def process_merge_failure(project, merge_result, create_mr_on_merge_failure, target_branch) -
lib/release_tools/services/sync_refs_helper.rb:81if create_mr_on_merge_failure && Feature.enabled?(:create_mr_on_merge_failure) -
spec/lib/release_tools/security/sync_remotes_service_spec.rb:7let(:other_args) { ['master', { create_mr_on_merge_failure: true }] } -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:86it 'logs a fatal message with the output when create_mr_on_merge_failure is false' do -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:98context 'when create_mr_on_merge_failure argument is true' do -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:99context 'when create_mr_on_merge_failure feature flag is off' do -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:108foo_class.sync_branches(project, branch, create_mr_on_merge_failure: true) -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:113context 'when create_mr_on_merge_failure feature flag is on' do -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:117enable_feature(:create_mr_on_merge_failure) -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:135foo_class.sync_branches(project, branch, create_mr_on_merge_failure: true) -
spec/lib/release_tools/services/sync_refs_helper_spec.rb:152foo_class.sync_branches(project, branch, create_mr_on_merge_failure: true)
-
-
unlink_late_security_issues - active: false
- description: Unlinks security issues added to the tracking issue too close to the due date.
#1250 (closed) - created at: 2021-08-06T14:09:29.616Z
- updated at: 2022-11-29T14:10:45.614Z
- Usage in code:
-
lib/release_tools/security/issue_links_validator.rb:31return unless Feature.enabled?(:unlink_late_security_issues) -
spec/lib/release_tools/security/issue_links_validator_spec.rb:35enable_feature(:unlink_late_security_issues) -
spec/lib/release_tools/security/issue_links_validator_spec.rb:89enable_feature(:unlink_late_security_issues)
-
-
check_rollback - active: true
- description: Include rollback checks in production health.
- created at: 2021-08-24T17:57:14.481Z
- updated at: 2021-08-24T17:57:14.481Z
-
⚠ No usage in code⚠
-
cleanup_stale_deployments - active: true
- description: WIP: #2249 (closed)
- created at: 2022-02-23T16:46:42.345Z
- updated at: 2022-02-23T16:46:42.345Z
- Usage in code:
-
lib/release_tools/rollback/upcoming_deployments.rb:30return unless Feature.enabled?(:cleanup_stale_deployments) -
spec/lib/release_tools/rollback/upcoming_deployments_spec.rb:56context "withcleanup_stale_deploymentsdisabled" do -
spec/lib/release_tools/rollback/upcoming_deployments_spec.rb:64context "withcleanup_stale_deploymentsenabled" do -
spec/lib/release_tools/rollback/upcoming_deployments_spec.rb:66enable_feature(:cleanup_stale_deployments)
-
-
search_mr_by_source_branch - active: true
- description: Make
MergeRequest#remote_issuablesearch for merge requests using the source_branch rather than title, milestone and labels.
Added in gitlab-org/release-tools!1705 (merged). - created at: 2022-03-03T13:08:15.922Z
- updated at: 2022-03-03T13:08:15.922Z
-
⚠ No usage in code⚠
-
stop_deployment_if_old_package - active: true
- description: Raise an error and stop deployment if the environment already has a newer package.
#2265 (closed) - created at: 2022-03-23T14:38:33.983Z
- updated at: 2022-09-23T15:32:49.303Z
- Usage in code:
-
lib/release_tools/tasks/auto_deploy/check_package.rb:40return unless Feature.enabled?(:stop_deployment_if_old_package) -
lib/release_tools/tasks/auto_deploy/check_package.rb:67feature_flag: Feature.enabled?(:stop_deployment_if_old_package) -
spec/lib/release_tools/tasks/auto_deploy/check_package_spec.rb:39enable_feature(:stop_deployment_if_old_package) -
spec/lib/release_tools/tasks/auto_deploy/check_package_spec.rb:54disable_feature(:stop_deployment_if_old_package)
-
-
perform_operator_release - active: true
- description: Adds GitLab Operator to release tooling
- created at: 2022-04-01T21:25:36.169Z
- updated at: 2022-04-18T14:30:20.738Z
- Usage in code:
-
Rakefile:80if ReleaseTools::Feature.enabled?(:perform_operator_release)
-
-
send_notification_to_started_notification_thread - active: true
- description: Send the deployment failed/finished notification to the thread of the started notification.
#2225 (closed) - created at: 2022-04-07T09:57:27.860Z
- updated at: 2022-04-07T09:57:27.860Z
- Usage in code:
-
lib/release_tools/slack/coordinated_pipeline_notification.rb:58Feature.enabled?(:send_notification_to_started_notification_thread) && -
spec/lib/release_tools/slack/coordinated_pipeline_notification_spec.rb:88context 'when send_notification_to_started_notification_thread feature flag is disabled' do -
spec/lib/release_tools/slack/coordinated_pipeline_notification_spec.rb:125context 'when send_notification_to_started_notification_thread is enabled' do -
spec/lib/release_tools/slack/coordinated_pipeline_notification_spec.rb:182enable_feature(:send_notification_to_started_notification_thread)
-
-
use_new_blocking_labels_only - active: true
- description: Use the new "blocks deployments" and "blocks feature-flags" labels, and ignore the older "severity::1", "severity::2", "C1" and "C2" labels.
#2382 (closed) - created at: 2022-06-06T13:58:13.810Z
- updated at: 2022-06-07T18:20:49.577Z
-
⚠ No usage in code⚠
-
rollback_check_post_deploy_pipeline - active: true
- description: Enable this flag when we start using the new post-deploy migrations pipeline.
This FF changes the rollback check logic.
#2365 (closed) - created at: 2022-07-08T10:17:56.723Z
- updated at: 2022-07-08T15:54:50.595Z
-
⚠ No usage in code⚠
-
skip_operator_wait_for_tag_in_dev - active: false
- description: Do not wait for the operator tag to be created in dev before attempting to sync it to other remotes.
gitlab-org/release-tools!1960 (merged) - created at: 2022-08-08T08:04:17.720Z
- updated at: 2022-08-08T08:04:51.666Z
- Usage in code:
-
lib/release_tools/public_release/gitlab_operator_release.rb:94return if Feature.enabled?(:skip_operator_wait_for_tag_in_dev)
-
-
release_metadata_as_source - active: true
- description: Uses release/metadata information to create stable branches in GitLab components.
- created at: 2022-10-17T22:29:01.865Z
- updated at: 2022-10-19T16:19:35.459Z
- Usage in code:
-
lib/release_tools/public_release/release.rb:114return sha_deployments unless Feature.enabled?(:release_metadata_as_source) -
spec/lib/release_tools/public_release/release_spec.rb:255context 'when release_metadata_as_source is disabled' do -
spec/lib/release_tools/public_release/release_spec.rb:268context 'when release_metadata_as_source is enabled' do -
spec/lib/release_tools/public_release/release_spec.rb:270enable_feature('release_metadata_as_source')
-
-
skip_updating_gitaly_version_rb - active: true
- description: Allow skipping the update of
version.rbfor gitaly releases - created at: 2022-11-01T20:35:06.447Z
- updated at: 2022-11-07T21:52:27.266Z
- Usage in code:
-
lib/release_tools/public_release/gitaly_release.rb:17if Feature.disabled?(:skip_updating_gitaly_version_rb) -
spec/lib/release_tools/public_release/gitaly_release_spec.rb:36context ':skip_updating_gitaly_version_rb disabled' do -
spec/lib/release_tools/public_release/gitaly_release_spec.rb:46disable_feature(:skip_updating_gitaly_version_rb) -
spec/lib/release_tools/public_release/gitaly_release_spec.rb:52context ':skip_updating_gitaly_version_rb enabled' do -
spec/lib/release_tools/public_release/gitaly_release_spec.rb:60enable_feature(:skip_updating_gitaly_version_rb)
-
Edited by Mayra Cabrera