drop: [rhoai-3.5] Fix empty `spans.type` for OTLP-ingested spans #915
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 248 lines diff across 3 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.330
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #915"
general
weight: 0.35
jonburdo
Summary
Backport https://github.com/mlflow/mlflow/pull/28344 to
rhoai-3.5.OTLP spans whose type is derived from attributes such as
gen_ai.operation.name=execute_toolcan be visible in individual traces but missing from the Tool calls dashboard becausespans.typeis empty. Populate that column from the translated attributes, retaining the original-type andUNKNOWNfallbacks.Cherry-picked upstream commit
2a94f49e46455690835c46a54779416431b32024, preserving DEEPIKA-217M's co-authorship. Resolved branch-specific import and test-placement conflicts while retaining this branch's existing serialization behavior. Includes the upstream storage and metrics regression tests. Existing rows are not backfilled.Upstream / Downstream Impact
opendatahub-io/mlflowmlflow/mlflowMerged upstream: https://github.com/mlflow/mlflow/pull/28344
Original issue: https://github.com/mlflow/mlflow/issues/24237
Testing
22 focused tests passed on this branch, covering both workspace-disabled and workspace-enabled modes. All applicable pre-commit checks passed for the three changed files.
The regression tests cover raw OTLP span type translation, explicit type preservation, missing/empty type fallbacks, and metrics queries that count translated tool spans while excluding model spans.