← Back to Pull requests

Convert the remaining GHPRB jobs to generic-webhook-trigger #2779

Closed
unknown closed this pull request without merging on Nov 23, 2026 15:57 UTC
View on GitHub
unknown unknown commented on Nov 18, 2026 15:20 UTC
Author

The GitHub Pull Request Builder plugin is disabled since the Jenkins upgrade, so every job it triggered has been dead since 2026-11-13 (ceph#73968, ceph#73144). #2766 covers ceph-volume and the perf jobs; this converts the rest to generic-webhook-trigger.

| Job | Last successful run | Disposition | Changes |
|---|---|---|---|
| ceph-dashboard-pull-requests | #27080, 2026-11-11 | converted; fires from the existing ceph/ceph webhook | label dashboard or jenkins test dashboard; inline shell moved to build/build and build/e2e|
| ceph-dashboard-cephadm-e2e | #26919, 2026-11-06 | same | labels cephadm/dashboard or jenkins test dashboard cephadm; inline shell moved to build/build|
| ceph-orchestrator-rook-e2e | #2879, 2026-11-07 | same | labels orchestrator/rook or jenkins test rook e2e; inline shell moved to build/build|
| cephadm-ansible-prs-{flake8,mypy,unittests} | #65/#64/#65, 2026-11-12 | converted; needs credential cephadm-ansible-pr-trigger-token and a webhook on ceph/cephadm-ansible | open/push or jenkins test <scenario>\|all; docs-only check moved to build/pre |
| cephadm-ansible-prs-{el9,el10}-functional | #82 2026-11-17, #29 2026-11-12 | same | open/push or jenkins test <distro>-<scenario>\|all |
| ceph-website-prs | #2166, 2026-11-12 | converted; needs ceph-io-pr-trigger-token and a webhook on ceph/ceph.io | open/push or jenkins (re)test; site-URL comment moved to build/build |
| ceph-build-pull-requests | #3577, 2026-11-12 | converted; needs ceph-build-pr-trigger-token and a webhook on ceph/ceph-build | open/push or a comment containing retest |
| ceph-cbt-lint, ceph-pr-docs, ceph-qa-suite-pull-requests, merfi-pull-requests, radosgw-agent-pull-requests | no builds on record | moved to attic; delete the jobs by hand after merge | |

All jobs share a new scripts/github_pr_webhook.sh preamble: it resolves the PR from the pull_request or issue_comment payload (or the manual ghprbPullId), requires the author or commenter to have write access or the PR to carry ci-approved, exports the ghprb* variables, and posts the commit status from an EXIT trap. A GitHub API error fails the build instead of being read as a denial, and the status goes to the commit that was checked out (the merge ref's second parent), not the PR head at the time of the API call. Status contexts and trigger phrases are unchanged. The jobs accept only the secret credential token, not the guessable job-name token the older webhook jobs also take. Not carried over: cancel-builds-on-update, the jenkins do not test/[skip ci] phrases, and the EOL target-branch blacklists.

Webhook URL for the three new repositories: https://jenkins.ceph.com/generic-webhook-trigger/invoke?token=<credential value>, events pull_request and issue_comment. The ghprbhook and 2.jenkins webhooks on those repositories can go.

Verified: jenkins-jobs test renders all jobs. In a preserve copy of the dashboard job against ceph#73734 with STATUS_PREFIX=test/: a non-collaborator is refused with no status; adding the dashboard label fired the job through the real ceph/ceph webhook, posted pending, and completed success after the docs-only check. A manual run on ceph#73144 reached run-make and posted the failure status; it failed exactly like production #27110 (spdk/dpdk needs meson, missing on the noble hosts labelled jammy), which is a builder problem, not this change. The API-error and tested-commit handling was rerun on ceph#73734 (allowed and denied builds from a depth-1 clone) and against stubbed 401/403/500/no-response replies.

Diff: 448 lines (+336 / -112) across 5 files Reviewer: afreen23 Review duration: 7237m
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 448 lines diff across 5 files
0.45
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
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.365
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2779"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.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: 45.4% (MEDIUM) · Higher = larger blast radius
45.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: 60.5% · Lower = rushed or shallow review
60.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: 17.9% · Safe to merge
17.9%