Skip to content

Syncing from upstream OCA/queue (16.0)#545

Merged
bt-admin merged 12 commits intobrain-tec:16.0from
OCA:16.0
Apr 10, 2026
Merged

Syncing from upstream OCA/queue (16.0)#545
bt-admin merged 12 commits intobrain-tec:16.0from
OCA:16.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

guewen and others added 12 commits March 17, 2026 16:25
It is forbidden to commit inside a job, because it releases the job lock
and can cause it to start again, while still being run, by the dead jobs
requeuer. For some use cases, it may actually be legitimate, or at least
be needed in the short term before actual updates in the code.

A new option on the job function, false by default, allow to run the job
in a new transaction, at the cost of an additional connection +
transaction overhead.

Related to #889
False on new databases, True on existing databases.
Should always be False by default on future versions.
As the controller changes env on Job instances.
Signed-off-by guewen
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: queue-16.0/queue-16.0-queue_job
Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-queue_job/
@bt-admin bt-admin added the 16.0 label Apr 10, 2026
@bt-admin bt-admin merged commit 0c4ed57 into brain-tec:16.0 Apr 10, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

❌ Patch coverage is 54.16667% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.99%. Comparing base (ced1d77) to head (4b240db).
⚠️ Report is 103 commits behind head on 16.0.

Files with missing lines Patch % Lines
queue_job/controllers/main.py 16.66% 9 Missing and 1 partial ⚠️
queue_job/job.py 62.50% 8 Missing and 1 partial ⚠️
queue_job/models/queue_job.py 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             16.0     #545      +/-   ##
==========================================
+ Coverage   85.64%   85.99%   +0.35%     
==========================================
  Files          88       88              
  Lines        4813     4842      +29     
  Branches      415      419       +4     
==========================================
+ Hits         4122     4164      +42     
+ Misses        603      585      -18     
- Partials       88       93       +5     

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

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants