Koen Vlaswinkel
1b0bcb3d2f
Fix running tests twice when test paths are passed
...
When running tests using `--runTestsByPath <some-path>`, the tests were
being run twice because jest-runner-vscode
[resolves test paths](0c98dc12ad/packages/jest-runner-vscode/src/runner.ts (L57-L66) ),
while the original arguments were also still passed to Jest. So, the
arguments Jest would receive would look something like
`test/vscode-tests/no-workspace/databases/local-databases/locations.test.ts /Users/koesie10/github/vscode-codeql/extensions/ql-vscode/test/vscode-tests/no-workspace/databases/local-databases/locations.test.ts`
which would cause Jest to run the tests twice. This fixes this by
resolving the paths to their absolute paths, and then removing any
duplicates.
2023-08-14 10:22:24 +02:00
github-actions[bot]
3b7f7e5528
Bump CLI version from v2.14.1 to v2.14.2 for integration tests ( #2699 )
...
Co-authored-by: github-actions[bot] <github-actions@github.com >
2023-08-11 12:26:41 +00:00
Charis Kyriakou
11a9668e44
Merge pull request #2698 from github/charisk/remove-automodel-v1
...
Remove automodel v1 code
2023-08-11 13:22:16 +01:00
Charis Kyriakou
feb4bb61fe
Drop v2 from automodel code
2023-08-11 11:07:25 +00:00
Charis Kyriakou
2a5b6ea95b
Remove automodel v1
2023-08-11 11:07:19 +00:00
Nora
217114777f
Merge pull request #2683 from github/nora/model-details-view-styling
...
Add icons and main badge to Model Details View
2023-08-11 11:52:15 +02:00
Koen Vlaswinkel
2cac3181a8
Merge pull request #2697 from github/koesie10/downgrade-octokit
...
Revert "Bump @octokit/plugin-retry from 4.1.6 to 6.0.0"
2023-08-11 10:41:10 +02:00
Koen Vlaswinkel
9ebf99a572
Merge pull request #2693 from github/dependabot/npm_and_yarn/extensions/ql-vscode/patch-package-8.0.0
...
Bump patch-package from 7.0.0 to 8.0.0 in /extensions/ql-vscode
2023-08-11 10:35:42 +02:00
Koen Vlaswinkel
3059e78ca4
Merge pull request #2694 from github/dependabot/npm_and_yarn/extensions/ql-vscode/cosmiconfig-8.2.0
...
Bump cosmiconfig from 7.1.0 to 8.2.0 in /extensions/ql-vscode
2023-08-11 10:32:22 +02:00
Koen Vlaswinkel
7d9d1077fd
Revert "Bump @octokit/plugin-retry from 4.1.6 to 6.0.0 in /extensions/ql-vscode ( #2602 )"
...
This reverts commit e938a6a9cb .
2023-08-11 10:15:01 +02:00
Anders Starcke Henriksen
b3e81ffa53
Merge pull request #2691 from github/starcke/more-kinds
...
Add more sink and source kinds.
2023-08-11 09:45:42 +02:00
Koen Vlaswinkel
0ef688792b
Merge pull request #2692 from github/dependabot/npm_and_yarn/extensions/ql-vscode/eslint-config-prettier-9.0.0
...
Bump eslint-config-prettier from 8.5.0 to 9.0.0 in /extensions/ql-vscode
2023-08-10 17:19:56 +02:00
Koen Vlaswinkel
fa66b2757a
Merge pull request #2695 from github/dependabot/npm_and_yarn/extensions/ql-vscode/ts-unused-exports-10.0.0
...
Bump ts-unused-exports from 9.0.5 to 10.0.0 in /extensions/ql-vscode
2023-08-10 17:03:09 +02:00
Robert
9069ba2d62
Use sourceLocationPrefix to get relative path inside database
2023-08-10 15:06:41 +01:00
dependabot[bot]
5e1a9a330b
Bump ts-unused-exports from 9.0.5 to 10.0.0 in /extensions/ql-vscode
...
Bumps [ts-unused-exports](https://github.com/pzavolinsky/ts-unused-exports ) from 9.0.5 to 10.0.0.
- [Changelog](https://github.com/pzavolinsky/ts-unused-exports/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pzavolinsky/ts-unused-exports/commits )
---
updated-dependencies:
- dependency-name: ts-unused-exports
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:48:45 +00:00
dependabot[bot]
49df14eeb8
Bump cosmiconfig from 7.1.0 to 8.2.0 in /extensions/ql-vscode
...
Bumps [cosmiconfig](https://github.com/cosmiconfig/cosmiconfig ) from 7.1.0 to 8.2.0.
- [Changelog](https://github.com/cosmiconfig/cosmiconfig/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cosmiconfig/cosmiconfig/compare/v7.1.0...v8.2.0 )
---
updated-dependencies:
- dependency-name: cosmiconfig
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:48:17 +00:00
dependabot[bot]
0c0a4fe78d
Bump patch-package from 7.0.0 to 8.0.0 in /extensions/ql-vscode
...
Bumps [patch-package](https://github.com/ds300/patch-package ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/ds300/patch-package/releases )
- [Changelog](https://github.com/ds300/patch-package/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ds300/patch-package/compare/v7.0.0...v8.0.0 )
---
updated-dependencies:
- dependency-name: patch-package
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:47:43 +00:00
dependabot[bot]
50b8ae5713
Bump eslint-config-prettier from 8.5.0 to 9.0.0 in /extensions/ql-vscode
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.5.0 to 9.0.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-10 13:47:08 +00:00
Nora
ebc5ef2d90
Adjust message
2023-08-10 12:36:28 +00:00
Anders Starcke Henriksen
c676ffdc13
Add more sink and source kinds.
2023-08-10 14:31:06 +02:00
Charis Kyriakou
b8ba32f028
Minor auto-model polish ( #2689 )
2023-08-10 13:03:02 +01:00
Charis Kyriakou
52a8704786
Improve auto-modeling in-progress state handling ( #2687 )
2023-08-10 11:58:49 +01:00
Charis Kyriakou
209822e093
Add auto-model mock API scenario ( #2684 )
2023-08-10 09:55:17 +00:00
Charis Kyriakou
5d2e20516b
Rename 'dependency' to 'package' in auto-modeling code ( #2686 )
2023-08-10 09:06:33 +00:00
Nora
c905814393
Show line numbers and file path
2023-08-10 08:10:38 +00:00
Charis Kyriakou
b1dc862392
Merge pull request #2682 from github/charisk/batch-automodeling
...
Batch automodeling
2023-08-10 08:58:23 +01:00
Nora
df880496cc
Add icons and main badge
2023-08-09 16:41:45 +02:00
Charis Kyriakou
4b0f59983a
Add ability to stop automodeling
2023-08-09 12:25:14 +00:00
Charis Kyriakou
4f7126296e
Break up automodeling into batches
2023-08-09 12:24:44 +00:00
Robert
bd6a7b263f
Merge pull request #2679 from github/robertbrignull/data-details-jump
...
Implementing jumping to location when clicking on a usage in the details panel
2023-08-09 13:04:08 +01:00
Charis Kyriakou
6791ddb445
Pass dependency name around when automodeling ( #2681 )
2023-08-09 12:39:05 +01:00
Charis Kyriakou
6dc0b14be7
Merge pull request #2680 from github/charisk/move-automodeling
...
Move automodeling logic out of view
2023-08-09 12:00:06 +01:00
Robert
1139790620
Rename command from codeQLDataExtensions => codeQLDataExtensionsEditor
2023-08-09 11:57:19 +01:00
Charis Kyriakou
0cc8e68155
Extract modeling of specific set of candidates into its own function
2023-08-08 15:56:51 +00:00
Robert
f52a512794
Merge pull request #2672 from github/robertbrignull/sarif-processing-no-location
...
Handle when an alert message contains links to files outside of the repository source
2023-08-08 16:56:03 +01:00
Charis Kyriakou
75882710ad
Move automodeling logic to AutoModeler class
2023-08-08 15:52:03 +00:00
Robert
7443b35ebc
Jump to location when clicking on usage
2023-08-08 16:34:15 +01:00
Robert
16d5f0f12b
Add DatabaseItem to model details panel state
2023-08-08 16:34:10 +01:00
Robert
946607098a
Add command to jump to usage location
2023-08-08 16:26:33 +01:00
Robert
f4d6990c1f
Move duplicated error handling into showResolvableLocation
2023-08-08 16:26:27 +01:00
Robert
daf389a5ed
Merge pull request #2678 from github/robert-nora/model-details-data
...
Populate details panel with external API usages
2023-08-08 14:20:00 +01:00
Robert
29916be143
Send externalApiUsages data to details view whenever new data is calculated
2023-08-08 10:52:59 +01:00
Robert
aa227357e9
Add blank data provider for codeQLModelDetails view
2023-08-07 17:19:13 +01:00
Nora
0aae7392f0
Merge pull request #2677 from github/robert-nora/set-up-model-details-view
...
Set up model details view
2023-08-07 18:03:45 +02:00
Nora
81294ecf3a
Focus on panel when clicking view button
2023-08-07 14:38:34 +00:00
Nora
839e4d6246
Set up empty panel tab
2023-08-07 14:24:35 +00:00
Nora
ae6dc879ef
Create new feature flag
2023-08-07 14:11:42 +00:00
Charis Kyriakou
55557df53f
Add in-progress UI state for modeling methods ( #2675 )
2023-08-07 11:58:41 +00:00
Charis Kyriakou
f1204ce8f4
Move automodel version split further up ( #2676 )
2023-08-07 11:54:47 +00:00
Anders Starcke Henriksen
234760efd3
Merge pull request #2670 from github/starcke/apply-slice-filter
...
Use filtering queries to do batched AI querying
2023-08-07 11:37:40 +02:00