← Back to Pull requests

Add project ceph-pr-crimson-qa #2749

Open
unknown opened this pull request with 268 lines diff across 3 files
View on GitHub
unknown unknown commented on Oct 22, 2026 12:02 UTC
Author

ceph-pr-crimson-qa — new build folder

Three files created under [ceph-pr-crimson-qa/](ceph-pr-crimson-qa):

[config/definitions/ceph-pr-crimson-qa.yml](ceph-pr-crimson-qa/config/definitions/ceph-pr-crimson-qa.yml)

JJB pipeline job definition. Key design decisions mirroring the existing jobs:

  • pipeline-scm pulls the Jenkinsfile from ceph-build (same pattern as ceph-pr-pipeline, teuthology-nightly-cadence)

  • generic-webhook-trigger with token ceph-pr-crimson-qa — listens for issue_comment created events that match the regex jenkins\s+test\s+crimson-qa. This reuses the same webhook infrastructure as ceph-pr-pipeline-trigger (just add the new token to the repo webhook, or add a second webhook pointing at the new token URL)

  • Parameters expose ghprbPullId, TEUTHOLOGY_RUNNER_JOB_NAME, SUITE_MACHINE_TYPE, and CEPH_BUILD_BRANCH for manual overrides

  • Requires one new credential: pr-crimson-qa-trigger-token (the GWT shared secret)
  • [build/Jenkinsfile](ceph-pr-crimson-qa/build/Jenkinsfile)

    Pipeline stages:

    | Stage | What it does |
    |-------|-------------|
    | Resolve PR | GitHub API → head SHA + target branch; aborts if PR is closed |
    | Authorize | Checks write/admin collaborator permission (same bar as ceph-pr-pipeline-trigger); falls back to org membership with a warning |
    | Post pending status | Writes crimson-qa commit status = pending on the PR head SHA |
    | Trigger teuthology-runner | Builds the shared teuthology-runner job with SKIP_SHAMAN_WAIT=true, CEPH_SHA1 = PR head, SUITE_RUNS_JSON = [{"suite":"crimson-rados","priority":"101","forcePriority":true}] |
    | post{} | Posts success or failure commit status based on outcome |

    SKIP_SHAMAN_WAIT=true is the key difference from the nightly cadence path — the PR branch build isn't in Shaman, so the wait is meaningless. The target branch is still forwarded so teuthology-suite can pick the right suite YAML version.

    [README.rst](ceph-pr-crimson-qa/README.rst)

    Covers trigger phrase, authorization model, webhook setup, all parameters, and the two credentials required.

    Diff: 268 lines (+201 / -67) across 3 files Reviewer: knrt10 Review duration: 59492m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.46) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 268 lines diff across 3 files
    0.46
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    44%
    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.344
    Diff Size diff_size
    0.335
    Real PR Conversation Timeline
    1 comments
    "Review active on #2749"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.7% 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: 46.4% (MEDIUM) · Higher = larger blast radius
    46.4%
    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: 44.7% · Lower = rushed or shallow review
    44.7%
    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: 25.7% · Safe to merge
    25.7%