Skip to content

Avoid sending invalid location errors to telemetry#3682

Merged
vinistock merged 1 commit intomainfrom
07-22-avoid_sending_invalid_location_errors_to_telemetry
Jul 23, 2025
Merged

Avoid sending invalid location errors to telemetry#3682
vinistock merged 1 commit intomainfrom
07-22-avoid_sending_invalid_location_errors_to_telemetry

Conversation

@vinistock
Copy link
Member

@vinistock vinistock commented Jul 22, 2025

Motivation

With the changes to position scanners being released for a while, we received no reports that indicate corrupted documents, but we do see the server receiving requests for invalid positions on occasion. This has no actual impact on features because if the document state changed, the editor will request for the features again and successfully get a response the second time.

I think it's safe to ignore these errors from telemetry.

Implementation

Added the invalid location error to our special case that doesn't include the data attribute, which makes the error be ignored by telemetry.

Automated Tests

Added a test.

Copy link
Member Author


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.

@vinistock vinistock requested a review from egiurleo July 22, 2025 17:06
@vinistock vinistock self-assigned this Jul 22, 2025
@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Jul 22, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review July 22, 2025 17:07
@vinistock vinistock requested a review from a team as a code owner July 22, 2025 17:07
@vinistock vinistock requested review from alexcrocha and st0012 July 23, 2025 13:20
@vinistock vinistock merged commit be9cea2 into main Jul 23, 2025
68 of 70 checks passed
@vinistock vinistock deleted the 07-22-avoid_sending_invalid_location_errors_to_telemetry branch July 23, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants