openspp-modules
openspp-modules copied to clipboard
[IMP] queue jobs visibility on records using the queue
Why is this change needed?
To be able to show Jobs for specific record as a list
How was the change implemented?
Added res_id and res_model to queue.job
New unit tests
Unit tests executed by the author
How to test manually
- Can't be tested for now as this PR will be needed for improvements on models or functions that are creating Queue Jobs
Related links
Codecov Report
:x: Patch coverage is 98.23789% with 4 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 81.34%. Comparing base (9bc1eed) to head (ace528c).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| spp_base_common/models/base.py | 71.42% | 3 Missing and 1 partial :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## 17.0 #863 +/- ##
==========================================
+ Coverage 81.22% 81.34% +0.12%
==========================================
Files 818 822 +4
Lines 24956 25182 +226
Branches 2917 2925 +8
==========================================
+ Hits 20270 20485 +215
- Misses 3953 3962 +9
- Partials 733 735 +2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Quality Gate passed
Issues
3 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code