Skip to content

Add dedicated workers, parallel execution and successful job retention#25742

Merged
EngincanV merged 5 commits into
devfrom
maliming/background-jobs-worker-enhancements
Jul 6, 2026
Merged

Add dedicated workers, parallel execution and successful job retention#25742
EngincanV merged 5 commits into
devfrom
maliming/background-jobs-worker-enhancements

Delete oldest completed jobs first in the in-memory background job store

9892971
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 6, 2026 in 1s

49.06% (+0.19%) compared to 7ecb148

View this Pull Request on Codecov

49.06% (+0.19%) compared to 7ecb148

Details

Codecov Report

❌ Patch coverage is 77.77778% with 132 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.06%. Comparing base (7ecb148) to head (9892971).
⚠️ Report is 67 commits behind head on dev.

Files with missing lines Patch % Lines
...obs/Volo/Abp/BackgroundJobs/BackgroundJobWorker.cs 54.59% 82 Missing and 2 partials ⚠️
...bp/BackgroundJobs/AbpBackgroundJobWorkerOptions.cs 75.40% 14 Missing and 1 partial ⚠️
...o/Abp/BackgroundJobs/BackgroundJobWorkerManager.cs 86.30% 9 Missing and 1 partial ⚠️
...main/Volo/Abp/BackgroundJobs/BackgroundJobStore.cs 30.76% 8 Missing and 1 partial ⚠️
...groundJobs/MongoDB/MongoBackgroundJobRepository.cs 89.18% 2 Missing and 2 partials ⚠️
...o/Abp/BackgroundJobs/BackgroundJobCleanupWorker.cs 90.00% 2 Missing and 1 partial ⚠️
...BackgroundJobs/BackgroundJobWorkerConfiguration.cs 72.72% 2 Missing and 1 partial ⚠️
...tityFrameworkCore/EfCoreBackgroundJobRepository.cs 90.90% 2 Missing and 1 partial ⚠️
...o/Abp/BackgroundJobs/InMemoryBackgroundJobStore.cs 95.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #25742      +/-   ##
==========================================
+ Coverage   48.86%   49.06%   +0.19%     
==========================================
  Files        3733     3738       +5     
  Lines      126277   126814     +537     
  Branches     9709     9750      +41     
==========================================
+ Hits        61707    62222     +515     
- Misses      62726    62743      +17     
- Partials     1844     1849       +5     

☔ View full report in Codecov by Harness.
📢 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.