-
Notifications
You must be signed in to change notification settings - Fork 52
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
Amazon Q Code Transformation maven telemetry changes #681
base: main
Are you sure you want to change the base?
Changes from 15 commits
d36a467
e6197ca
66ae21f
088e482
a16a54d
c24e11a
a43ecff
76c203a
56a25fe
60775f7
7d84246
7d5ffe9
a75afa0
ddd32ed
673d90c
39ffb9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1078,14 +1078,24 @@ | |
] | ||
}, | ||
{ | ||
"name": "codeTransformMavenBuildCommand", | ||
"name": "codeTransformCommandExecutables", | ||
"type": "string", | ||
"description": "Type of maven command", | ||
"allowedValues": [ | ||
"mvn", | ||
"mvnw", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potentially add |
||
"IDEBundledMaven" | ||
] | ||
}, | ||
{ | ||
"name": "codeTransformCommandNames", | ||
"type": "string", | ||
"description": "Type of maven, gradle and other command line arguments run in the IDE", | ||
"allowedValues": [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do agree that we need something like this for the shell commands There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lets exhaust all the options we want in here offline. |
||
"MavenInstall", | ||
"MavenCopy", | ||
"JavaP" | ||
] | ||
} | ||
], | ||
"metrics": [ | ||
|
@@ -3556,6 +3566,14 @@ | |
"type": "codeTransformSessionId", | ||
"required": true | ||
}, | ||
{ | ||
"type": "codeTransformRuntimeError", | ||
"required": true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Noted: should make sure this is updated to false during merge/rebase |
||
}, | ||
{ | ||
"type": "codeTransformCommandNames", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need this field here? I don't think it applies to this metric, besides for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My thought: There are sub groups within the preValidationError. For example 'NoJavaProject' can have two different paths to trigger in VSCode right? |
||
"required": true | ||
}, | ||
{ "type": "result", "required": true }, | ||
{ "type": "reason", "required": true } | ||
] | ||
|
@@ -3904,12 +3922,20 @@ | |
"required": true | ||
}, | ||
{ | ||
"type": "codeTransformMavenBuildCommand", | ||
"type": "codeTransformCommandExecutables", | ||
"required": true | ||
}, | ||
{ | ||
"type": "codeTransformRuntimeError", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We already put the failure reason under There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My thoughts: We will use the |
||
"required": true | ||
}, | ||
{ | ||
"type": "reason", | ||
"required": false | ||
"required": true | ||
}, | ||
{ | ||
"type": "result", | ||
"required": true | ||
} | ||
] | ||
} | ||
|
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.
Maybe rename to
codeTransformBuildToolExecutable
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.
I'm trying to get a more generic name as we might not only add build commands here. Could be other setup commands for other build tools and looking ahead other programs.