Commit a958ab44 authored by Sean McGivern's avatar Sean McGivern

Remove Sidekiq worker tags

This removes all Sidekiq workers tags except for `needs_own_queue`.
Workers tags are documented as short-lived metadata annotations, and are
primarily for use in the GitLab.com deployment. All of the removed tags
are no longer needed:

1. `requires_disk_io` - we added this to workers that accessed shared
   files over NFS when we started migrating Sidekiq away from VMs to
   Kubernetes. These workers no longer use NFS, we just hadn't tidied up
   the tags.
2. `exclude_from_kubernetes` - similarly, in our Kubernetes migration we
   ended up in a state where some workers ran on VMs and others ran on
   Kubernetes, but there was no particular reason for these workers not
   to run on Kubernetes. We didn't remove it earlier because the
   migration was still in progress. This tag was just there to simplify
   the queue selectors, but now that all of Sidekiq on GitLab.com runs
   on Kubernetes, we definitely don't need it.
3. `exclude_from_gitlab_com` - some workers never run on GitLab.com.
   When we were using a queue per worker, there was a small overhead to
   running extra queues, and that overhead added up at GitLab.com's
   scale. Now that we are using [routing rules] to put jobs in far fewer
   queues, we don't need this exclusion any more.

We do want to keep the `needs_own_queue` tag for now, as it applies to
the last point: not every worker can be put in a queue with other
workers, and this annotation helps us keep track of those.

[routing rules]: https://docs.gitlab.com/ee/administration/operations/extra_sidekiq_routing.html
parent a762ccc6
......@@ -83,8 +83,7 @@
:resource_boundary: :unknown
:weight: 2
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: chaos:chaos_db_spin
:worker_name: Chaos::DbSpinWorker
:feature_category: :not_owned
......@@ -93,8 +92,7 @@
:resource_boundary: :unknown
:weight: 2
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: chaos:chaos_kill
:worker_name: Chaos::KillWorker
:feature_category: :not_owned
......@@ -103,8 +101,7 @@
:resource_boundary: :unknown
:weight: 2
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: chaos:chaos_leak_mem
:worker_name: Chaos::LeakMemWorker
:feature_category: :not_owned
......@@ -113,8 +110,7 @@
:resource_boundary: :unknown
:weight: 2
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: chaos:chaos_sleep
:worker_name: Chaos::SleepWorker
:feature_category: :not_owned
......@@ -123,8 +119,7 @@
:resource_boundary: :unknown
:weight: 2
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: container_repository:cleanup_container_repository
:worker_name: CleanupContainerRepositoryWorker
:feature_category: :container_registry
......@@ -142,8 +137,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: container_repository:delete_container_repository
:worker_name: DeleteContainerRepositoryWorker
:feature_category: :container_registry
......@@ -170,8 +164,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:authorized_project_update_periodic_recalculate
:worker_name: AuthorizedProjectUpdate::PeriodicRecalculateWorker
:feature_category: :source_code_management
......@@ -207,8 +200,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:ci_platform_metrics_update_cron
:worker_name: CiPlatformMetricsUpdateCronWorker
:feature_category: :continuous_integration
......@@ -226,8 +218,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:container_expiration_policy
:worker_name: ContainerExpirationPolicyWorker
:feature_category: :container_registry
......@@ -245,8 +236,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:database_drop_detached_partitions
:worker_name: Database::DropDetachedPartitionsWorker
:feature_category: :database
......@@ -345,8 +335,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:metrics_dashboard_schedule_annotations_prune
:worker_name: Metrics::Dashboard::ScheduleAnnotationsPruneWorker
:feature_category: :metrics
......@@ -364,8 +353,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:namespaces_prune_aggregation_schedules
:worker_name: Namespaces::PruneAggregationSchedulesWorker
:feature_category: :source_code_management
......@@ -383,8 +371,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:pages_domain_removal_cron
:worker_name: PagesDomainRemovalCronWorker
:feature_category: :pages
......@@ -429,8 +416,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:personal_access_tokens_expiring
:worker_name: PersonalAccessTokens::ExpiringWorker
:feature_category: :authentication_and_authorization
......@@ -466,8 +452,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:remove_expired_group_links
:worker_name: RemoveExpiredGroupLinksWorker
:feature_category: :authentication_and_authorization
......@@ -494,8 +479,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:remove_unreferenced_lfs_objects
:worker_name: RemoveUnreferencedLfsObjectsWorker
:feature_category: :git_lfs
......@@ -540,8 +524,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:schedule_migrate_external_diffs
:worker_name: ScheduleMigrateExternalDiffsWorker
:feature_category: :code_review
......@@ -559,8 +542,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:ssh_keys_expiring_soon_notification
:worker_name: SshKeys::ExpiringSoonNotificationWorker
:feature_category: :compliance_management
......@@ -569,8 +551,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:stuck_ci_jobs
:worker_name: StuckCiJobsWorker
:feature_category: :continuous_integration
......@@ -624,8 +605,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:users_create_statistics
:worker_name: Users::CreateStatisticsWorker
:feature_category: :users
......@@ -643,8 +623,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:x509_issuer_crl_check
:worker_name: X509IssuerCrlCheckWorker
:feature_category: :source_code_management
......@@ -671,8 +650,7 @@
:resource_boundary: :unknown
:weight: 3
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: deployment:deployments_hooks
:worker_name: Deployments::HooksWorker
:feature_category: :continuous_delivery
......@@ -897,8 +875,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: github_importer:github_import_import_pull_request_review
:worker_name: Gitlab::GithubImport::ImportPullRequestReviewWorker
:feature_category: :importers
......@@ -907,8 +884,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: github_importer:github_import_refresh_import_jid
:worker_name: Gitlab::GithubImport::RefreshImportJidWorker
:feature_category: :importers
......@@ -980,8 +956,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: github_importer:github_import_stage_import_pull_requests_reviews
:worker_name: Gitlab::GithubImport::Stage::ImportPullRequestsReviewsWorker
:feature_category: :importers
......@@ -990,8 +965,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: github_importer:github_import_stage_import_repository
:worker_name: Gitlab::GithubImport::Stage::ImportRepositoryWorker
:feature_category: :importers
......@@ -1010,7 +984,6 @@
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
- :needs_own_queue
- :name: hashed_storage:hashed_storage_project_migrate
:worker_name: HashedStorage::ProjectMigrateWorker
......@@ -1021,7 +994,6 @@
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
- :needs_own_queue
- :name: hashed_storage:hashed_storage_project_rollback
:worker_name: HashedStorage::ProjectRollbackWorker
......@@ -1032,7 +1004,6 @@
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
- :needs_own_queue
- :name: hashed_storage:hashed_storage_rollbacker
:worker_name: HashedStorage::RollbackerWorker
......@@ -1043,7 +1014,6 @@
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
- :needs_own_queue
- :name: incident_management:clusters_applications_check_prometheus_health
:worker_name: Clusters::Applications::CheckPrometheusHealthWorker
......@@ -1062,8 +1032,7 @@
:resource_boundary: :cpu
:weight: 2
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: incident_management:incident_management_pager_duty_process_incident
:worker_name: IncidentManagement::PagerDuty::ProcessIncidentWorker
:feature_category: :incident_management
......@@ -1117,8 +1086,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: jira_connect:jira_connect_sync_deployments
:worker_name: JiraConnect::SyncDeploymentsWorker
:feature_category: :integrations
......@@ -1127,8 +1095,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: jira_connect:jira_connect_sync_feature_flags
:worker_name: JiraConnect::SyncFeatureFlagsWorker
:feature_category: :integrations
......@@ -1137,8 +1104,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: jira_connect:jira_connect_sync_merge_request
:worker_name: JiraConnect::SyncMergeRequestWorker
:feature_category: :integrations
......@@ -1156,8 +1122,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: jira_importer:jira_import_advance_stage
:worker_name: Gitlab::JiraImport::AdvanceStageWorker
:feature_category: :importers
......@@ -1319,8 +1284,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: package_repositories:packages_go_sync_packages
:worker_name: Packages::Go::SyncPackagesWorker
:feature_category: :package_registry
......@@ -1329,8 +1293,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: package_repositories:packages_helm_extraction
:worker_name: Packages::Helm::ExtractionWorker
:feature_category: :package_registry
......@@ -1348,8 +1311,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: package_repositories:packages_nuget_extraction
:worker_name: Packages::Nuget::ExtractionWorker
:feature_category: :package_registry
......@@ -1367,8 +1329,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pipeline_background:archive_trace
:worker_name: ArchiveTraceWorker
:feature_category: :continuous_integration
......@@ -1422,8 +1383,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pipeline_background:ci_pipeline_success_unlock_artifacts
:worker_name: Ci::PipelineSuccessUnlockArtifactsWorker
:feature_category: :continuous_integration
......@@ -1450,8 +1410,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pipeline_cache:expire_job_cache
:worker_name: ExpireJobCacheWorker
:feature_category: :continuous_integration
......@@ -1523,8 +1482,7 @@
:resource_boundary: :unknown
:weight: 3
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pipeline_default:ci_merge_requests_add_todo_when_build_fails
:worker_name: Ci::MergeRequests::AddTodoWhenBuildFailsWorker
:feature_category: :continuous_integration
......@@ -1533,8 +1491,7 @@
:resource_boundary: :unknown
:weight: 3
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pipeline_default:ci_pipeline_bridge_status
:worker_name: Ci::PipelineBridgeStatusWorker
:feature_category: :continuous_integration
......@@ -1732,8 +1689,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: todos_destroyer:todos_destroyer_entity_leave
:worker_name: TodosDestroyer::EntityLeaveWorker
:feature_category: :issue_tracking
......@@ -1805,8 +1761,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: approve_blocked_pending_approval_users
:worker_name: ApproveBlockedPendingApprovalUsersWorker
:feature_category: :users
......@@ -1815,8 +1770,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: authorized_keys
:worker_name: AuthorizedKeysWorker
:feature_category: :source_code_management
......@@ -1852,8 +1806,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: bulk_imports_entity
:worker_name: BulkImports::EntityWorker
:feature_category: :importers
......@@ -1862,8 +1815,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: bulk_imports_export_request
:worker_name: BulkImports::ExportRequestWorker
:feature_category: :importers
......@@ -1881,8 +1833,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: bulk_imports_relation_export
:worker_name: BulkImports::RelationExportWorker
:feature_category: :importers
......@@ -1891,8 +1842,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: chat_notification
:worker_name: ChatNotificationWorker
:feature_category: :chatops
......@@ -1910,8 +1860,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: create_commit_signature
:worker_name: CreateCommitSignatureWorker
:feature_category: :source_code_management
......@@ -1983,8 +1932,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: design_management_new_version
:worker_name: DesignManagement::NewVersionWorker
:feature_category: :design_management
......@@ -2002,8 +1950,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: detect_repository_languages
:worker_name: DetectRepositoryLanguagesWorker
:feature_category: :source_code_management
......@@ -2021,8 +1968,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: disallow_two_factor_for_subgroups
:worker_name: DisallowTwoFactorForSubgroupsWorker
:feature_category: :subgroups
......@@ -2031,8 +1977,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: email_receiver
:worker_name: EmailReceiverWorker
:feature_category: :issue_tracking
......@@ -2060,8 +2005,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: error_tracking_issue_link
:worker_name: ErrorTrackingIssueLinkWorker
:feature_category: :error_tracking
......@@ -2079,8 +2023,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: expire_build_instance_artifacts
:worker_name: ExpireBuildInstanceArtifactsWorker
:feature_category: :continuous_integration
......@@ -2125,8 +2068,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: github_import_advance_stage
:worker_name: Gitlab::GithubImport::AdvanceStageWorker
:feature_category: :importers
......@@ -2144,8 +2086,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: gitlab_shell
:worker_name: GitlabShellWorker
:feature_category: :source_code_management
......@@ -2163,9 +2104,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :requires_disk_io
- :exclude_from_kubernetes
:tags: []
- :name: group_export
:worker_name: GroupExportWorker
:feature_category: :importers
......@@ -2255,8 +2194,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: mailers
:worker_name: ActionMailer::MailDeliveryJob
:feature_category: :issue_tracking
......@@ -2283,8 +2221,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: merge_request_mergeability_check
:worker_name: MergeRequestMergeabilityCheckWorker
:feature_category: :code_review
......@@ -2338,8 +2275,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: migrate_external_diffs
:worker_name: MigrateExternalDiffsWorker
:feature_category: :code_review
......@@ -2366,8 +2302,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: namespaces_onboarding_pipeline_created
:worker_name: Namespaces::OnboardingPipelineCreatedWorker
:feature_category: :subgroups
......@@ -2376,8 +2311,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: namespaces_onboarding_progress
:worker_name: Namespaces::OnboardingProgressWorker
:feature_category: :product_analytics
......@@ -2386,8 +2320,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: namespaces_onboarding_user_added
:worker_name: Namespaces::OnboardingUserAddedWorker
:feature_category: :users
......@@ -2396,8 +2329,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: new_issue
:worker_name: NewIssueWorker
:feature_category: :issue_tracking
......@@ -2433,8 +2365,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pages
:worker_name: PagesWorker
:feature_category: :pages
......@@ -2443,9 +2374,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags:
- :requires_disk_io
- :exclude_from_kubernetes
:tags: []
- :name: pages_domain_ssl_renewal
:worker_name: PagesDomainSslRenewalWorker
:feature_category: :pages
......@@ -2454,9 +2383,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :requires_disk_io
- :exclude_from_kubernetes
:tags: []
- :name: pages_domain_verification
:worker_name: PagesDomainVerificationWorker
:feature_category: :pages
......@@ -2465,9 +2392,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :requires_disk_io
- :exclude_from_kubernetes
:tags: []
- :name: pages_remove
:worker_name: PagesRemoveWorker
:feature_category: :pages
......@@ -2476,8 +2401,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pages_transfer
:worker_name: PagesTransferWorker
:feature_category: :pages
......@@ -2486,8 +2410,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: pages_update_configuration
:worker_name: PagesUpdateConfigurationWorker
:feature_category: :pages
......@@ -2496,8 +2419,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: phabricator_import_import_tasks
:worker_name: Gitlab::PhabricatorImport::ImportTasksWorker
:feature_category: :importers
......@@ -2551,9 +2473,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :requires_disk_io
- :exclude_from_kubernetes
:tags: []
- :name: project_export
:worker_name: ProjectExportWorker
:feature_category: :importers
......@@ -2580,8 +2500,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: projects_post_creation
:worker_name: Projects::PostCreationWorker
:feature_category: :source_code_management
......@@ -2590,8 +2509,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: projects_schedule_bulk_repository_shard_moves
:worker_name: Projects::ScheduleBulkRepositoryShardMovesWorker
:feature_category: :gitaly
......@@ -2636,8 +2554,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: propagate_integration_inherit
:worker_name: PropagateIntegrationInheritWorker
:feature_category: :integrations
......@@ -2646,8 +2563,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: propagate_integration_inherit_descendant
:worker_name: PropagateIntegrationInheritDescendantWorker
:feature_category: :integrations
......@@ -2656,8 +2572,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: propagate_integration_project
:worker_name: PropagateIntegrationProjectWorker
:feature_category: :integrations
......@@ -2666,8 +2581,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: propagate_service_template
:worker_name: PropagateServiceTemplateWorker
:feature_category: :integrations
......@@ -2703,8 +2617,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: remote_mirror_notification
:worker_name: RemoteMirrorNotificationWorker
:feature_category: :source_code_management
......@@ -2876,8 +2789,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: web_hooks_log_execution
:worker_name: WebHooks::LogExecutionWorker
:feature_category: :integrations
......@@ -2895,8 +2807,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: x509_certificate_revoke
:worker_name: X509CertificateRevokeWorker
:feature_category: :source_code_management
......
......@@ -13,7 +13,6 @@ module Analytics
DEFAULT_DELAY = 3.minutes.freeze
feature_category :devops_reports
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -12,7 +12,6 @@ module Analytics
feature_category :devops_reports
urgency :low
tags :exclude_from_kubernetes
idempotent!
......
......@@ -10,7 +10,6 @@ class ApproveBlockedPendingApprovalUsersWorker
idempotent!
feature_category :users
tags :exclude_from_kubernetes
def perform(current_user_id)
current_user = User.find(current_user_id)
......
......@@ -6,7 +6,6 @@ class BulkImportWorker # rubocop:disable Scalability/IdempotentWorker
data_consistency :always
feature_category :importers
tags :exclude_from_kubernetes
sidekiq_options retry: false, dead: false
......
......@@ -7,7 +7,6 @@ module BulkImports
data_consistency :always
feature_category :importers
tags :exclude_from_kubernetes
sidekiq_options retry: false, dead: false
......
......@@ -9,7 +9,6 @@ module BulkImports
NDJSON_PIPELINE_PERFORM_DELAY = 1.minute
feature_category :importers
tags :exclude_from_kubernetes
sidekiq_options retry: false, dead: false
......
......@@ -10,7 +10,6 @@ module BulkImports
idempotent!
loggable_arguments 2, 3
feature_category :importers
tags :exclude_from_kubernetes
sidekiq_options status_expiration: StuckExportJobsWorker::EXPORT_JOBS_EXPIRATION
def perform(user_id, portable_id, portable_class, relation)
......
......@@ -10,7 +10,6 @@ module Ci
include LimitedCapacity::Worker
feature_category :continuous_integration
tags :exclude_from_kubernetes
idempotent!
def perform_work(*args)
......
......@@ -9,8 +9,6 @@ module Ci
sidekiq_options retry: 3
include PipelineQueue
tags :exclude_from_kubernetes
idempotent!
def perform(pipeline_id, failure_reason)
......
......@@ -10,7 +10,6 @@ module Ci
include PipelineQueue
urgency :low
tags :exclude_from_kubernetes
idempotent!
def perform(job_id)
......
......@@ -11,7 +11,6 @@ module Ci
queue_namespace :pipeline_background
feature_category :code_testing
tags :exclude_from_kubernetes
idempotent!
......
......@@ -15,7 +15,6 @@ module Ci
deduplicate :until_executed, including_scheduled: true
idempotent!
feature_category :continuous_integration
tags :exclude_from_kubernetes
def perform
service = ::Ci::PipelineArtifacts::DestroyAllExpiredService.new
......
......@@ -12,7 +12,6 @@ module Ci
# rubocop:enable Scalability/CronWorkerContext
feature_category :continuous_integration
tags :exclude_from_kubernetes
idempotent!
def perform(*args)
......
......@@ -9,8 +9,6 @@ module Ci
sidekiq_options retry: 3
include PipelineBackgroundQueue
tags :exclude_from_kubernetes
idempotent!
def perform(pipeline_id)
......
......@@ -6,6 +6,5 @@ module ChaosQueue
included do
queue_namespace :chaos
feature_category_not_owned!
tags :exclude_from_gitlab_com
end
end
......@@ -12,7 +12,6 @@ module ContainerExpirationPolicies
queue_namespace :container_repository
feature_category :container_registry
tags :exclude_from_kubernetes
urgency :low
worker_resource_boundary :unknown
idempotent!
......
......@@ -9,7 +9,6 @@ module Database
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :database
tags :exclude_from_kubernetes
idempotent!
LEASE_TIMEOUT_MULTIPLIER = 3
......
......@@ -10,7 +10,6 @@ module Deployments
queue_namespace :deployment
feature_category :continuous_delivery
tags :exclude_from_kubernetes
def perform(deployment_id)
Deployments::OlderDeploymentsDropService.new(deployment_id).execute
......
......@@ -9,7 +9,6 @@ module DesignManagement
sidekiq_options retry: 3
feature_category :design_management
tags :exclude_from_kubernetes
idempotent!
urgency :low
......
......@@ -10,7 +10,6 @@ class DestroyPagesDeploymentsWorker
loggable_arguments 0, 1
sidekiq_options retry: 3
feature_category :pages
tags :exclude_from_kubernetes
def perform(project_id, last_deployment_id = nil)
project = Project.find_by_id(project_id)
......
......@@ -9,7 +9,6 @@ class DisallowTwoFactorForGroupWorker
include ExceptionBacktrace
feature_category :subgroups
tags :exclude_from_kubernetes
idempotent!
def perform(group_id)
......
......@@ -11,7 +11,6 @@ class DisallowTwoFactorForSubgroupsWorker
INTERVAL = 2.seconds.to_i
feature_category :subgroups
tags :exclude_from_kubernetes
idempotent!
def perform(group_id)
......
......@@ -11,7 +11,6 @@ module Environments
idempotent!
worker_has_external_dependencies!
feature_category :continuous_delivery
tags :exclude_from_kubernetes
def perform(environment_id, params)
Environment.find_by_id(environment_id).try do |environment|
......
......@@ -9,7 +9,6 @@ module Experiments
sidekiq_options retry: 3
feature_category :users
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -13,7 +13,6 @@ class FlushCounterIncrementsWorker
sidekiq_options retry: 3
feature_category_not_owned!
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executing, including_scheduled: true
......
......@@ -5,7 +5,6 @@ module Gitlab
class ImportPullRequestMergedByWorker # rubocop:disable Scalability/IdempotentWorker
include ObjectImporter
tags :exclude_from_kubernetes
worker_resource_boundary :cpu
def representation_class
......
......@@ -5,7 +5,6 @@ module Gitlab
class ImportPullRequestReviewWorker # rubocop:disable Scalability/IdempotentWorker
include ObjectImporter
tags :exclude_from_kubernetes
worker_resource_boundary :cpu
def representation_class
......
......@@ -12,8 +12,6 @@ module Gitlab
include GithubImport::Queue
include StageMethods
tags :exclude_from_kubernetes
# client - An instance of Gitlab::GithubImport::Client.
# project - An instance of Project.
def import(client, project)
......
......@@ -12,8 +12,6 @@ module Gitlab
include GithubImport::Queue
include StageMethods
tags :exclude_from_kubernetes
# client - An instance of Gitlab::GithubImport::Client.
# project - An instance of Project.
def import(client, project)
......
......@@ -15,7 +15,6 @@ class GitlabPerformanceBarStatsWorker
STATS_KEY_EXPIRE = 30.minutes.to_i
feature_category :metrics
tags :exclude_from_kubernetes
idempotent!
def perform(lease_uuid)
......
......@@ -9,7 +9,6 @@ class GroupDestroyWorker # rubocop:disable Scalability/IdempotentWorker
include ExceptionBacktrace
feature_category :subgroups
tags :requires_disk_io, :exclude_from_kubernetes
def perform(group_id, user_id)
begin
......
......@@ -13,7 +13,7 @@ module HashedStorage
# Gitlab::HashedStorage::Migrator#migration_pending? depends on the
# queue size of this worker.
tags :exclude_from_gitlab_com, :needs_own_queue
tags :needs_own_queue
# @param [Integer] start initial ID of the batch
# @param [Integer] finish last ID of the batch
......
......@@ -13,7 +13,7 @@ module HashedStorage
# Gitlab::HashedStorage::Migrator#migration_pending? depends on the
# queue size of this worker.
tags :exclude_from_gitlab_com, :needs_own_queue
tags :needs_own_queue
attr_reader :project_id
......
......@@ -13,7 +13,7 @@ module HashedStorage
# Gitlab::HashedStorage::Migrator#rollback_pending? depends on the
# queue size of this worker.
tags :exclude_from_gitlab_com, :needs_own_queue
tags :needs_own_queue
attr_reader :project_id
......
......@@ -13,7 +13,7 @@ module HashedStorage
# Gitlab::HashedStorage::Migrator#rollback_pending? depends on the
# queue size of this worker.
tags :exclude_from_gitlab_com, :needs_own_queue
tags :needs_own_queue
# @param [Integer] start initial ID of the batch
# @param [Integer] finish last ID of the batch
......
......@@ -11,7 +11,6 @@ module IncidentManagement
queue_namespace :incident_management
feature_category :incident_management
tags :exclude_from_kubernetes
def perform(incident_id, user_id)
return if incident_id.blank? || user_id.blank?
......
......@@ -10,7 +10,6 @@ class IssueRebalancingWorker
idempotent!
urgency :low
feature_category :issue_tracking
tags :exclude_from_kubernetes
deduplicate :until_executed, including_scheduled: true
def perform(ignore = nil, project_id = nil, root_namespace_id = nil)
......
......@@ -8,7 +8,6 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
data_consistency :delayed
tags :exclude_from_kubernetes
urgency :low
worker_has_external_dependencies!
......
......@@ -8,7 +8,6 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
data_consistency :delayed
tags :exclude_from_kubernetes
urgency :low
worker_has_external_dependencies!
......
......@@ -8,7 +8,6 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
data_consistency :delayed
tags :exclude_from_kubernetes
urgency :low
worker_has_external_dependencies!
......
......@@ -8,7 +8,6 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
data_consistency :delayed
tags :exclude_from_kubernetes
urgency :low
worker_has_external_dependencies!
......
......@@ -8,7 +8,6 @@ class MemberInvitationReminderEmailsWorker # rubocop:disable Scalability/Idempot
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :subgroups
tags :exclude_from_kubernetes
urgency :low
def perform
......
......@@ -10,7 +10,6 @@ class MergeRequestCleanupRefsWorker
sidekiq_options retry: 3
feature_category :code_review
tags :exclude_from_kubernetes
idempotent!
# Hard-coded to 4 for now. Will be configurable later on via application settings.
......
......@@ -10,7 +10,6 @@ module Metrics
sidekiq_options retry: 3
feature_category :metrics
tags :exclude_from_kubernetes
idempotent!
......
......@@ -9,7 +9,6 @@ module Namespaces
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :subgroups
tags :exclude_from_kubernetes
urgency :low
def perform
......
......@@ -9,7 +9,6 @@ module Namespaces
sidekiq_options retry: 3
feature_category :issue_tracking
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executing
......
......@@ -9,7 +9,6 @@ module Namespaces
sidekiq_options retry: 3
feature_category :subgroups
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executing
......
......@@ -10,7 +10,6 @@ module Namespaces
feature_category :product_analytics
worker_resource_boundary :cpu
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executed
......
......@@ -9,7 +9,6 @@ module Namespaces
sidekiq_options retry: 3
feature_category :users
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -10,7 +10,6 @@ module Packages
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :package_registry
tags :exclude_from_kubernetes
idempotent!
......
......@@ -10,7 +10,6 @@ module Packages
sidekiq_options retry: 3
feature_category :package_registry
tags :exclude_from_kubernetes
idempotent!
......
......@@ -13,7 +13,6 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
def perform(package_file_id, user_id)
@package_file_id = package_file_id
......
......@@ -12,7 +12,6 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
deduplicate :until_executing
idempotent!
......
......@@ -13,7 +13,6 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
deduplicate :until_executing
idempotent!
......
......@@ -11,7 +11,6 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
deduplicate :until_executing
def perform(package_file_id)
......
......@@ -8,7 +8,6 @@ class PagesDomainSslRenewalWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: 3
feature_category :pages
tags :requires_disk_io, :exclude_from_kubernetes
def perform(domain_id)
domain = PagesDomain.find_by_id(domain_id)
......
......@@ -8,7 +8,6 @@ class PagesDomainVerificationWorker # rubocop:disable Scalability/IdempotentWork
sidekiq_options retry: 3
feature_category :pages
tags :requires_disk_io, :exclude_from_kubernetes
# rubocop: disable CodeReuse/ActiveRecord
def perform(domain_id)
......
......@@ -8,7 +8,6 @@ class PagesRemoveWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: 3
feature_category :pages
tags :exclude_from_kubernetes
loggable_arguments 0
def perform(project_id)
......
......@@ -10,7 +10,6 @@ class PagesTransferWorker # rubocop:disable Scalability/IdempotentWorker
TransferFailedError = Class.new(StandardError)
feature_category :pages
tags :exclude_from_kubernetes
loggable_arguments 0, 1
def perform(method, args)
......
......@@ -9,7 +9,6 @@ class PagesUpdateConfigurationWorker
idempotent!
feature_category :pages
tags :exclude_from_kubernetes
def self.perform_async(*args)
return unless ::Settings.pages.local_store.enabled
......
......@@ -8,7 +8,6 @@ class PagesWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: 3
feature_category :pages
loggable_arguments 0, 1
tags :requires_disk_io, :exclude_from_kubernetes
worker_resource_boundary :cpu
def perform(action, *arg)
......
......@@ -9,7 +9,6 @@ module PersonalAccessTokens
include CronjobQueue
feature_category :authentication_and_authorization
tags :exclude_from_kubernetes
def perform(*args)
notification_service = NotificationService.new
......
......@@ -9,7 +9,6 @@ class ProjectDestroyWorker # rubocop:disable Scalability/IdempotentWorker
include ExceptionBacktrace
feature_category :source_code_management
tags :requires_disk_io, :exclude_from_kubernetes
def perform(project_id, user_id, params)
project = Project.find(project_id)
......
......@@ -5,8 +5,6 @@ module Projects
extend ::Gitlab::Utils::Override
include GitGarbageCollectMethods
tags :exclude_from_kubernetes
private
override :find_resource
......
......@@ -9,7 +9,6 @@ module Projects
sidekiq_options retry: 3
feature_category :source_code_management
tags :exclude_from_kubernetes
idempotent!
def perform(project_id)
......
......@@ -6,7 +6,6 @@ class PropagateIntegrationGroupWorker
data_consistency :always
sidekiq_options retry: 3
feature_category :integrations
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -6,7 +6,6 @@ class PropagateIntegrationInheritDescendantWorker
data_consistency :always
sidekiq_options retry: 3
feature_category :integrations
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -6,7 +6,6 @@ class PropagateIntegrationInheritWorker
data_consistency :always
sidekiq_options retry: 3
feature_category :integrations
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -6,7 +6,6 @@ class PropagateIntegrationProjectWorker
data_consistency :always
sidekiq_options retry: 3
feature_category :integrations
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -9,7 +9,6 @@ module Releases
sidekiq_options retry: 3
feature_category :release_evidence
tags :exclude_from_kubernetes
# pipeline_id is optional for backward compatibility with existing jobs
# caller should always try to provide the pipeline and pass nil only
......
......@@ -9,7 +9,6 @@ module Releases
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :release_evidence
tags :exclude_from_kubernetes
def perform
releases = Release.without_evidence.released_within_2hrs
......
......@@ -8,7 +8,6 @@ class RemoveUnacceptedMemberInvitesWorker # rubocop:disable Scalability/Idempote
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :authentication_and_authorization
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -8,7 +8,6 @@ class ScheduleMergeRequestCleanupRefsWorker
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :code_review
tags :exclude_from_kubernetes
idempotent!
def perform
......
......@@ -9,7 +9,6 @@ module SshKeys
include CronjobQueue
feature_category :compliance_management
tags :exclude_from_kubernetes
idempotent!
BATCH_SIZE = 500
......
......@@ -9,7 +9,6 @@ module SshKeys
include CronjobQueue
feature_category :compliance_management
tags :exclude_from_kubernetes
idempotent!
def perform
......
......@@ -9,8 +9,6 @@ module TodosDestroyer
sidekiq_options retry: 3
include TodosDestroyerQueue
tags :exclude_from_kubernetes
idempotent!
def perform(target_id, target_type)
......
......@@ -12,7 +12,6 @@ module UserStatusCleanup
# rubocop:enable Scalability/CronWorkerContext
feature_category :users
tags :exclude_from_kubernetes
idempotent!
......
......@@ -9,7 +9,6 @@ module Users
include CronjobQueue
feature_category :utilization
tags :exclude_from_kubernetes
NUMBER_OF_BATCHES = 50
BATCH_SIZE = 200
......
......@@ -7,7 +7,6 @@ module WebHooks
data_consistency :always
sidekiq_options retry: 3
feature_category :integrations
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -5,8 +5,6 @@ module Wikis
extend ::Gitlab::Utils::Override
include GitGarbageCollectMethods
tags :exclude_from_kubernetes
private
override :find_resource
......
......@@ -11,7 +11,6 @@ class ActiveUserCountThresholdWorker # rubocop:disable Scalability/IdempotentWor
# rubocop:enable Scalability/CronWorkerContext
feature_category :license
tags :exclude_from_kubernetes
def perform
License.with_valid_license do |license|
......
......@@ -20,8 +20,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:adjourned_group_deletion
:worker_name: AdjournedGroupDeletionWorker
:feature_category: :authentication_and_authorization
......@@ -48,8 +47,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:app_sec_dast_profile_schedule
:worker_name: AppSec::Dast::ProfileScheduleWorker
:feature_category: :dynamic_application_security_testing
......@@ -112,8 +110,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:geo_container_repository_sync_dispatch
:worker_name: Geo::ContainerRepositorySyncDispatchWorker
:feature_category: :geo_replication
......@@ -122,8 +119,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_file_download_dispatch
:worker_name: Geo::FileDownloadDispatchWorker
:feature_category: :geo_replication
......@@ -132,8 +128,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_metrics_update
:worker_name: Geo::MetricsUpdateWorker
:feature_category: :geo_replication
......@@ -142,8 +137,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_prune_event_log
:worker_name: Geo::PruneEventLogWorker
:feature_category: :geo_replication
......@@ -152,8 +146,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_registry_sync
:worker_name: Geo::RegistrySyncWorker
:feature_category: :geo_replication
......@@ -171,8 +164,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_repository_verification_primary_batch
:worker_name: Geo::RepositoryVerification::Primary::BatchWorker
:feature_category: :geo_replication
......@@ -181,8 +173,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_repository_verification_secondary_scheduler
:worker_name: Geo::RepositoryVerification::Secondary::SchedulerWorker
:feature_category: :geo_replication
......@@ -191,8 +182,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_repository_verification_secondary_shard
:worker_name: Geo::RepositoryVerification::Secondary::ShardWorker
:feature_category: :geo_replication
......@@ -201,8 +191,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_scheduler_per_shard_scheduler
:worker_name: Geo::Scheduler::PerShardSchedulerWorker
:feature_category: :geo_replication
......@@ -211,8 +200,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_scheduler_primary_per_shard_scheduler
:worker_name: Geo::Scheduler::Primary::PerShardSchedulerWorker
:feature_category: :geo_replication
......@@ -221,8 +209,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_scheduler_secondary_per_shard_scheduler
:worker_name: Geo::Scheduler::Secondary::PerShardSchedulerWorker
:feature_category: :geo_replication
......@@ -231,8 +218,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_secondary_registry_consistency
:worker_name: Geo::Secondary::RegistryConsistencyWorker
:feature_category: :geo_replication
......@@ -241,8 +227,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_secondary_usage_data_cron
:worker_name: Geo::SecondaryUsageDataCronWorker
:feature_category: :geo_replication
......@@ -251,9 +236,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_sidekiq_cron_config
:worker_name: Geo::SidekiqCronConfigWorker
:feature_category: :geo_replication
......@@ -271,9 +254,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:geo_verification_cron
:worker_name: Geo::VerificationCronWorker
:feature_category: :geo_replication
......@@ -282,9 +263,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: cronjob:historical_data
:worker_name: HistoricalDataWorker
:feature_category: :utilization
......@@ -311,8 +290,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:incident_management_oncall_rotations_persist_all_rotations_shifts_job
:worker_name: IncidentManagement::OncallRotations::PersistAllRotationsShiftsJob
:feature_category: :incident_management
......@@ -321,8 +299,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:incident_management_pending_escalations_schedule_check_cron
:worker_name: IncidentManagement::PendingEscalations::ScheduleCheckCronWorker
:feature_category: :incident_management
......@@ -448,8 +425,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: cronjob:vulnerabilities_statistics_schedule
:worker_name: Vulnerabilities::Statistics::ScheduleWorker
:feature_category: :vulnerability_management
......@@ -467,8 +443,7 @@
:resource_boundary: :unknown
:weight: 3
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: dora_metrics:dora_daily_metrics_refresh
:worker_name: Dora::DailyMetrics::RefreshWorker
:feature_category: :continuous_delivery
......@@ -477,8 +452,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: epics:epics_update_epics_dates
:worker_name: Epics::UpdateEpicsDatesWorker
:feature_category: :epics
......@@ -496,8 +470,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_batch_project_registry_scheduler
:worker_name: Geo::Batch::ProjectRegistrySchedulerWorker
:feature_category: :geo_replication
......@@ -506,8 +479,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_container_repository_sync
:worker_name: Geo::ContainerRepositorySyncWorker
:feature_category: :geo_replication
......@@ -516,8 +488,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_design_repository_shard_sync
:worker_name: Geo::DesignRepositoryShardSyncWorker
:feature_category: :geo_replication
......@@ -526,8 +497,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_design_repository_sync
:worker_name: Geo::DesignRepositorySyncWorker
:feature_category: :geo_replication
......@@ -536,8 +506,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_destroy
:worker_name: Geo::DestroyWorker
:feature_category: :geo_replication
......@@ -546,9 +515,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_event
:worker_name: Geo::EventWorker
:feature_category: :geo_replication
......@@ -557,8 +524,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_file_download
:worker_name: Geo::FileDownloadWorker
:feature_category: :geo_replication
......@@ -567,8 +533,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_file_registry_removal
:worker_name: Geo::FileRegistryRemovalWorker
:feature_category: :geo_replication
......@@ -577,8 +542,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_file_removal
:worker_name: Geo::FileRemovalWorker
:feature_category: :geo_replication
......@@ -587,8 +551,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_hashed_storage_attachments_migration
:worker_name: Geo::HashedStorageAttachmentsMigrationWorker
:feature_category: :geo_replication
......@@ -597,8 +560,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_hashed_storage_migration
:worker_name: Geo::HashedStorageMigrationWorker
:feature_category: :geo_replication
......@@ -607,8 +569,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_project_sync
:worker_name: Geo::ProjectSyncWorker
:feature_category: :geo_replication
......@@ -617,8 +578,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_rename_repository
:worker_name: Geo::RenameRepositoryWorker
:feature_category: :geo_replication
......@@ -627,8 +587,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_repositories_clean_up
:worker_name: Geo::RepositoriesCleanUpWorker
:feature_category: :geo_replication
......@@ -637,8 +596,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_repository_cleanup
:worker_name: Geo::RepositoryCleanupWorker
:feature_category: :geo_replication
......@@ -647,8 +605,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_repository_destroy
:worker_name: GeoRepositoryDestroyWorker
:feature_category: :geo_replication
......@@ -657,8 +614,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_repository_shard_sync
:worker_name: Geo::RepositoryShardSyncWorker
:feature_category: :geo_replication
......@@ -667,8 +623,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_repository_verification_primary_shard
:worker_name: Geo::RepositoryVerification::Primary::ShardWorker
:feature_category: :geo_replication
......@@ -677,8 +632,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_repository_verification_primary_single
:worker_name: Geo::RepositoryVerification::Primary::SingleWorker
:feature_category: :geo_replication
......@@ -687,8 +641,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_repository_verification_secondary_single
:worker_name: Geo::RepositoryVerification::Secondary::SingleWorker
:feature_category: :geo_replication
......@@ -697,8 +650,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_reverification_batch
:worker_name: Geo::ReverificationBatchWorker
:feature_category: :geo_replication
......@@ -707,9 +659,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_scheduler_primary_scheduler
:worker_name: Geo::Scheduler::Primary::SchedulerWorker
:feature_category: :geo_replication
......@@ -718,8 +668,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_scheduler_scheduler
:worker_name: Geo::Scheduler::SchedulerWorker
:feature_category: :geo_replication
......@@ -728,8 +677,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_scheduler_secondary_scheduler
:worker_name: Geo::Scheduler::Secondary::SchedulerWorker
:feature_category: :geo_replication
......@@ -738,8 +686,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_verification
:worker_name: Geo::VerificationWorker
:feature_category: :geo_replication
......@@ -748,9 +695,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_verification_batch
:worker_name: Geo::VerificationBatchWorker
:feature_category: :geo_replication
......@@ -759,9 +704,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: geo:geo_verification_timeout
:worker_name: Geo::VerificationTimeoutWorker
:feature_category: :geo_replication
......@@ -770,9 +713,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
- :exclude_from_gitlab_com
:tags: []
- :name: iterations:iterations_roll_over_issues
:worker_name: Iterations::RollOverIssuesWorker
:feature_category: :issue_tracking
......@@ -844,8 +785,7 @@
:resource_boundary: :cpu
:weight: 2
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: security_scans:security_track_secure_scans
:worker_name: Security::TrackSecureScansWorker
:feature_category: :vulnerability_management
......@@ -872,8 +812,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: adjourned_project_deletion
:worker_name: AdjournedProjectDeletionWorker
:feature_category: :authentication_and_authorization
......@@ -909,8 +848,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: approval_rules_external_approval_rule_payload
:worker_name: ApprovalRules::ExternalApprovalRulePayloadWorker
:feature_category: :source_code_management
......@@ -919,8 +857,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: ci_batch_reset_minutes
:worker_name: Ci::BatchResetMinutesWorker
:feature_category: :continuous_integration
......@@ -947,8 +884,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: elastic_association_indexer
:worker_name: ElasticAssociationIndexerWorker
:feature_category: :global_search
......@@ -957,8 +893,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: elastic_commit_indexer
:worker_name: ElasticCommitIndexerWorker
:feature_category: :global_search
......@@ -1030,8 +965,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: group_wikis_git_garbage_collect
:worker_name: GroupWikis::GitGarbageCollectWorker
:feature_category: :gitaly
......@@ -1040,8 +974,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: groups_export_memberships
:worker_name: Groups::ExportMembershipsWorker
:feature_category: :compliance_management
......@@ -1077,8 +1010,7 @@
:resource_boundary: :cpu
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: incident_management_apply_incident_sla_exceeded_label
:worker_name: IncidentManagement::ApplyIncidentSlaExceededLabelWorker
:feature_category: :incident_management
......@@ -1087,8 +1019,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: incident_management_oncall_rotations_persist_shifts_job
:worker_name: IncidentManagement::OncallRotations::PersistShiftsJob
:feature_category: :incident_management
......@@ -1097,8 +1028,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: incident_management_pending_escalations_alert_check
:worker_name: IncidentManagement::PendingEscalations::AlertCheckWorker
:feature_category: :incident_management
......@@ -1125,8 +1055,7 @@
:resource_boundary: :unknown
:weight: 2
:idempotent:
:tags:
- :exclude_from_gitlab_com
:tags: []
- :name: merge_request_reset_approvals
:worker_name: MergeRequestResetApprovalsWorker
:feature_category: :source_code_management
......@@ -1172,8 +1101,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: refresh_license_compliance_checks
:worker_name: RefreshLicenseComplianceChecksWorker
:feature_category: :license_compliance
......@@ -1209,8 +1137,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: requirements_management_process_requirements_reports
:worker_name: RequirementsManagement::ProcessRequirementsReportsWorker
:feature_category: :requirements_management
......@@ -1228,8 +1155,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: set_user_status_based_on_user_cap_setting
:worker_name: SetUserStatusBasedOnUserCapSettingWorker
:feature_category: :users
......@@ -1238,8 +1164,7 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags:
- :exclude_from_kubernetes
:tags: []
- :name: status_page_publish
:worker_name: StatusPage::PublishWorker
:feature_category: :incident_management
......
......@@ -12,7 +12,6 @@ module Analytics
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :devops_reports
tags :exclude_from_kubernetes
idempotent!
WORKERS_GAP = 5.seconds
......
......@@ -12,7 +12,6 @@ module Analytics
feature_category :devops_reports
idempotent!
tags :exclude_from_kubernetes
def perform(enabled_namespace_id)
enabled_namespace = EnabledNamespace.find(enabled_namespace_id)
......
......@@ -10,7 +10,6 @@ module ApprovalRules
idempotent!
feature_category :source_code_management
tags :exclude_from_kubernetes
def perform(rule_id, data)
rule = MergeRequests::ExternalStatusCheck.find(rule_id)
......
......@@ -7,6 +7,5 @@ module GeoQueue
included do
queue_namespace :geo
feature_category :geo_replication
tags :exclude_from_gitlab_com
end
end
......@@ -12,7 +12,6 @@ class DastSiteValidationWorker
sidekiq_retry_in { 25 }
feature_category :dynamic_application_security_testing
tags :exclude_from_kubernetes
def perform(_dast_site_validation_id)
# Scheduled for removal in %15.0
......
......@@ -10,7 +10,6 @@ module Deployments
idempotent!
feature_category :continuous_delivery
tags :exclude_from_kubernetes
queue_namespace :deployment
def perform(environment_id)
......
......@@ -13,7 +13,6 @@ module Dora
idempotent!
queue_namespace :dora_metrics
feature_category :continuous_delivery
tags :exclude_from_kubernetes
def perform(environment_id, date)
Environment.find_by_id(environment_id).try do |environment|
......
......@@ -9,7 +9,6 @@ class ElasticAssociationIndexerWorker # rubocop:disable Scalability/IdempotentWo
feature_category :global_search
worker_resource_boundary :cpu
tags :exclude_from_kubernetes
loggable_arguments 0, 2
def perform(class_name, id, indexed_associations)
......
......@@ -9,7 +9,6 @@ class ElasticRemoveExpiredNamespaceSubscriptionsFromIndexCronWorker
include CronjobQueue
feature_category :global_search
tags :exclude_from_kubernetes
idempotent!
def perform
......
......@@ -7,8 +7,6 @@ module Geo
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
tags :exclude_from_gitlab_com
def perform
unless ::Geo::ContainerRepositoryRegistry.replication_enabled?
log_info('Container Registry replication is not enabled')
......
......@@ -2,8 +2,6 @@
module Geo
class DesignRepositoryShardSyncWorker < RepositoryShardSyncWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
private
def schedule_job(project_id)
......
......@@ -12,7 +12,6 @@ module Geo
idempotent!
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0
def perform(replicable_name, replicable_id)
......
......@@ -7,8 +7,6 @@ module Geo
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
tags :exclude_from_gitlab_com
private
# Cannot utilise backoff because there are no events currently being
......
......@@ -13,7 +13,6 @@ module Geo
# rubocop:enable Scalability/CronWorkerContext
feature_category :geo_replication
tags :exclude_from_gitlab_com
LEASE_TIMEOUT = 5.minutes
......
......@@ -13,7 +13,6 @@ module Geo
include ::Gitlab::Geo::LogHelpers
feature_category :geo_replication
tags :exclude_from_gitlab_com
def perform
return if Gitlab::Database.read_only?
......
......@@ -4,7 +4,6 @@ module Geo
class RepositoryShardSyncWorker < Geo::Scheduler::Secondary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: false
loggable_arguments 0
tags :exclude_from_gitlab_com
attr_accessor :shard_name
......
......@@ -2,8 +2,6 @@
module Geo
class RepositorySyncWorker < Geo::Scheduler::Secondary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def schedule_job(shard_name)
Geo::RepositoryShardSyncWorker.perform_async(shard_name)
Geo::DesignRepositoryShardSyncWorker.perform_async(shard_name)
......
......@@ -4,8 +4,6 @@ module Geo
module RepositoryVerification
module Primary
class BatchWorker < Geo::Scheduler::Primary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform
return unless Gitlab::Geo.repository_verification_enabled?
......
......@@ -6,7 +6,6 @@ module Geo
class ShardWorker < Geo::Scheduler::Primary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: false
loggable_arguments 0
tags :exclude_from_gitlab_com
attr_accessor :shard_name
......
......@@ -11,7 +11,6 @@ module Geo
include ExclusiveLeaseGuard
sidekiq_options retry: false
tags :exclude_from_gitlab_com
LEASE_TIMEOUT = 1.hour.to_i
......
......@@ -4,8 +4,6 @@ module Geo
module RepositoryVerification
module Secondary
class SchedulerWorker < Geo::Scheduler::Secondary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform
return unless Gitlab::Geo.repository_verification_enabled?
......
......@@ -12,7 +12,6 @@ module Geo
attr_accessor :shard_name
loggable_arguments 0
tags :exclude_from_gitlab_com
def perform(shard_name)
@shard_name = shard_name
......
......@@ -12,7 +12,6 @@ module Geo
include Gitlab::Geo::ProjectLogHelpers
sidekiq_options retry: false
tags :exclude_from_gitlab_com
LEASE_TIMEOUT = 1.hour.to_i
......
......@@ -17,7 +17,6 @@ module Geo
MAX_RUNNING_JOBS = 1
idempotent!
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0
def perform_work(replicable_name)
......
......@@ -15,7 +15,6 @@ module Geo
include ::EachShardWorker
feature_category :geo_replication
tags :exclude_from_gitlab_com
# These workers are enqueued every minute by sidekiq-cron. If one of them
# is already enqueued or running, then there isn't a strong case for
......
......@@ -4,8 +4,6 @@ module Geo
module Scheduler
module Primary
class PerShardSchedulerWorker < Geo::Scheduler::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform
unless Gitlab::Geo.primary?
log_info('Current node not a primary')
......
......@@ -4,8 +4,6 @@ module Geo
module Scheduler
module Primary
class SchedulerWorker < Geo::Scheduler::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform
return unless Gitlab::Geo.primary?
......
......@@ -4,8 +4,6 @@ module Geo
module Scheduler
module Secondary
class PerShardSchedulerWorker < Geo::Scheduler::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform
unless Gitlab::Geo.geo_database_configured?
log_info('Geo database not configured')
......
......@@ -4,8 +4,6 @@ module Geo
module Scheduler
module Secondary
class SchedulerWorker < Geo::Scheduler::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform
unless Gitlab::Geo.geo_database_configured?
log_info('Geo database not configured')
......
......@@ -17,7 +17,6 @@ module Geo
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :geo_replication
tags :exclude_from_gitlab_com
REGISTRY_CLASSES = [
Geo::ContainerRepositoryRegistry,
......
......@@ -13,7 +13,6 @@ module Geo
include ExclusiveLeaseGuard
feature_category :geo_replication
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
def perform
return unless Gitlab::Geo.secondary?
......
......@@ -14,7 +14,6 @@ module Geo
idempotent!
sidekiq_options retry: false, dead: false
feature_category :geo_replication
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
def perform
Gitlab::Geo.enabled_replicator_classes.each do |replicator_class|
......
......@@ -12,7 +12,6 @@ module Geo
include ::Gitlab::Geo::LogHelpers
idempotent!
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0
def perform_work(replicable_name)
......
......@@ -17,7 +17,6 @@ module Geo
idempotent!
feature_category :geo_replication
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
def perform
Gitlab::Geo.verification_enabled_replicator_classes.each do |replicator_class|
......
......@@ -11,7 +11,6 @@ module Geo
idempotent!
sidekiq_options retry: false, dead: false
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0
def perform(replicable_name)
......
......@@ -11,7 +11,6 @@ module Geo
sidekiq_options retry: 3, dead: false
idempotent!
tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0
def perform(replicable_name, replicable_id)
......
......@@ -9,7 +9,6 @@ class GroupSamlGroupSyncWorker
include Gitlab::Utils::StrongMemoize
feature_category :authentication_and_authorization
tags :exclude_from_kubernetes
idempotent!
loggable_arguments 2
......
......@@ -5,8 +5,6 @@ module GroupWikis
extend ::Gitlab::Utils::Override
include GitGarbageCollectMethods
tags :exclude_from_kubernetes
private
override :find_resource
......
......@@ -12,7 +12,6 @@ module Groups
worker_resource_boundary :cpu
feature_category :source_code_management
tags :exclude_from_kubernetes
idempotent!
loggable_arguments 0, 1
......
......@@ -10,7 +10,6 @@ module IncidentManagement
idempotent!
feature_category :incident_management
tags :exclude_from_kubernetes
def perform(incident_id)
@incident = Issue.find_by_id(incident_id)
......
......@@ -11,7 +11,6 @@ module IncidentManagement
idempotent!
feature_category :incident_management
tags :exclude_from_kubernetes
def perform
iterator = Gitlab::Pagination::Keyset::Iterator.new(scope: IssuableSla.exceeded)
......
......@@ -12,7 +12,6 @@ module IncidentManagement
idempotent!
feature_category :incident_management
tags :exclude_from_kubernetes
queue_namespace :cronjob
def perform
......
......@@ -15,7 +15,6 @@ module IncidentManagement
idempotent!
feature_category :incident_management
tags :exclude_from_kubernetes
def perform(rotation_id)
@rotation = ::IncidentManagement::OncallRotation.find_by_id(rotation_id)
......
......@@ -11,7 +11,6 @@ class LdapGroupSyncWorker # rubocop:disable Scalability/IdempotentWorker
worker_has_external_dependencies!
weight 2
loggable_arguments 0, 1
tags :exclude_from_gitlab_com
# rubocop: disable CodeReuse/ActiveRecord
def perform(group_ids, provider = nil)
......
......@@ -8,7 +8,6 @@
# which significantly delays project creation from custom templates.
class ProjectTemplateExportWorker < ProjectExportWorker # rubocop:disable Scalability/IdempotentWorker
feature_category :importers
tags :exclude_from_kubernetes
loggable_arguments 2, 3
sidekiq_options retry: false, dead: false
sidekiq_options status_expiration: StuckExportJobsWorker::EXPORT_JOBS_EXPIRATION
......
......@@ -11,7 +11,6 @@ module RequirementsManagement
idempotent!
feature_category :requirements_management
tags :exclude_from_kubernetes
# TODO: Set worker_resource_boundary.
# https://gitlab.com/gitlab-org/gitlab/-/issues/281173
......
......@@ -9,7 +9,6 @@ module Security
sidekiq_options retry: 3
feature_category :vulnerability_management
tags :exclude_from_kubernetes
idempotent!
......
......@@ -10,8 +10,6 @@ module Security
sidekiq_options retry: 3
include SecurityScansQueue
tags :exclude_from_kubernetes
# rubocop: disable CodeReuse/ActiveRecord
def perform(pipeline_id)
::Ci::Pipeline.find_by(id: pipeline_id).try do |pipeline|
......
......@@ -9,7 +9,6 @@ class SetUserStatusBasedOnUserCapSettingWorker
include ::Gitlab::Utils::StrongMemoize
feature_category :users
tags :exclude_from_kubernetes
idempotent!
......
......@@ -10,7 +10,6 @@ module TodosDestroyer
queue_namespace :todos_destroyer
feature_category :epics
tags :exclude_from_kubernetes
def perform(epic_id)
return unless epic_id
......
......@@ -13,7 +13,6 @@ module Vulnerabilities
# rubocop:enable Scalability/CronWorkerContext
feature_category :vulnerability_management
tags :exclude_from_kubernetes
def perform
DeletionService.execute
......
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