7766 Commits

Author SHA1 Message Date
Andrew Eisenberg
4cdbdd0d7d Merge pull request #3433 from github/aeisenberg/re-import-test-db
Import testproj databases into workspace storage
2024-03-13 12:34:01 -07:00
Robert
ff889b73e1 Make documentation of fields more consistent 2024-03-13 18:09:51 +00:00
Robert
834b6a649e Use jest.MockedFunction 2024-03-13 18:06:44 +00:00
Robert
16b8f848b5 Delete ProgressContext 2024-03-13 17:57:08 +00:00
Robert
bf58e311dd Delete withInheritedProgress because we always have a progress context 2024-03-13 17:37:21 +00:00
Robert
84df4b64d8 Update messages/descriptions with how to fix the alert 2024-03-13 17:24:09 +00:00
Robert
4346cc6e98 Link to cancellable property 2024-03-13 17:08:55 +00:00
Robert
73bece6f38 Add query for using token when not cancellable 2024-03-13 16:43:59 +00:00
Robert
280bf8b7b2 Convert to an abstract class 2024-03-13 16:43:42 +00:00
Koen Vlaswinkel
a559a0a3e2 Merge pull request #3454 from github/koesie10/cancellable-variant-analysis
Make the "Run variant analysis against published pack" command cancellable
2024-03-13 16:10:18 +01:00
Koen Vlaswinkel
695cf340b7 Do not make model evaluator cancellable 2024-03-13 15:48:52 +01:00
Shati Patel
84a8ffdad2 Only allow one open model alerts view (#3461) 2024-03-13 14:05:47 +00:00
Koen Vlaswinkel
d56f71710e Use MultiCancellationToken in model evaluator 2024-03-13 13:03:46 +01:00
Robert
826175ccd5 Create token-not-used.ql 2024-03-13 11:32:57 +00:00
Shati Patel
3005dacf4e Use VSCodeBadge component (#3462) 2024-03-13 10:12:48 +00:00
Koen Vlaswinkel
8bb0085992 Enable forceExit for CLI tests 2024-03-13 10:20:55 +01:00
Koen Vlaswinkel
992a836ccb Use tree-kill for killing CLI process 2024-03-13 10:19:39 +01:00
Andrew Eisenberg
2d85018d1d Add better log messages 2024-03-12 16:32:24 -07:00
Andrew Eisenberg
f84f792c5f Merge remote-tracking branch 'upstream/main' into aeisenberg/re-import-test-db 2024-03-12 14:50:50 -07:00
Robert
55b9b2e891 Use mocks instead of spies in tests 2024-03-12 15:44:17 +00:00
Robert
ec42728367 Only construct DatabaseFetcher once in extension.ts 2024-03-12 15:38:27 +00:00
Robert
9fa6d99f09 Have the skeleton query wizard call promptImportGithubDatabase so we can make more methods private 2024-03-12 15:32:44 +00:00
Robert
f29aff6303 Inline isFile 2024-03-12 15:32:44 +00:00
Robert
3ee081e8c6 Move commonly-used field to DatabaseFetcher constructor 2024-03-12 15:32:40 +00:00
Robert
18f1a46493 Naively convert DatabaseFetcher to a class 2024-03-12 15:14:00 +00:00
Shati Patel
eb1a5cfba3 Add "model alerts indicator" component (#3441) 2024-03-12 14:08:49 +00:00
Koen Vlaswinkel
0cbd96ff7c Add error listener 2024-03-12 13:43:15 +01:00
Koen Vlaswinkel
3050437cab Clean up process 2024-03-12 13:43:15 +01:00
Koen Vlaswinkel
27bb46ab4c Make more parts of running a variant analysis cancellable 2024-03-12 13:43:14 +01:00
Koen Vlaswinkel
24b7adfb92 Allow cancelling pack download 2024-03-12 13:42:40 +01:00
Koen Vlaswinkel
97eaaacce6 Run pack bundle in separate process and allow cancelling it 2024-03-12 13:42:24 +01:00
Koen Vlaswinkel
b961a7ae55 Extract RunOptions 2024-03-12 13:42:24 +01:00
Koen Vlaswinkel
23003ec8bf Extract process output handling in CLI server 2024-03-12 13:42:24 +01:00
Koen Vlaswinkel
c32065e895 Merge pull request #3457 from github/koesie10/query-suite-code-scanning
Use suite file instead of manually filtering queries
2024-03-12 13:06:12 +01:00
Koen Vlaswinkel
b71a536e00 Use include instructions for suite file 2024-03-12 11:44:30 +01:00
Andrew Eisenberg
fd3acfb1c9 Address pull request comments 2024-03-11 16:01:25 -07:00
github-actions[bot]
66de756d88 Bump CLI Version to v2.16.4 for integration tests (#3459)
* Bump CLI version from v2.16.3 to v2.16.4 for integration tests

* Remove extraneous `v2.16.2` from supported list

We only need to keep the most recent patch version for each minor version.

---------

Co-authored-by: github-actions[bot] <github-actions@github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com>
2024-03-11 14:10:03 -07:00
Koen Vlaswinkel
16a0fce7ce Merge pull request #3456 from github/koesie10/unique-database-names
Make database storage paths more unique
2024-03-11 16:40:46 +01:00
Koen Vlaswinkel
0feef365d9 Clean up temporary file in finally block 2024-03-11 14:39:07 +01:00
Koen Vlaswinkel
e003175f76 Reduce nanoid tries 2024-03-11 14:17:16 +01:00
Koen Vlaswinkel
0e3665b5fc Improve readability of duplicate filename logic 2024-03-11 14:16:53 +01:00
Koen Vlaswinkel
7681a56a16 Fix location of removing dots 2024-03-11 14:14:28 +01:00
Koen Vlaswinkel
bbc09f3ae5 Merge remote-tracking branch 'origin/main' into koesie10/unique-database-names 2024-03-11 12:49:32 +01:00
Koen Vlaswinkel
fe0136091d Use readdir instead of repeated pathExists calls 2024-03-11 12:41:26 +01:00
Koen Vlaswinkel
1ab3deab4d Merge pull request #3455 from github/koesie10/extension-managed-location
Fix incomplete removal of databases
2024-03-11 12:20:14 +01:00
Robert
650b09cf6a Merge pull request #3444 from github/robertbrignull/start-modeling-test
Add tests of MethodModelingViewProvider.viewLoaded
2024-03-11 11:18:56 +00:00
Robert
18f9b5fe15 Use jest.MockedFunction 2024-03-11 11:04:58 +00:00
Robert
dbd5d0f406 Remove unused arguments from resolveWebviewView 2024-03-11 11:02:37 +00:00
Robert
b436fbd73b Merge pull request #3453 from github/robertbrignull/convertGithubNwoToDatabaseUrl
Move convertGithubNwoToDatabaseUrl to databases/github-databases/api.ts
2024-03-11 10:58:15 +00:00
Robert
5402cab05a Merge pull request #3452 from github/robertbrignull/findDirWithFile
Move findDirWithFile to files.ts
2024-03-11 10:57:36 +00:00