Skip to content

Update vulnerability_statistic.archived when project is archived

What does this MR do and why?

Triggers an update of the archived column of a project's associated vulnerability_statistic using the existing ProcessArchivedEventsWorker

The newly added service is based on the existing UpdateArchivedOfVulnerabilityReadsService.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Run the GDK
  2. Archive a project
  3. Verify the statistic using SELECT project_id,archived FROM vulnerability_statistics ORDER BY project_id

Related to #513029 (closed)

Edited by Arpit Gogia

Merge request reports

Loading