Commit Graph

4170 Commits

Author SHA1 Message Date
Dave Bartolomeo
c963cf6f5d Merge branch 'main' into dbartol/new-test-ui 2023-04-13 17:04:16 -04:00
Dave Bartolomeo
eca8cce6b9 Update extensions/ql-vscode/src/test-manager.ts
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2023-04-13 17:03:08 -04:00
Dave Bartolomeo
cb93c84611 Test tests 2023-04-13 17:00:15 -04:00
dependabot[bot]
8e40d7d61d Bump @storybook/builder-webpack5 in /extensions/ql-vscode (#2320)
Bumps [@storybook/builder-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.17-alpha.0 to 7.0.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.0.4/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/builder-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 10:27:53 -07:00
Koen Vlaswinkel
42aacce9d4 Merge pull request #2316 from github/koesie10/data-extension-editor-errors
Improve error handling in data extension editor
2023-04-13 17:12:19 +02:00
Koen Vlaswinkel
7e9a7f2156 Fix test for YAML error 2023-04-13 16:48:44 +02:00
Elena Tanasoiu
abe74fce76 Merge pull request #2312 from github/yer-a-database-query
Filter out databases with errors
2023-04-13 15:39:45 +01:00
Elena Tanasoiu
09396ff4ce Bump test timeout, again
We've added more tests so now the overall duration is over 40 seconds for this file.

I'm increasing the timeout again.
2023-04-13 13:05:56 +00:00
Koen Vlaswinkel
3a761d080b Improve error handling in data extension editor
This improves the error handling in the data extension editor by showing
more errors to the user and adding validation to data extension model
files.
2023-04-13 14:57:19 +02:00
Charis Kyriakou
807eb92c92 Merge pull request #2313 from github/charisk/repo-tasks-store-renaming
Repo tasks store renaming
2023-04-13 13:12:05 +01:00
Charis Kyriakou
73089841a3 Merge pull request #2308 from github/charisk/query-history-store-naming
Query history store renaming
2023-04-13 12:30:25 +01:00
Charis Kyriakou
86dabae359 Add repo states store index file 2023-04-13 10:56:07 +00:00
Charis Kyriakou
ba75e7cbd9 Rename repo-task-store to repo-tasks-store 2023-04-13 10:56:00 +00:00
Charis Kyriakou
a85f7f9788 Rename repo states domain and dto mappers 2023-04-13 10:55:53 +00:00
Charis Kyriakou
2f9aac9acb Rename mapping functions to follow same patterns and conventions 2023-04-13 10:55:49 +00:00
Charis Kyriakou
46ce1cbc51 Rename repo tasks DTOs 2023-04-13 10:55:41 +00:00
Charis Kyriakou
374d03e845 Move repo tasks store files to repo-tasks-store dir 2023-04-13 10:55:36 +00:00
Charis Kyriakou
9142fed2dc Merge pull request #2311 from github/charisk/repo-state-store-naming
Repo state store naming
2023-04-13 11:40:04 +01:00
Elena Tanasoiu
128803b65b Filter out databases with errors
When we create a skeleton query, we check whether you already have an
existing database with the same name (e.g. `github/codeql`). If we can't
find one, we also check for an existing database with the same language.

If we find one, we select it instead of downloading a new database.

Here we're filtering out databases with errors.
2023-04-13 10:26:52 +00:00
Charis Kyriakou
c0cd038423 Provide mapping functions for top level repo state models 2023-04-13 09:48:36 +00:00
Robert
089d3566ef Merge pull request #2304 from github/robertbrignull/selection_types
Make types for selection commands more precise
2023-04-13 10:45:44 +01:00
Charis Kyriakou
7f5548b1e7 Add repo states store index file 2023-04-13 09:41:06 +00:00
Charis Kyriakou
61d5830196 Rename repo states domain and dto mappers 2023-04-13 09:38:27 +00:00
Charis Kyriakou
05838a0198 Rename mapping functions to follow same patterns and conventions 2023-04-13 09:37:03 +00:00
Charis Kyriakou
296cbe1619 Rename repo states DTOs 2023-04-13 09:32:40 +00:00
Charis Kyriakou
9798c5f307 Move repo state store files to repo-states-store dir 2023-04-13 09:31:28 +00:00
Elena Tanasoiu
8c0d0d800d Merge pull request #2305 from github/elena/yer-a-progress-query
Small fixes to skeleton query wizard
2023-04-13 09:09:19 +01:00
Elena Tanasoiu
03adb70e45 Merge pull request #2298 from github/elena/yer-a-windows-query
Fix problem with detecting storage folder on windows
2023-04-13 08:54:56 +01:00
Charis Kyriakou
a34ded92f6 Update query history store code comments 2023-04-13 07:38:55 +00:00
Charis Kyriakou
be65a568b8 Add query history store index file 2023-04-13 07:29:42 +00:00
Charis Kyriakou
d1366a14ca Move ALLOWED_QUERY_HISTORY_VERSIONS const to store 2023-04-13 07:26:53 +00:00
Charis Kyriakou
6581988d22 Rename domain and dto mappers 2023-04-13 07:26:05 +00:00
Charis Kyriakou
e066e3b33f Rename mapping functions to follow same patterns and conventions 2023-04-13 07:25:13 +00:00
Koen Vlaswinkel
e15f01c4a3 Merge pull request #2295 from github/koesie10/pick-extension-model-file
Add configurable model filename to data extension editor
2023-04-13 08:55:32 +02:00
Dave Bartolomeo
397b5852c1 Fix test adapter tests 2023-04-12 16:54:07 -04:00
Dave Bartolomeo
e986b07bc7 Add missing mock method after @types/vscode upgrade 2023-04-12 16:45:53 -04:00
Dave Bartolomeo
7ea7d6c1f6 Merge remote-tracking branch 'origin/main' into dbartol/new-test-ui 2023-04-12 19:51:31 +00:00
Dave Bartolomeo
4804220971 Use native VS Code test UI in canary 2023-04-12 15:50:27 -04:00
Dave Bartolomeo
e1dae0bf01 Avoid identifier collision with new VS Code version 2023-04-12 15:49:52 -04:00
Elena Tanasoiu
7f8f0653b0 Merge branch 'main' into elena/yer-a-windows-query 2023-04-12 18:08:43 +01:00
Elena Tanasoiu
eabcd00e75 Merge pull request #2297 from github/elena/improvements-to-wizard
Refactor `digForDatabaseItem` and `digForDatabaseWithSameLanguage` methods for skeleton wizard
2023-04-12 18:08:30 +01:00
Elena Tanasoiu
3627139c8a Hide command behind canary flag
Adding this temporarily
2023-04-12 16:52:05 +00:00
Elena Tanasoiu
77bffd5bb1 Correct error messages to indicate ql pack storage path 2023-04-12 16:52:04 +00:00
Elena Tanasoiu
e981530b20 Import methods instead of whole databaseFetcher object 2023-04-12 16:52:04 +00:00
Elena Tanasoiu
b00e2aa09f Rename codeQL.createSkeletonQuery -> codeQL.createQuery 2023-04-12 16:52:04 +00:00
Elena Tanasoiu
c9f7860621 Move try/catch into execute command
So that we're able to catch any errors when this fails.
2023-04-12 16:52:04 +00:00
Elena Tanasoiu
eff5f1f197 Fix regex expression 2023-04-12 16:52:04 +00:00
Elena Tanasoiu
9f04c712e0 Use progress correctly
By setting maxSteps to the correct number of steps.
2023-04-12 16:52:04 +00:00
Charis Kyriakou
759116dce1 Rename query history top level DTOs 2023-04-12 16:49:28 +00:00
Charis Kyriakou
d740c2356b Rename variant analysis history item DTOs 2023-04-12 16:47:07 +00:00