Skip to content

Suppress version manager environment errors from extension telemetry#4003

Merged
alexcrocha merged 1 commit intomainfrom
03-09-suppress_version_manager_environment_errors_from_extension_telemetry
Mar 11, 2026
Merged

Suppress version manager environment errors from extension telemetry#4003
alexcrocha merged 1 commit intomainfrom
03-09-suppress_version_manager_environment_errors_from_extension_telemetry

Conversation

@alexcrocha
Copy link
Contributor

@alexcrocha alexcrocha commented Mar 9, 2026

Version manager activation errors (missing executables, misconfigured paths, absent .ruby-version files) are usually user environment issues. They are still surfaced to the user for troubleshooting, but reporting them to telemetry is noise since there is nothing actionable on the Ruby LSP side.

Copy link
Contributor Author

alexcrocha commented Mar 9, 2026


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@alexcrocha alexcrocha force-pushed the 03-09-suppress_version_manager_environment_errors_from_extension_telemetry branch from 942b70d to 9b7913d Compare March 9, 2026 21:01
@alexcrocha alexcrocha added the chore Chore task label Mar 9, 2026
@alexcrocha alexcrocha marked this pull request as ready for review March 9, 2026 21:02
@alexcrocha alexcrocha requested a review from a team as a code owner March 9, 2026 21:02
Base automatically changed from 03-06-suppress_missing_ruby_version_errors_from_extension_telemetry to main March 9, 2026 21:28
To avoid telemetry noise from user environment issues we convert all
version manager throw sites to NonReportableError. These are cases where
the tool is missing, misconfigured, or the workspace lacks expected
files — none of which indicate Ruby LSP bugs.

Covers: shadowenv, chruby, mise, rbenv, rvm, asdf, custom, and rv.
@alexcrocha alexcrocha force-pushed the 03-09-suppress_version_manager_environment_errors_from_extension_telemetry branch from 9b7913d to 8e61028 Compare March 9, 2026 21:29
@alexcrocha alexcrocha merged commit ad931b9 into main Mar 11, 2026
37 checks passed
@alexcrocha alexcrocha deleted the 03-09-suppress_version_manager_environment_errors_from_extension_telemetry branch March 11, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Chore task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants