You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/ql-vscode/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
- The "Install Pack Dependencies" will now only list CodeQL packs located in the workspace. [#2960](https://github.com/github/vscode-codeql/pull/2960)
7
7
- Fix a bug where the "View Query Log" action for a query history item was not working. [#2984](https://github.com/github/vscode-codeql/pull/2984)
8
8
- Add a command to sort items in the databases view by language. [#2993](https://github.com/github/vscode-codeql/pull/2993)
9
+
- Fix not being able to open the results directory or evaluator log for a cancelled local query run. [#2996](https://github.com/github/vscode-codeql/pull/2996)
@@ -761,37 +744,51 @@ export class QueryHistoryManager extends DisposableObject {
761
744
`Failed to open ${externalFilePath}: ${getErrorMessage(e)}`,
762
745
);
763
746
}
747
+
}else{
748
+
this.warnNoQueryDir();
764
749
}
765
750
}
766
751
767
-
privatewarnNoEvalLogs(){
752
+
privatewarnNoQueryDir(){
768
753
voidshowAndLogWarningMessage(
769
754
this.app.logger,
770
-
`Evaluator log, summary, and viewer are not available for this run. Perhaps it failed before evaluation?`,
755
+
`Results directory is not available for this run.`,
771
756
);
772
757
}
773
758
774
-
privatewarnInProgressEvalLogSummary(){
759
+
privatewarnNoEvalLogs(){
775
760
voidshowAndLogWarningMessage(
776
761
this.app.logger,
777
-
'The evaluator log summary is still being generated for this run. Please try again later. The summary generation process is tracked in the "CodeQL Extension Log" view.',
762
+
`Evaluator log, summary, and viewer are not available for this run. Perhaps it failed before evaluation?`,
778
763
);
779
764
}
780
765
781
-
privatewarnInProgressEvalLogViewer(){
782
-
voidshowAndLogWarningMessage(
783
-
this.app.logger,
784
-
"The viewer's data is still being generated for this run. Please try again or re-run the query.",
// If raw log does exist, then the summary log is still being generated.
773
+
voidshowAndLogWarningMessage(
774
+
this.app.logger,
775
+
'The evaluator log summary is still being generated for this run. Please try again later. The summary generation process is tracked in the "CodeQL Extension Log" view.',
readonlyoutputDir?: QueryOutputDir;// If missing, we do not have a query save dir. The query may have been cancelled. This is only for backwards compatibility.
0 commit comments