Fix the recordsPrivateMetadataTranscript in case no private metadata is send to the telemetry. Earlier we were always sending 1 in this fields even if there was no private metadata. More context behind the fix on the slack thread.
Adds a filePath variable to the logging for only the dotComUsers and publicGitHubRepos, which indicates for which file the completion was triggered.
Adds a gitUrl variable for the dotComUsers repos. More context on the slack thread.
Test plan
Manual testing
Start the debugger from this branch. For any new autocomplete request, the telemetry response for the "cody.completion/suggested" will haverecordsPrivateMetadataTranscript: 1 only if the value is non-null.
The inlineCompletionItemContext field will have one additional variable filePath indicating the file for which the autocomplete was triggered.
Context
This PR make the following changes:
recordsPrivateMetadataTranscript
in case no private metadata is send to the telemetry. Earlier we were always sending1
in this fields even if there was no private metadata. More context behind the fix on the slack thread.filePath
variable to the logging for only thedotComUsers
andpublicGitHubRepos
, which indicates for which file the completion was triggered.gitUrl
variable for thedotComUsers
repos. More context on the slack thread.Test plan
Manual testing
recordsPrivateMetadataTranscript: 1
only if the value is non-null.inlineCompletionItemContext
field will have one additional variablefilePath
indicating the file for which the autocomplete was triggered.