Skip to content

PM-33527 adding background job to clean up#7517

Draft
prograhamming wants to merge 8 commits intomainfrom
dirt/pm-33527/remove-orphaned-event-logs
Draft

PM-33527 adding background job to clean up#7517
prograhamming wants to merge 8 commits intomainfrom
dirt/pm-33527/remove-orphaned-event-logs

Conversation

@prograhamming
Copy link
Copy Markdown
Contributor

@prograhamming prograhamming commented Apr 21, 2026

🎟️ Tracking

PM-33527

📔 Objective

In all instances when we delete a cipher/user/org and sends and event logs are deleted from the DB, make sure that artifacts are also deleted from storage. We need to delete event log files from Azure Table Storage Event data storage otherwise we have data retention issues that conflict with GDPR.

📸 Screenshots

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

Logo
Checkmarx One – Scan Summary & Details0a847289-6342-453f-bdb8-13b0e3234372

Great job! No new security vulnerabilities introduced in this pull request

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

❌ Patch coverage is 38.13230% with 159 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.57%. Comparing base (0868a74) to head (2be11f9).

Files with missing lines Patch % Lines
...Repositories/OrganizationEventCleanupRepository.cs 0.00% 56 Missing ⚠️
...Repositories/OrganizationEventCleanupRepository.cs 16.66% 50 Missing ⚠️
.../Dirt/Repositories/TableStorage/EventRepository.cs 0.00% 28 Missing ⚠️
...ucture.Dapper/Dirt/Repositories/EventRepository.cs 0.00% 8 Missing ⚠️
...tityFramework/Dirt/Repositories/EventRepository.cs 0.00% 7 Missing ⚠️
src/Core/Dirt/Entities/OrganizationEventCleanup.cs 60.00% 6 Missing ⚠️
src/Admin/Jobs/JobsHostedService.cs 0.00% 2 Missing ⚠️
src/Admin/Jobs/CleanUpOrganizationEventsJob.cs 98.07% 0 Missing and 1 partial ⚠️
...ucture.Dapper/DapperServiceCollectionExtensions.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7517      +/-   ##
==========================================
- Coverage   59.61%   59.57%   -0.05%     
==========================================
  Files        2097     2103       +6     
  Lines       92624    92880     +256     
  Branches     8250     8263      +13     
==========================================
+ Hits        55222    55330     +108     
- Misses      35447    35596     +149     
+ Partials     1955     1954       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant