← Back to Pull requests

ci: split mocked and GPU vLLM coverage #22010

Open
unknown opened this pull request with 195 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 23, 2026 09:59 UTC
Author

Description

Run a lightweight vLLM test suite on every PR without installing vLLM or requiring a GPU. It exercises trace-context propagation and completion and embedding payloads with fake engine data, plus the existing prompt parsing and shadow-tag checks.

Keep the seven real vLLM environments on two GPU jobs for main, nightly builds, and PRs that change the vLLM integration, GPU tests, or snapshots. Use the PR file list to select the GPU suite, so broad test-harness and LLMObs changes still get the CPU tests. Explicit full runs and ci:llmobs::vllm can request GPU coverage.

Testing

Checked Python syntax and generated the job configurations locally for unrelated PRs, vLLM-related PRs, main, nightly builds, and explicit runs. Verified the CPU job uses the regular runner and the original seven GPU environments and timeout remain in place. Local dependency downloads returned HTTP 403 and prevented running the repository lint and pytest commands. The CPU lock uses the existing Python 3.12 pins for the same dependency set.

Risks

Mocked tests cover the tracing and payload behavior without a CUDA runtime. Changes to shared code receive real vLLM coverage on main, and CI runs the GPU suite if PR file detection fails.

Additional Notes

No release note is needed for this test and CI scheduling change. Related to APMLP-1998.

[APMLP-1998]: https://datadoghq.atlassian.net/browse/APMLP-1998?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Diff: 195 lines (+146 / -49) across 2 files Reviewer: wconti27 Review duration: 11348m
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.41) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 195 lines diff across 2 files
0.41
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%
46%
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.316
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #22010"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 46.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: 41% (MEDIUM) · Higher = larger blast radius
41%
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: 46.7% · Lower = rushed or shallow review
46.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: 21.9% · Safe to merge
21.9%