Andrew Eisenberg
c6531a293e
Apply suggestions from code review
2022-09-12 16:10:58 -07:00
alexet
e648d9c67c
QueryServer: Abstract over the query running parts of the query server in preperation for the new query server.
2022-09-12 16:10:58 -07:00
Koen Vlaswinkel
45efca9425
Merge pull request #1503 from github/koesie10/remove-open-on-github-for-mrva
...
Remove open on GitHub item from cancelled local results
2022-09-09 09:25:05 +02:00
Alexander Eyers-Taylor
9071f54863
Don't display destructive upgrades any more. ( #1501 )
...
* Don't display destructive upgrades any more.
* Add change note
* Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2022-09-08 18:57:12 +00:00
Koen Vlaswinkel
0aa34a51ff
Merge pull request #1504 from github/koesie10/remove-query-name-from-query-id
...
Remove query name from query ID for MRVA queries
2022-09-08 17:04:09 +02:00
Koen Vlaswinkel
181b5d6f7b
Remove query name from query ID for MRVA queries
2022-09-08 13:59:26 +02:00
Koen Vlaswinkel
7502fdee67
Remove open on GitHub item from cancelled local results
...
This will make a distinction between cancelled local and remote results,
allowing us to hide the *Open Variant Analysis on GitHub* item from
local failed/cancelled items. It also hides the *Show Evaluator Log*
items for cancelled/failed remote queries.
2022-09-08 13:36:50 +02:00
Koen Vlaswinkel
24652a84e4
Merge pull request #1497 from github/koesie10/storybook
...
Setup Storybook for testing UI components
2022-09-08 10:38:22 +02:00
Koen Vlaswinkel
2ee46cfd81
Add comment to .npmrc file for Storybook option
2022-09-08 09:22:08 +02:00
Alexander Eyers-Taylor
7c4eac8520
Avoid prompting for upgrades when they wouldn't be prompted. ( #1500 )
2022-09-07 17:53:37 +01:00
Koen Vlaswinkel
6fdc632743
Add overview page for Storybook
2022-09-07 17:06:23 +02:00
Koen Vlaswinkel
a38a0356a0
Remove MRVA prefix from component stories
2022-09-07 16:43:19 +02:00
Koen Vlaswinkel
9383b03971
Move Storybook config to TypeScript
2022-09-07 16:41:42 +02:00
Koen Vlaswinkel
baf130d60e
Remove WebView UI Toolkit stories
2022-09-07 16:37:37 +02:00
Koen Vlaswinkel
d15e3885d7
Add documentation about parameters in preview.js
2022-09-07 16:36:24 +02:00
Koen Vlaswinkel
2211e2317d
Add mock VSCode API in Storybook
...
This allows us to add a story for the "main" remote queries view.
2022-09-07 14:35:04 +02:00
Koen Vlaswinkel
6018ebaca9
Setup Storybook for testing UI components
...
This sets up Storybook for testing of React components. It adds stories
for some of the MRVA components. It does not add stories for the main
MRVA views since those are not independent of VSCode and need to be run
from within VSCode.
2022-09-06 10:55:55 +02:00
Koen Vlaswinkel
da9065101f
Merge pull request #1492 from github/koesie10/retry-artifacts
...
Add retry for finding result-index artifact
2022-09-05 10:08:11 +02:00
Koen Vlaswinkel
80867e6f58
Move result-index availability check to monitorQuery
2022-09-02 15:47:17 +02:00
Dave Bartolomeo
5067fbc452
Merge pull request #1494 from github/version/bump-to-v1.6.13
...
Bump version to v1.6.13
2022-09-02 05:17:43 -04:00
dbartol
d88b5170ac
Bump version to v1.6.13
2022-09-01 21:06:50 +00:00
Dave Bartolomeo
d4673d9ca0
Merge pull request #1493 from dbartol/v1.16.12
...
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.16.12
v1.6.12
2022-09-01 16:38:14 -04:00
Dave Bartolomeo
87f45a7739
v1.16.12
2022-09-01 16:25:04 -04:00
Koen Vlaswinkel
0c89df9a80
Merge pull request #1482 from github/koesie10/bundle-codicons
...
Bundle Codicons using Webpack
2022-09-01 16:12:55 +02:00
Koen Vlaswinkel
57666bbbe3
Add retry for finding result-index artifact
...
It seems like the result-index artifact may not be available immediately
after the workflow run has finished. This adds a retry mechanism to wait
for the result-index to be available. It will retry at most 10 times
with a wait of 1 second between each retry.
2022-09-01 13:01:56 +02:00
Koen Vlaswinkel
ba8b32078d
Simplify and clarify Webpack font config
2022-09-01 11:21:06 +02:00
Koen Vlaswinkel
fa4dd087e5
Remove Codicons references from webview
2022-09-01 09:39:19 +02:00
Dave Bartolomeo
ac74b967b3
Merge pull request #1490 from dbartol/dbartol/log-version/work
2022-08-31 21:01:36 -04:00
Dave Bartolomeo
c349c6a048
Fix race condition when generating evaluator log summaries
...
The original code that logged the human-readable log summary generated the log asynchronously, which was a reasonable choice. When I added support for viewing and scanning logs, I didn't notice that the summary was being generated asynchronously, and wrote my code assuming that the summary was already on disk when I opened it to find where each relation's log started. The effect was that, depending on timing, the evaluation sometimes failed with an error popup complaining about not being able to open the log summary file.
The fix is to _generate_ the log summary synchronously, but continue to _log_ it asynchronously.
2022-08-31 18:17:45 -04:00
Dave Bartolomeo
234b05994c
Guard --sourcemap option based on CLI version
2022-08-31 18:08:21 -04:00
Koen Vlaswinkel
af8f0231c0
Merge pull request #1485 from github/koesie10/add-github-download-button
...
Remove canary requirement for GitHub database download
2022-08-31 16:57:12 +02:00
Edoardo Pirovano
84bd029749
Restart CLI server too when restarting query server
2022-08-31 14:39:44 +01:00
shati-patel
7d2e4b6de4
Bump CLI version to 2.10.4 for integration tests
2022-08-31 13:52:40 +01:00
Koen Vlaswinkel
23a0e03cef
Completely remove using credentials in non-canary mode
...
This does not remove the previously added mechanism of not requesting
credentials, but using them when they are available. I expect this to be
used in the future.
2022-08-31 14:22:17 +02:00
Koen Vlaswinkel
21c5ed01ad
Fix typo in getOctokit JSDoc
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-08-31 11:48:27 +02:00
Koen Vlaswinkel
d2af550bcc
Merge remote-tracking branch 'origin/main' into koesie10/bundle-codicons
2022-08-31 09:51:46 +02:00
Koen Vlaswinkel
cf36a52762
Merge pull request #1478 from github/koesie10/abstract-interface-manager
...
Add abstract interface manager
2022-08-31 09:48:05 +02:00
Koen Vlaswinkel
ac1a97efa0
Refactor databaseFetcher tests to not use proxyquire
2022-08-30 15:32:08 +02:00
Koen Vlaswinkel
8d5067f622
Update CHANGELOG
2022-08-30 15:09:16 +02:00
Koen Vlaswinkel
fe5f1c417d
Remove authentication requirement for download GitHub databases
...
This makes authentication for download GitHub CodeQL databases optional.
If you are already authenticated, your token will be used. If you are
not authenticated, an anonymous request will be made.
If the canary flag is enabled, you will be prompted for credentials when
downloading a database and you are not yet logged in.
2022-08-30 15:05:15 +02:00
Koen Vlaswinkel
95438bb7e3
Remove canary requirement for GitHub database download
2022-08-30 14:33:48 +02:00
Koen Vlaswinkel
6d7d0ca41a
Merge pull request #1477 from github/koesie10/unified-webpack-bundle
...
Unify the Webpack bundle
2022-08-30 11:29:45 +02:00
Koen Vlaswinkel
3749e17769
Bundle Codicons using Webpack
...
This will include the Codicons inside the webview bundle, reducing the
number of files that need to be loaded and the resource roots that need
to be included.
2022-08-29 14:31:29 +02:00
Koen Vlaswinkel
ee49fb5070
Merge branch 'koesie10/unified-webpack-bundle' into koesie10/abstract-interface-manager
2022-08-29 14:12:20 +02:00
Koen Vlaswinkel
de6c523bad
Merge remote-tracking branch 'origin/main' into koesie10/unified-webpack-bundle
2022-08-29 13:57:23 +02:00
Koen Vlaswinkel
6612c279ae
Merge pull request #1479 from github/koesie10/improve-controller-repo-prompt
...
Improve prompot for controller repo
2022-08-29 09:53:26 +02:00
Koen Vlaswinkel
2dfa0e8b52
Simplify interface manager and types
2022-08-29 09:51:49 +02:00
Koen Vlaswinkel
0197306713
Remove unnecessary top-level package-lock.json
2022-08-29 09:47:24 +02:00
Dave Bartolomeo
269165eaa3
Merge pull request #1476 from github/version/bump-to-v1.6.12
...
Bump version to v1.6.12
2022-08-26 10:38:05 -04:00
Koen Vlaswinkel
14c736d72e
Improve prompot for controller repo
...
This will improve the prompt for the controller repo by making clear
that the GitHub Actions workflow will be run in the specified repo.
2022-08-26 13:58:11 +02:00