Skip to content

Commit c36fa0f

Browse files
Merge branch 'main' into robertbrignull/always_trigger_monitoring
2 parents b751cee + 1cce7ae commit c36fa0f

101 files changed

Lines changed: 84637 additions & 645 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
- uses: actions/setup-node@v1
8484
with:
85-
node-version: '16.14.0'
85+
node-version: '16.14.2'
8686

8787
- name: Install dependencies
8888
working-directory: extensions/ql-vscode
@@ -156,7 +156,7 @@ jobs:
156156

157157
- uses: actions/setup-node@v1
158158
with:
159-
node-version: '16.14.0'
159+
node-version: '16.14.2'
160160

161161
- name: Install dependencies
162162
working-directory: extensions/ql-vscode

.vscode/launch.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@
4444
"bdd",
4545
"--colors",
4646
"--diff",
47-
"-r",
48-
"ts-node/register",
49-
"-r",
50-
"test/mocha.setup.js",
47+
"--config",
48+
".mocharc.json",
5149
"test/pure-tests/**/*.ts"
5250
],
5351
"stopOnEntry": false,

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ To record a new mock MRVA scenario, follow these steps:
181181

182182
If you want to cancel recording, run the `CodeQL: Mock GitHub API Server: Cancel Scenario Recording` command.
183183

184+
Once the scenario has been recorded, it's often useful to remove some of the requests to speed up the replay, particularly ones that fetch the variant analysis status. Once some of the request files have manually been removed, the [fix-scenario-file-numbering script](./extensions/ql-vscode/scripts/fix-scenario-file-numbering.ts) can be used to update the number of the files. See the script file for details on how to use.
185+
184186
#### Scenario data location
185187

186188
Pre-recorded scenarios are stored in `./src/mocks/scenarios`. However, it's possible to configure the location, by setting the `codeQL.mockGitHubApiServer.scenariosPath` configuration property in the VS Code user settings.

extensions/ql-vscode/.mocharc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"exit": true,
3+
"require": ["test/mocha.setup.js"]
4+
}

extensions/ql-vscode/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# CodeQL for Visual Studio Code: Changelog
22

3-
## [UNRELEASED]
3+
## 1.7.4 - 29 October 2022
4+
5+
No user facing changes.
6+
7+
## 1.7.3 - 28 October 2022
48

59
- Fix a bug where databases may be lost if VS Code is restarted while the extension is being started up. [#1638](https://github.com/github/vscode-codeql/pull/1638)
610
- Add commands for navigating up, down, left, or right in the result viewer. Previously there were only commands for moving up and down the currently-selected path. We suggest binding keyboard shortcuts to these commands, for navigating the result viewer using the keyboard. [#1568](https://github.com/github/vscode-codeql/pull/1568)

0 commit comments

Comments
 (0)