← Back to Pull requests

test(email): autospec WarehouseTask instead of celery.Task #20989

Merged
Alc-Alc merged 1 files (5 lines) on Nov 13, 2026 16:21 UTC
View on GitHub
Alc-Alc Alc-Alc commented on Nov 13, 2026 10:50 UTC
Author

https://github.com/pypi/warehouse/pull/20987#pullrequestreview-5890169924

celery is complaining about its own priority, autospec reads Task.app, which binds the class and runs this check. Using WarehouseTask avoids the warning since it doesn't declare priority itself (check only looks at cls.__dict__ not inherited attributes).

Diff: 5 lines (+3 / -2) across 1 files Reviewer: miketheman Review duration: 330m
All Vouch review confidence checks passed
Residual risk 0.07 = Change Risk (0.14) × (1 − Review Confidence (0.48)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.14 · 5 lines diff across 1 files
0.14
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
0.00
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
48%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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
Shallow Review Depth shallow_review_depth
0.350
Diff Size diff_size
0.107
Real PR Conversation Timeline
2 items
miketheman miketheman approved these changes on Nov 13, 2026 11:21 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
Alc-Alc Alc-Alc
Labels
risk: low confidence: 48.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 13.7% (LOW) · Higher = larger blast radius
13.7%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 48.5% · Lower = rushed or shallow review
48.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 7.1% · Safe to merge
7.1%
Repository