github / vscode-codeql Public
main
Commits on Feb 23, 2022
-
Merge pull request #1163 from github/aeisenberg/remote-multi-analyses
Allow multiple analyses for same repo to be downloaded
-
Merge pull request #1162 from github/aeisenberg/remote-query-restart
Remember remote queries across restarts
-
Merge pull request #1155 from github/aeisenberg/remote-query-save
Add remote query items to history view
-
Commits on Feb 22, 2022
-
Allow multiple analyses for same repo to be downloaded
Removes the limitation specified in #1089 where analyses for the same repo and different queries will overwrite each other.
-
Remember remote queries across restarts
Remote query items will be stored in query history and will remain available across restarts. When the extension is restarted, any `InProgress` remote queries will be monitored until they complete. When clicked on, a remote query is opened and its results can be downloaded. The query text and the query file can be opened from the history menu. A remote query can be deleted as well, which will purge all results from global storage. Limitations: 1. Labels are not editable 2. Running multiple queries that each run on the same repository will have conflicting results and there will be errors when trying to view the results of the second query. This limitation is not new, but it is easier to hit now. See #1089. Both of these limitations will be addressed in future PRs.
-
-
Merge pull request #1158 from github/aeisenberg/open-query-logger
Open query server logger for query errors
-
Merge pull request #1143 from github/aeisenberg/refactor-query-histor…
…y-info Refactor query history to handle remote and local
-
-
Merge pull request #1157 from github/aeisenerg/empty-additional-packs
Ensure `--addtional-packs` arg not used for empty workspace
-
-
-
-
-
Commits on Feb 21, 2022
Commits on Feb 18, 2022
-
Open query server logger for query errors
Because errors when running queries tend to have better explanations in the query server log instead of the extension log, by default open the query server log for query errors.
-
Commits on Feb 17, 2022
-
Merge branch 'aeisenberg/refactor-query-history-info' into aeisenberg…
…/remote-query-save
-
-
Merge pull request #1142 from github/aeisenberg/remote-queries-history
Store remote query artifacts in global storage
-
Merge pull request #1150 from github/aeisenberg/clear-cache
Fix race condition where packs with no name errored during remote query
-
Merge pull request #1149 from github/aeisenberg/avoid-redownload
Avoid re-downloading analyses
-
Add remote query items to history view
This is another incremental step on the way to saving history. This commit adds remote items to the history view. It adds in progress and completed icons. Users can explicitly remove items. Here is what is _not_ working: 1. Any other query history commands like open results or open query. 2. Seeing items after a restart.
Commits on Feb 16, 2022
-
Use
QueryHistoryInfoinstead ofLocalQueryInfoAlso, rename RemoteQueryInfo -> RemoteQueryHistoryItem
-
Fix race condition where packs with no name errored during remote query
Uses the internal `clear-cache` CLI server command.
-
Merge branch 'aeisenberg/remote-queries-history' into aeisenberg/refa…
…ctor-query-history-info
-
Avoids re-downloading analyses when downloading all analyses.
-
Avoid artifactStorageDir and use queryId to build storage paths
This is still an intermediate step as we start to bring in more abstractions. I plan to implement a storage handler that will keep track of all the different bits for a remote query.
-
Merge pull request #1140 from github/aeisenberg/contextual-storage
Store query results for contextual queries elsewhere
-
-
Ensure proper paths are used for retrieving artifacts
This change builds on the previous change to ensure that sarif results can be displayed properly. Here is what it does: - Move prepareDownloadDirectory to the RemoteQueryManager - Store the queryResult to disk - Use the `artifactStorageDir` as the location where artifacts are kept - Add `artifactStorageDir` to DownloadLink - Ensure the webview passes around the right links.
Commits on Feb 15, 2022
-
Store query results for contextual queries elsewhere
We want them to be deleted when the application exits. We don't want them to be stored with user queries.
-
Refactor query history to handle remote and local
This is a step on the way towards storing remote query history across restarts. This PR adds a `QueryHistoryInfo` type that is a union of two types: `LocalQueryInfo` and `RemoteQueryInfo`. `LocalQueryInfo` used to be called `FullQueryInfo` and `RemoteQueryInfo` is only a skeleton right now. The body will be added later. This PR only introduces it and changes types to make future PRs simpler. Also, `slurp` and `splat` have been moved to the `query-serialization.ts` module.