feat(telemetry): MVP support for opt-in telemetry of runner crashes#2126
Open
AndreiCravtov wants to merge 20 commits into
Open
feat(telemetry): MVP support for opt-in telemetry of runner crashes#2126AndreiCravtov wants to merge 20 commits into
AndreiCravtov wants to merge 20 commits into
Conversation
Evanev7
reviewed
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Runner crashes currently leave useful diagnostics only on the local machine. This adds an opt-in path for collecting raw runner stderr logs so crash reports can be inspected centrally without making telemetry part of the critical execution path.
Changes
--telemetry, disabled by default.EXO_TELEMETRY_API_URL, defaulting tohttps://telemetry.exolabs.net/.TelemetryServiceandTelemetrySinkfor bounded, non-blocking telemetry submission.NodethroughWorkerintoRunnerSupervisor.runner_log/<instance_id>/<runner_id>/<utc_timestamp>.stderr.logWhy It Works
Telemetry is isolated behind a bounded channel and best-effort background service, so failures, slow uploads, or backpressure do not block runner supervision or node operation.
Runner stderr files are written per bound instance/runner with UTC timestamped names, avoiding the previous shared append-only log path. Hashing the final file contents before upload gives the backend a stable object identity and lets it verify that uploaded contents match the requested submission.
Test Plan
Manual Testing
--telemetryagainst the telemetry API.Automated Testing