[History Server] Poll Serve, placement group, and Ray Data endpoints by default #5093
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 329 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.347
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5093"
general
weight: 0.35
Future-Outlier
Why are these changes needed?
The History Server rebuilds the UI from Ray events, but Serve applications, placement groups, and Ray Data datasets are not in the event stream yet. The head collector now polls these endpoints by default so replayed clusters show them:
/api/serve/applications//api/v0/placement_groups?detail=1&limit=10000/api/data/datasets/{job_id}(per job discovered via/api/jobs/)You can set the interval with
RAY_COLLECTOR_POLL_INTERVALif you want (default 30s).RAY_COLLECTOR_ADDITIONAL_ENDPOINTSstill adds more endpoints on top. Ray Train can follow once its frontend schema is settled.Screenshots
Dead clusters replayed through the History Server, each endpoint with and without data.
Serve applications:
!serve applications with data
Serve applications, cluster that never ran Serve:
!serve applications empty
Ray Data datasets from an illustrative larger manual workload with Prometheus (separate from the small E2E fixture), with a row expanded into its operators:
!ray data datasets
Placement groups; this job used no Ray Data, so no
Ray Data Overviewsection:!placement groups with data
Placement groups, job that created none:
!placement groups empty
Related issue number
Labels
doc-updates-requiredlabel.breaking-changelabel.Checks
- [x] Unit tests
- [x] Manual tests
Manual test instructions
cd historyserver && make test.cd historyserver && go test -count=1 ./test/e2e/ -run 'TestCollector$'— 8/8 passing.0without a Prometheus server (on live clusters too); the screenshot was taken with one installed.