[20.0][MIG] test_queue_job: Migration to 20.0 #1021
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.96) × (1 − Review Confidence (0.80)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.96 · 1330 lines diff across 63 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.71 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.400
Sensitive Paths
sensitive_paths
0.096
Mass File Touch
mass_file_touch
0.080
Real PR Conversation Timeline
5 items
@dhongu https://github.com/OCA/queue/pull/999 is merged, can you rebase please?
"version": "20.0.1.0.0",
Please rebase.
ping @dhongu
StefanRijnhart
dhongu
Migration of
test_queue_jobto Odoo 20.0.Depends on #999: this branch is stacked on
queue_job(#999), so the first commits of this PR are the ones of #999. Only the last commits are specific totest_queue_job:git format-patch origin/20.0..origin/19.0 -- test_queue_job | git am -3 --keep)[IMP] test_queue_job: pre-commit auto fixes[MIG] test_queue_job: Migration to 20.0Main changes:
ir.model.access→ir.accesstest_company_simple/test_company_complex: since 20.0,with_company()leaves the context unchanged for the current company, and keeps the other allowed companies after the given one# ruff: noqa(DTZ001/DTZ005, C408) instead of rewriting the tests, to keep the diff with 19.0 minimal for forward/backward portsTested locally on Odoo 20.0 with PostgreSQL 16:
test_queue_jobinstalls and all 197 tests ofqueue_job+test_queue_jobpass, with no warning.pre-commit run -ais clean.Assisted-by: Claude Opus 5.5