Skip to content

Conversation

@emjay0921
Copy link
Contributor

@emjay0921 emjay0921 commented Nov 6, 2025

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
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

❌ Patch coverage is 98.23789% with 4 lines in your changes missing coverage. Please review.
✅ 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 ⚠️
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     

☔ 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.

@emjay0921 emjay0921 force-pushed the queue-job-improvements branch from 0f8ae05 to 746b3ff Compare November 18, 2025 02:34
@emjay0921 emjay0921 changed the title [IMP] queue jobs to store res_id and res_model [IMP] queue jobs visibility on records using the queue Nov 18, 2025
@sonarqubecloud
Copy link

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.

2 participants