Skip to content

Suppress missing Ruby version errors from extension telemetry#3996

Open
alexcrocha wants to merge 1 commit into03-06-filter_gemnotfound_and_giterror_setup_errors_from_telemetryfrom
03-06-suppress_missing_ruby_version_errors_from_extension_telemetry
Open

Suppress missing Ruby version errors from extension telemetry#3996
alexcrocha wants to merge 1 commit into03-06-filter_gemnotfound_and_giterror_setup_errors_from_telemetryfrom
03-06-suppress_missing_ruby_version_errors_from_extension_telemetry

Conversation

@alexcrocha
Copy link
Contributor

@alexcrocha alexcrocha commented Mar 6, 2026

Introduce NonReportableError base class that MissingRubyError and UntrustedWorkspaceError both extend. The telemetry check in ruby.ts now uses a single instanceof NonReportableError guard, making it extensible without modifying the check for each new error type.

Copy link
Contributor Author

alexcrocha commented Mar 6, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


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.

Introduce NonReportableError base class that MissingRubyError and
UntrustedWorkspaceError both extend. The telemetry check in ruby.ts
now uses a single instanceof NonReportableError guard, making it
extensible without modifying the check for each new error type.
@alexcrocha alexcrocha force-pushed the 03-06-suppress_missing_ruby_version_errors_from_extension_telemetry branch from 956f2ee to facc782 Compare March 6, 2026 22:44
@alexcrocha alexcrocha added the chore Chore task label Mar 6, 2026
@alexcrocha alexcrocha self-assigned this Mar 6, 2026
@alexcrocha alexcrocha marked this pull request as ready for review March 6, 2026 23:14
@alexcrocha alexcrocha requested a review from a team as a code owner March 6, 2026 23:14
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.

1 participant