[PAR] Export split executor traces and flush on shutdown #58767
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 464 lines diff across 5 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.367
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #58767"
general
weight: 0.35
dd-gplassard
What does this PR do?
Starts the existing installer telemetry sender in the split-mode Go executor and flushes completed spans during executor shutdown, after the action drain.
startTelemetry/stopTelemetryhelpers between monolithic and executor lifecycles, preserving their startup/shutdown ordering.private-action-runnerservice.Motivation
The shared action execution path already creates
action.runspans andrshelldescendants. In split mode,run-executordid not initialize a sender or flush one on shutdown. Completed spans accumulated in that process's buffer and were lost when it exited. A sender in the core Agent cannot drain the executor's process-local buffer.Describe how you validated your changes
Passed locally on macOS/arm64:
testing/synctestscheduling, and an in-memory HTTP transport that decodes the export payload. It checks no early flush during draining, final export before the first periodic tick, success/error flags, distinct span IDs, exact trace IDs, services, parent relationships, and no second export after repeated telemetry cleanup.git diff --checkpassed.Additional Notes
05e5951, not the shared-helper follow-up558fa1a. Host and backend logs confirm successful rshell tasks in both modes, and split executor on-demand startup and graceful idle exit. The operator reports traces visible in the UI; exact trace inspection for correlation/no-duplication remains pending.