Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,17 @@
"local"
]
},
{
"name": "codeFixAction",
"type": "string",
"description": "Captures the type of fix that was accepted",
"allowedValues": [
"openDiff",
"insertAtCursor",
"copyDiff",
"quickFix"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand correctly, we will use codewhisperer_codeScanIssueApplyFix for both applying the fix and actions before applying the fix, is that right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

]
},
{
"name": "codeScanServiceInvocationsDuration",
"type": "int",
Expand Down Expand Up @@ -4352,6 +4363,9 @@
"name": "codewhisperer_codeScanIssueApplyFix",
"description": "Called when a code scan issue suggested fix is applied",
"metadata": [
{
"type": "codeFixAction"
},
{
"type": "component"
},
Expand Down