gitlab-org--gitlab-foss/spec/workers
Stan Hu 6fbbd4ab39 Only send one notification for failed remote mirror
Retries in Sidekiq and in the remote mirror scheduler can cause repeated
attempts in quick succession if the sync fails. Each failure will then
send an e-mail to all project maintainers, which can spam users
unnecessarily.

Modify the logic to send one notification the first time the mirror
fails by setting `error_notification_sent` to `true` and reset the
flag after a successful sync.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56222
2019-01-15 00:15:40 -08:00
..
auto_devops
ci Improve comments 2018-11-29 15:13:36 +09:00
concerns Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
deployments
gitlab/github_import Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
mail_scheduler Bump Ruby on Rails to 5.0.7.1 2018-12-21 23:32:25 +11:00
object_pool Leave object pools when destroying projects 2018-12-19 13:21:56 +01:00
repository_check
todos_destroyer
admin_email_worker_spec.rb
archive_trace_worker_spec.rb Improve spec 2018-11-29 14:51:03 +09:00
authorized_projects_worker_spec.rb
background_migration_worker_spec.rb
build_coverage_worker_spec.rb
build_finished_worker_spec.rb
build_hooks_worker_spec.rb
build_success_worker_spec.rb
build_trace_sections_worker_spec.rb
cluster_configure_worker_spec.rb Rename ClusterPlatformConfigureWorker 2018-12-21 13:17:13 +00:00
cluster_provision_worker_spec.rb Rename ClusterPlatformConfigureWorker 2018-12-21 13:17:13 +00:00
cluster_wait_for_ingress_ip_address_worker_spec.rb
create_gpg_signature_worker_spec.rb
create_note_diff_file_worker_spec.rb
create_pipeline_worker_spec.rb
delete_container_repository_worker_spec.rb
delete_diff_files_worker_spec.rb
delete_merged_branches_worker_spec.rb
delete_user_worker_spec.rb
detect_repository_languages_worker_spec.rb
email_receiver_worker_spec.rb
emails_on_push_worker_spec.rb Fix typos in lib 2018-11-15 12:15:43 +02:00
every_sidekiq_worker_spec.rb Backport of gitlab-ee!8470 2018-11-19 16:29:19 -05:00
expire_build_artifacts_worker_spec.rb
expire_build_instance_artifacts_worker_spec.rb
expire_job_cache_worker_spec.rb
expire_pipeline_cache_worker_spec.rb
git_garbage_collect_worker_spec.rb Ensure pool participants are linked before GC 2019-01-14 16:09:47 +01:00
gitlab_shell_worker_spec.rb
gitlab_usage_ping_worker_spec.rb
group_destroy_worker_spec.rb
import_issues_csv_worker_spec.rb Import CSV Backend 2019-01-07 11:16:58 +08:00
invalid_gpg_signature_update_worker_spec.rb
issue_due_scheduler_worker_spec.rb
merge_worker_spec.rb
namespaceless_project_destroy_worker_spec.rb
new_issue_worker_spec.rb
new_merge_request_worker_spec.rb
new_note_worker_spec.rb
pages_domain_verification_cron_worker_spec.rb
pages_domain_verification_worker_spec.rb
pipeline_hooks_worker_spec.rb
pipeline_metrics_worker_spec.rb
pipeline_notification_worker_spec.rb
pipeline_process_worker_spec.rb
pipeline_schedule_worker_spec.rb Rename project's pipelines relation 2018-12-05 14:39:15 +00:00
pipeline_success_worker_spec.rb
pipeline_update_worker_spec.rb
plugin_worker_spec.rb
post_receive_spec.rb
process_commit_worker_spec.rb
project_cache_worker_spec.rb
project_destroy_worker_spec.rb
project_export_worker_spec.rb
project_migrate_hashed_storage_worker_spec.rb
project_service_worker_spec.rb
propagate_service_template_worker_spec.rb
prune_old_events_worker_spec.rb
prune_web_hook_logs_worker_spec.rb Improve PruneWebHookLogsWorker spec 2018-12-07 10:55:44 +01:00
reactive_caching_worker_spec.rb
rebase_worker_spec.rb Fix deprecation: You are passing an instance of ActiveRecord::Base to find 2018-11-26 23:27:04 +01:00
remote_mirror_notification_worker_spec.rb Only send one notification for failed remote mirror 2019-01-15 00:15:40 -08:00
remove_expired_group_links_worker_spec.rb
remove_expired_members_worker_spec.rb
remove_unreferenced_lfs_objects_worker_spec.rb
repository_cleanup_worker_spec.rb Use BFG object maps to clean projects 2018-12-06 18:58:00 +00:00
repository_fork_worker_spec.rb
repository_import_worker_spec.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
repository_remove_remote_worker_spec.rb
repository_update_remote_mirror_worker_spec.rb Only send one notification for failed remote mirror 2019-01-15 00:15:40 -08:00
run_pipeline_schedule_worker_spec.rb
stage_update_worker_spec.rb
storage_migrator_worker_spec.rb
stuck_ci_jobs_worker_spec.rb Lock writes to trace stream 2018-11-27 17:55:20 +01:00
stuck_import_jobs_worker_spec.rb
stuck_merge_jobs_worker_spec.rb Adjust flaky Rails logger call test 2018-12-18 16:48:59 -02:00
system_hook_push_worker_spec.rb
trending_projects_worker_spec.rb
update_head_pipeline_for_merge_request_worker_spec.rb Refactor the logic of updating head pipelines 2019-01-04 19:36:45 +09:00
update_merge_requests_worker_spec.rb
upload_checksum_worker_spec.rb
wait_for_cluster_creation_worker_spec.rb