Add CommonFromViewMessages to FromModelEditorMessage#2940
Merged
robertbrignull merged 5 commits intomainfrom Oct 10, 2023
Merged
Add CommonFromViewMessages to FromModelEditorMessage#2940robertbrignull merged 5 commits intomainfrom
robertbrignull merged 5 commits intomainfrom
Conversation
408f1d8 to
edf3cad
Compare
koesie10
reviewed
Oct 10, 2023
Member
koesie10
left a comment
There was a problem hiding this comment.
Thanks for catching this! Do you know why there was no unhandled error for receiving telemetry?
Contributor
Author
As far as I can tell, there isn't any telemetry sent directly from the model editor view. Instead we're emitting the telemetry from the host, such as when handling the I discovered this because of hitting an unhandled error in the view. |
koesie10
approved these changes
Oct 10, 2023
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.
Not sure how we didn't notice this until now but it seems the
FromModelEditorMessagetype doesn't includeCommonFromViewMessages. This means it doesn't include messages for telemetry or errors.However the view could still send those messages, and they would trigger the
assertNeverand cause an error. Probably every bit of telemetry was triggering this, but we didn't notice.Checklist
ready-for-doc-reviewlabel there.