Skip to content

[bug] Concurrency fix for scheduled tasks - #12493

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:scheduled-task-fix
Jul 28, 2026
Merged

[bug] Concurrency fix for scheduled tasks#12493
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:scheduled-task-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • Prevent multiple instances of scheduled tasks from plugins

- Prevent multiple instances of scheduled tasks from plugins
@SchrodingersGat SchrodingersGat added this to the 1.5.0 milestone Jul 28, 2026
@SchrodingersGat SchrodingersGat added the bug Identifies a bug which needs to be addressed label Jul 28, 2026
@SchrodingersGat
SchrodingersGat requested a review from matmair as a code owner July 28, 2026 13:46
@SchrodingersGat SchrodingersGat added plugin Plugin ecosystem backport Apply this label to a PR to enable auto-backport action backport-to-1.4.x labels Jul 28, 2026
@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit cad3624
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a68b2bcea57cc00087728ec
😎 Deploy Preview https://deploy-preview-12493--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97 (no change from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.75%. Comparing base (1cee1bd) to head (cad3624).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12493      +/-   ##
==========================================
- Coverage   86.76%   86.75%   -0.01%     
==========================================
  Files        1444     1444              
  Lines       96064    96113      +49     
  Branches    11213    11213              
==========================================
+ Hits        83346    83385      +39     
- Misses      12654    12664      +10     
  Partials       64       64              
Flag Coverage Δ
backend 90.76% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.17% <100.00%> (+<0.01%) ⬆️
Backend General 93.53% <ø> (ø)
Frontend 79.70% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 6dda125 into inventree:master Jul 28, 2026
46 checks passed
@SchrodingersGat
SchrodingersGat deleted the scheduled-task-fix branch July 28, 2026 14:22
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
1.4.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Jul 29, 2026
* Concurrency fix for scheduled tasks (#12493)

- Prevent multiple instances of scheduled tasks from plugins

(cherry picked from commit 6dda125)

* Delete src/backend/_tests_report_129455.txt

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action backport-to-1.4.x bug Identifies a bug which needs to be addressed plugin Plugin ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant