gitlab-org--gitlab-foss/app/workers
Stan Hu 1625979653 Properly expire all pipeline caches when pipeline is deleted
When deleting a pipeline, only some of the cache structures were being
expired, but not the full pipeline list. We have to synchronously
schedule a pipeline cache expiration because the pipeline will be
deleted if the Sidekiq expiration job picks it up. To do this, properly
extract all the logic buried in the Sidekiq worker into a service, and
then call the service.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60469
2019-04-15 08:10:10 -07:00
..
auto_devops Automatically disable Auto DevOps for project upon first pipeline failure 2018-09-06 19:20:42 +00:00
ci Create framework for build prerequisites 2019-03-20 12:04:40 +11:00
concerns Externalize strings in app/workers 2019-04-10 13:30:09 +00:00
deployments Squashed commit of the following: 2018-11-06 10:54:27 +09:00
gitlab/github_import Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
hashed_storage Extract common logic to HashedStorage::BaseWorker 2019-03-01 15:49:20 +01:00
mail_scheduler Make ActionContorller::Parameters serializable for sidekiq jobs 2019-02-05 10:39:14 +00:00
object_pool Ensure pool participants are linked before GC 2019-01-14 16:09:47 +01:00
object_storage Externalize strings in app/workers 2019-04-10 13:30:09 +00:00
repository_check Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
todos_destroyer Enable frozen string in vestigial app files 2018-08-12 11:07:35 -07:00
admin_email_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
all_queues.yml Fix the bug that the project statistics is not updated 2019-04-05 00:22:56 +09:00
archive_trace_worker.rb Squashed commit of the following: 2018-11-29 14:35:00 +09:00
authorized_projects_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
background_migration_worker.rb Remove feature flag from BackgroundMigrationWorker 2018-08-28 13:49:16 +02:00
build_coverage_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
build_finished_worker.rb Move ChatOps to Core 2019-02-20 21:29:48 +00:00
build_hooks_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
build_queue_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
build_success_worker.rb Use fire_state_event 2018-11-06 11:45:39 +09:00
build_trace_sections_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
chat_notification_worker.rb Move ChatOps to Core 2019-02-20 21:29:48 +00:00
cleanup_container_repository_worker.rb Add Container Registry API 2019-01-25 13:13:48 +01:00
cluster_configure_worker.rb Add feature flag for build preparing state 2019-03-20 12:04:46 +11:00
cluster_install_app_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
cluster_patch_app_worker.rb Rename ClusterUpdateAppWorker to ClusterPatchAppWorker 2019-03-05 15:21:29 +00:00
cluster_project_configure_worker.rb Add feature flag for build preparing state 2019-03-20 12:04:46 +11:00
cluster_provision_worker.rb Rename ClusterPlatformConfigureWorker 2018-12-21 13:17:13 +00:00
cluster_upgrade_app_worker.rb Upgrade cluster applications, starting with runner 2019-02-07 21:40:55 +00:00
cluster_wait_for_app_installation_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
cluster_wait_for_ingress_ip_address_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
create_gpg_signature_worker.rb Rename GitPushService -> Git::BranchPushService 2019-03-25 13:02:31 +00:00
create_note_diff_file_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
create_pipeline_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
delete_container_repository_worker.rb Add Container Registry API 2019-01-25 13:13:48 +01:00
delete_diff_files_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
delete_merged_branches_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
delete_stored_files_worker.rb Use FastDestroy for deleting uploads 2018-12-06 22:00:19 +01:00
delete_user_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
detect_repository_languages_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
email_receiver_worker.rb Externalize strings in app/workers 2019-04-10 13:30:09 +00:00
emails_on_push_worker.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
expire_build_artifacts_worker.rb Remove expired artifacts periodically 2019-01-24 20:50:42 +09:00
expire_build_instance_artifacts_worker.rb Extend reports to support security features 2018-09-27 21:15:08 +00:00
expire_job_cache_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
expire_pipeline_cache_worker.rb Properly expire all pipeline caches when pipeline is deleted 2019-04-15 08:10:10 -07:00
git_garbage_collect_worker.rb Ensure pool participants are linked before GC 2019-01-14 16:09:47 +01:00
gitlab_shell_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
gitlab_usage_ping_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
group_destroy_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
import_export_project_cleanup_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
import_issues_csv_worker.rb Remove caching of CSV file 2019-01-07 11:21:30 +08:00
invalid_gpg_signature_update_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
irker_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
issue_due_scheduler_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
merge_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
migrate_external_diffs_worker.rb Allow external diffs to be used conditionally 2019-03-27 16:51:33 +00:00
namespaceless_project_destroy_worker.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
new_issue_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
new_merge_request_worker.rb Use standalone diff stats RPC on every comparison view 2018-09-19 12:26:28 +00:00
new_note_worker.rb Backports changes made to One notification per code review 2018-12-07 14:24:37 +00:00
pages_domain_verification_cron_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
pages_domain_verification_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
pages_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
pipeline_hooks_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
pipeline_metrics_worker.rb Rename ambiguous association names in Ci::Pipeline 2019-03-05 11:36:26 +07:00
pipeline_notification_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
pipeline_process_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
pipeline_schedule_worker.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
pipeline_success_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
pipeline_update_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
plugin_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
post_receive.rb Process at most 4 pipelines during push 2019-04-10 11:51:19 +02:00
process_commit_worker.rb Fix types comment 2018-11-15 19:15:03 +09:00
project_cache_worker.rb Refactor: extract duplicate steps to a service class 2019-04-05 22:47:20 +09:00
project_daily_statistics_worker.rb Add project http fetch statistics API 2019-02-27 11:52:35 +01:00
project_destroy_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
project_export_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
project_service_worker.rb Log project services errors when executing async 2018-09-10 18:01:25 -03:00
propagate_service_template_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
prune_old_events_worker.rb Updated code comments for clarity based on 2 years 2018-10-06 10:09:49 +00:00
prune_web_hook_logs_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
reactive_caching_worker.rb Allow reactive caching to be used in services 2019-04-04 17:27:29 +00:00
rebase_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
remote_mirror_notification_worker.rb Only send one notification for failed remote mirror 2019-01-15 00:15:40 -08:00
remove_expired_group_links_worker.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
remove_expired_members_worker.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
remove_unreferenced_lfs_objects_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
repository_archive_cache_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
repository_cleanup_worker.rb Use BFG object maps to clean projects 2018-12-06 18:58:00 +00:00
repository_fork_worker.rb Clean up Shell.fork_repository 2019-02-05 21:33:09 -08:00
repository_import_worker.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
repository_remove_remote_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
repository_update_remote_mirror_worker.rb Merge branch '54650-send-an-email-to-project-owners-when-a-mirror-update-fails' into 'master' 2018-12-12 13:31:53 +00:00
requests_profiles_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
run_pipeline_schedule_worker.rb Revert "Avoid conflicts between enumlator's schedule! method and state machine's schedule! method" 2018-10-04 16:35:05 +09:00
schedule_migrate_external_diffs_worker.rb Allow external diffs to be used conditionally 2019-03-27 16:51:33 +00:00
stage_update_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
stuck_ci_jobs_worker.rb Improve performance of stale scheduled builds search 2018-10-03 18:52:18 +09:00
stuck_import_jobs_worker.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
stuck_merge_jobs_worker.rb Adjust flaky Rails logger call test 2018-12-18 16:48:59 -02:00
system_hook_push_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
trending_projects_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
update_head_pipeline_for_merge_request_worker.rb Refactor the logic of updating head pipelines 2019-01-04 19:36:45 +09:00
update_merge_requests_worker.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
update_project_statistics_worker.rb Refactor: extract duplicate steps to a service class 2019-04-05 22:47:20 +09:00
upload_checksum_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
wait_for_cluster_creation_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00
web_hook_worker.rb Enable frozen string literals for app/workers/*.rb 2018-06-27 07:23:28 +00:00