← Back to Pull requests

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

Merged
Alc-Alc merged 1 files (5 lines) on Nov 17, 2026 14:23 UTC
View on GitHub
Alc-Alc Alc-Alc commented on Nov 17, 2026 04:54 UTC
Author

  • Same change as #20989 (targeting main instead of the Dependabot branch)
  • Addresses this part of https://github.com/pypi/warehouse/pull/20987#issuecomment-6925494012

    If you wanted to ship the subclassing as a separate PR to main, that might be good too.

    The functional test will come as a separate PR, since its design ~~will~~ may need discussion and shouldn't hold this one up.

    Diff: 5 lines (+3 / -2) across 1 files Reviewer: miketheman Review duration: 568m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.14) × (1 − Review Confidence (0.68)). 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.35 · 1 substantive comment(s)
    0.35
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    67%
    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
    Diff Size diff_size
    0.107
    Real PR Conversation Timeline
    2 items
    miketheman miketheman approved these changes on Nov 17, 2026 14:19 UTC
    Approved Reviewer

    Thanks!

    Reviewers
    Assignees
    Alc-Alc Alc-Alc
    Labels
    risk: low confidence: 67.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: 67.5% · Lower = rushed or shallow review
    67.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: 4.5% · Safe to merge
    4.5%
    Repository