Skip to content
Snippets Groups Projects

Move findings deletion into a worker using pub-sub system for `Ci::JobArtifacts::DestroyBatchService`

Merged Subashis Chakraborty requested to merge 346236-destroy-security-findings into master

What does this MR do and why?

This MR introduces event worker using pub-sub to execute security_findings deletion for JobArtifacts::DestroyBatchService to avoid cross database modification.

  • Publish event on artifact deletion
  • Worker for findings deletion so that we can delete them async

Related to #346236 (closed)

Edited by Subashis Chakraborty

Merge request reports

Merged results pipeline #471830676 passed

Merged results pipeline passed for 70e54231

Test coverage 86.96% (7.99%) from 2 jobs
Approved by

Merged by Dylan GriffithDylan Griffith 3 years ago (Feb 15, 2022 10:36pm UTC)

Pipeline #471861426 passed

Pipeline passed for b4bdcd48 on master

Test coverage 78.99% (7.99%) from 2 jobs
8 environments impacted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading