Apply suggestions from code review

This commit is contained in:
Robert
2023-09-20 12:25:30 +01:00
committed by GitHub
parent 495f632ae2
commit a68d5df13b
2 changed files with 3 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ You can find this info by seleting "About Visual Studio Code" from the top menu.
## Updating the Node.js version ## Updating the Node.js version
The following files will need to be updated: The following files will need to be updated:
- `.github/workflows/cli-test.yml` - the "node-version: '[VERSION]'" setting - `.github/workflows/cli-test.yml` - the "node-version: '[VERSION]'" setting
- `.github/workflows/main.yml` - all the "node-version: '[VERSION]'" settings - `.github/workflows/main.yml` - all the "node-version: '[VERSION]'" settings
- `.github/workflows/release.yml` - the "node-version: '[VERSION]'" setting - `.github/workflows/release.yml` - the "node-version: '[VERSION]'" setting

View File

@@ -16,6 +16,7 @@ The CodeQL for VS Code extension specifies the versions of VS Code that it is co
Generally we should aim to support as wide a range of VS Code versions as we can, so unless there is a reason to do so we do not update the minimum VS Code version requirement. Generally we should aim to support as wide a range of VS Code versions as we can, so unless there is a reason to do so we do not update the minimum VS Code version requirement.
Reasons for updating the minimum VS Code version include: Reasons for updating the minimum VS Code version include:
- A new feature is included in VS Code. We may want to ensure that it is available to use so we do not have to provide an alternative code path. - A new feature is included in VS Code. We may want to ensure that it is available to use so we do not have to provide an alternative code path.
- A breaking change has happened in VS Code, and it is not possible to support both new and old versions. - A breaking change has happened in VS Code, and it is not possible to support both new and old versions.
@@ -27,6 +28,6 @@ To provide a good experience to users, it is recommented to update the `MIN_VERS
## VS Code version used in tests ## VS Code version used in tests
Our integration tests are currently pinned to use an older version of VS Code due to https://github.com/github/vscode-codeql/issues/2402. Our integration tests are currently pinned to use an older version of VS Code due to <https://github.com/github/vscode-codeql/issues/2402>.
This version is specified in [`jest-runner-vscode.config.base.js`](https://github.com/github/vscode-codeql/blob/d93f2b67c84e79737b0ce4bb74e31558b5f5166e/extensions/ql-vscode/test/vscode-tests/jest-runner-vscode.config.base.js#L17). This version is specified in [`jest-runner-vscode.config.base.js`](https://github.com/github/vscode-codeql/blob/d93f2b67c84e79737b0ce4bb74e31558b5f5166e/extensions/ql-vscode/test/vscode-tests/jest-runner-vscode.config.base.js#L17).
Until this is resolved this will limit us updating our minimum supported version of VS Code. Until this is resolved this will limit us updating our minimum supported version of VS Code.