-
Notifications
You must be signed in to change notification settings - Fork 202
Add "View Autofixes" feature for variant analysis results #4065
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
Merged
Merged
Changes from 23 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
8dfcf8b
Add 'View Autofixes' button to variant analysis view
1103437
Add 'View Autofixes' query history command for variant analysis items
5f5a20f
Add 'view-autofixes.ts' file for main implementation
fb39455
Check for local autofix
27bdc31
Override query help
9a8bd79
Get full names (owner/repo) of the selected repositories
66d9526
Get storage paths for autofix output
9c4d7a7
Add function to process the selected repositories
2afd2ee
Get SARIF for variant analysis repo
2bcf42e
Read 'repo_task.json' file
b0b8b62
Download source root
05c398f
Add function for running autofix on a given repo
4d5437f
Get storage paths for repository-specific autofix output
5dfaf3f
Set up to run autofix on repo results
03585af
Add function for setting variable autofix args
19400a9
Add function for executing autofix
3c7d9ca
Add function for running autofix on a given SARIF
74e8277
Run autofix for case when the repo result count does not exceed the f…
e7076f9
Add function that appends a suffix to a given file path
e04eb62
Run autofix for case when the repo result count exceeds the fix limit
2c12d71
Add markdown formatting to autofix output
6b47932
Combine and output final autofix results
3ff5d64
Add canary
4e089e7
Remove config listener for canary setting
04a858a
canary: use separate message for the user settings for the variant an…
7d3e403
Remove progress updates that don't display
161c5de
Fix missing await
e23699f
Use parse.dir instead of dirname
22d6429
Remove createVarAutofixArgs function
3030f6c
Update 'autofix not found' error message
jcogs33 ab5ef91
Fix prettier formatting
1d203a4
Use VariantAnalysisManager and VariantAnalysisResultsManager for stor…
561cbc4
Add config settings for 'codeQL.autofix.path' and 'codeQL.autofix.model'
bbc7413
Remove args check in 'execAutofix'
d887ca5
Use 'getErrorMessage' and remove uses of 'console.error'
41a3612
Switch fs/promises imports to fs-extra
b7f84fc
Replace three backticks in file content
492b805
Use 'extLogger' instead of 'NotificationLogger'
21a466a
Update doc
561cd6c
downloadPublicCommitSource: use 'fetch' API and 'tmp-promise'
8ed9e6a
Log autofix stdout/stderr to the extension logs
cb4bfbc
Fix path to extracted source root directory
6333c9e
Remove checkoutDir if source root download fails
0e6aa81
Remove unneeded 'progressCallback' undefined conditional
2c04019
Simplify source root downloading with 'pipe'
7f9d7ae
Call 'cliServer.resolveMetadata' instead of 'tryGetQueryMetadata'
4e76a0d
showWarningMessage when number of repos is limited
bf6d8e7
Add names of config settings to error messages
1f5cc90
Fix timeout error caused by oversimplification of 'onData'
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.