-
Notifications
You must be signed in to change notification settings - Fork 6
Dehru and JG telemetry - Send GDPR clean data to telemetry when errors/unsupported syntax present #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| telemetry.errors = query.errors.map( | ||
| (err) => `${err.type}:${err.grammarRule}` | ||
| ); | ||
| telemetry.unsupported = query.unsupported.map((unsup) => unsup.reason); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this uses jon's new reason attribute of unsupported array.
| * This method collects all the unmodelled syntax it finds into a collection and returns it. | ||
| * @param model | ||
| * @param collector | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jgellin-sf - I used your self-referential function as a model for this. However, i'm keeping both since yours has a fast "return" while this one continues to gather all the nodes.
jgellin-sf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
|
QA complete. |
* model WHERE clause (#68) * Remote SOQL Errors - Language Server Part (#93) * remove code builder (#92) * Move from antlr4JS to antlr4TS (#96) * SOQL code completion for SELECT fields (#99) * publish language server 0.2.9 (#102) * Fix LSP dependency (#104) * Disabled 'Running...' button while query running (#106) * Add basic code-completion for ORDER BY and other improvements (#107) * Dehru and JG telemetry - Send GDPR clean data to telemetry when errors/unsupported syntax present (#110) * Disable WHERE in model (#113) * Bump versions for publishing (#114) * Code-completion for WHERE clause expressions (#112) Co-authored-by: Jonathan Gellin <jgellin@salesforce.com> Co-authored-by: jgellin-sf <55159130+jgellin-sf@users.noreply.github.com> Co-authored-by: Chase McCarthy <charles.mccarthy@heroku.com> Co-authored-by: Jonny Hork <jhork@salesforce.com> Co-authored-by: Fernando Dobladez <fernandodobladez@salesforce.com> Co-authored-by: Jonathan Gellin <jgellin@salesforce.com>
What does this PR do?
This PR is a combination of JG's PR 103 and my PR 100. Those PRs have been closed and combined into this PR.
The effort to remove any GDPR protected data from telemetry, and then posting telemetry data about errors and unsupported syntax so we can better understand where we aren't meeting our customer's needs.
What issues does this PR fix or reference?
@W-8547957@, @W-8086238@