diff --git a/.github/workflows/__all-platform-bundle.yml b/.github/workflows/__all-platform-bundle.yml
index 384d2dca48..6ed442b27f 100644
--- a/.github/workflows/__all-platform-bundle.yml
+++ b/.github/workflows/__all-platform-bundle.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
all-platform-bundle:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: nightly-latest
name: All-platform bundle
permissions:
contents: read
@@ -34,44 +36,44 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'true'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - id: init
- uses: ./../action/init
- with:
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{ steps.init.outputs.codeql-path }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'true'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - id: init
+ uses: ./../action/init
+ with:
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{ steps.init.outputs.codeql-path }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml
index 6850a63ab1..8ac1b03a44 100644
--- a/.github/workflows/__analyze-ref-input.yml
+++ b/.github/workflows/__analyze-ref-input.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
analyze-ref-input:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
name: "Analyze: 'ref' and 'sha' from inputs"
permissions:
contents: read
@@ -38,45 +40,45 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- languages: cpp,csharp,java,javascript,python
- config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{
- github.sha }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- upload-database: false
- ref: refs/heads/main
- sha: 5e235361806c361d4d3f8859e3c897658025a9a2
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ languages: cpp,csharp,java,javascript,python
+ config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{
+ github.sha }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ ref: refs/heads/main
+ sha: 5e235361806c361d4d3f8859e3c897658025a9a2
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml
index 84a0d95055..067800b3df 100644
--- a/.github/workflows/__autobuild-action.yml
+++ b/.github/workflows/__autobuild-action.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
autobuild-action:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
name: autobuild-action
permissions:
contents: read
@@ -38,55 +40,55 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: csharp
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/autobuild
- env:
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: csharp
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/autobuild
+ env:
# Explicitly disable the CLR tracer.
- COR_ENABLE_PROFILING: ''
- COR_PROFILER: ''
- COR_PROFILER_PATH_64: ''
- CORECLR_ENABLE_PROFILING: ''
- CORECLR_PROFILER: ''
- CORECLR_PROFILER_PATH_64: ''
- - uses: ./../action/analyze
- with:
- upload-database: false
- - name: Check database
- shell: bash
- run: |
- cd "$RUNNER_TEMP/codeql_databases"
- if [[ ! -d csharp ]]; then
- echo "Did not find a C# database"
- exit 1
- fi
+ COR_ENABLE_PROFILING: ''
+ COR_PROFILER: ''
+ COR_PROFILER_PATH_64: ''
+ CORECLR_ENABLE_PROFILING: ''
+ CORECLR_PROFILER: ''
+ CORECLR_PROFILER_PATH_64: ''
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ - name: Check database
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/codeql_databases"
+ if [[ ! -d csharp ]]; then
+ echo "Did not find a C# database"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__build-mode-autobuild.yml b/.github/workflows/__build-mode-autobuild.yml
index 288eda9129..fee121d96b 100644
--- a/.github/workflows/__build-mode-autobuild.yml
+++ b/.github/workflows/__build-mode-autobuild.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
build-mode-autobuild:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: nightly-latest
name: Build mode autobuild
permissions:
contents: read
@@ -34,55 +36,55 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Set up Java test repo configuration
- run: |
- mv * .github ../action/tests/multi-language-repo/
- mv ../action/tests/multi-language-repo/.github/workflows .github
- mv ../action/tests/java-repo/* .
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Set up Java test repo configuration
+ run: |
+ mv * .github ../action/tests/multi-language-repo/
+ mv ../action/tests/multi-language-repo/.github/workflows .github
+ mv ../action/tests/java-repo/* .
- - uses: ./../action/init
- id: init
- with:
- build-mode: autobuild
- db-location: ${{ runner.temp }}/customDbLocation
- languages: java
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/init
+ id: init
+ with:
+ build-mode: autobuild
+ db-location: ${{ runner.temp }}/customDbLocation
+ languages: java
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Validate database build mode
- run: |
- metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
- build_mode=$(yq eval '.buildMode' "$metadata_path")
- if [[ "$build_mode" != "autobuild" ]]; then
- echo "Expected build mode to be 'autobuild' but was $build_mode"
- exit 1
- fi
+ - name: Validate database build mode
+ run: |
+ metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
+ build_mode=$(yq eval '.buildMode' "$metadata_path")
+ if [[ "$build_mode" != "autobuild" ]]; then
+ echo "Expected build mode to be 'autobuild' but was $build_mode"
+ exit 1
+ fi
- - uses: ./../action/analyze
+ - uses: ./../action/analyze
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__build-mode-manual.yml b/.github/workflows/__build-mode-manual.yml
index e762952512..fb67bdefa0 100644
--- a/.github/workflows/__build-mode-manual.yml
+++ b/.github/workflows/__build-mode-manual.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
build-mode-manual:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: nightly-latest
name: Build mode manual
permissions:
contents: read
@@ -34,57 +36,57 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- build-mode: manual
- db-location: ${{ runner.temp }}/customDbLocation
- languages: java
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ build-mode: manual
+ db-location: ${{ runner.temp }}/customDbLocation
+ languages: java
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Validate database build mode
- run: |
- metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
- build_mode=$(yq eval '.buildMode' "$metadata_path")
- if [[ "$build_mode" != "manual" ]]; then
- echo "Expected build mode to be 'manual' but was $build_mode"
- exit 1
- fi
+ - name: Validate database build mode
+ run: |
+ metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
+ build_mode=$(yq eval '.buildMode' "$metadata_path")
+ if [[ "$build_mode" != "manual" ]]; then
+ echo "Expected build mode to be 'manual' but was $build_mode"
+ exit 1
+ fi
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{ steps.init.outputs.codeql-path }}
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{ steps.init.outputs.codeql-path }}
- - name: Build code
- shell: bash
- run: ./build.sh
+ - name: Build code
+ shell: bash
+ run: ./build.sh
- - uses: ./../action/analyze
+ - uses: ./../action/analyze
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__build-mode-none.yml b/.github/workflows/__build-mode-none.yml
index 66dd220dde..b9530efdf8 100644
--- a/.github/workflows/__build-mode-none.yml
+++ b/.github/workflows/__build-mode-none.yml
@@ -11,24 +11,26 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
build-mode-none:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
name: Build mode none
permissions:
contents: read
@@ -36,53 +38,53 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- build-mode: none
- db-location: ${{ runner.temp }}/customDbLocation
- languages: java
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ build-mode: none
+ db-location: ${{ runner.temp }}/customDbLocation
+ languages: java
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Validate database build mode
- run: |
- metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
- build_mode=$(yq eval '.buildMode' "$metadata_path")
- if [[ "$build_mode" != "none" ]]; then
- echo "Expected build mode to be 'none' but was $build_mode"
- exit 1
- fi
+ - name: Validate database build mode
+ run: |
+ metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
+ build_mode=$(yq eval '.buildMode' "$metadata_path")
+ if [[ "$build_mode" != "none" ]]; then
+ echo "Expected build mode to be 'none' but was $build_mode"
+ exit 1
+ fi
# The latest nightly supports omitting the autobuild Action when the build mode is specified.
- - uses: ./../action/autobuild
- if: matrix.version != 'nightly-latest'
+ - uses: ./../action/autobuild
+ if: matrix.version != 'nightly-latest'
- - uses: ./../action/analyze
+ - uses: ./../action/analyze
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__build-mode-rollback.yml b/.github/workflows/__build-mode-rollback.yml
index f44ce2da54..5108f15bdb 100644
--- a/.github/workflows/__build-mode-rollback.yml
+++ b/.github/workflows/__build-mode-rollback.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
build-mode-rollback:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: nightly-latest
name: Build mode rollback
permissions:
contents: read
@@ -34,56 +36,56 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Set up Java test repo configuration
- run: |
- mv * .github ../action/tests/multi-language-repo/
- mv ../action/tests/multi-language-repo/.github/workflows .github
- mv ../action/tests/java-repo/* .
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Set up Java test repo configuration
+ run: |
+ mv * .github ../action/tests/multi-language-repo/
+ mv ../action/tests/multi-language-repo/.github/workflows .github
+ mv ../action/tests/java-repo/* .
- - uses: ./../action/init
- id: init
- with:
- build-mode: none
- db-location: ${{ runner.temp }}/customDbLocation
- languages: java
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/init
+ id: init
+ with:
+ build-mode: none
+ db-location: ${{ runner.temp }}/customDbLocation
+ languages: java
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Validate database build mode
- run: |
- metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
- build_mode=$(yq eval '.buildMode' "$metadata_path")
- if [[ "$build_mode" != "autobuild" ]]; then
- echo "Expected build mode to be 'autobuild' but was $build_mode"
- exit 1
- fi
+ - name: Validate database build mode
+ run: |
+ metadata_path="$RUNNER_TEMP/customDbLocation/java/codeql-database.yml"
+ build_mode=$(yq eval '.buildMode' "$metadata_path")
+ if [[ "$build_mode" != "autobuild" ]]; then
+ echo "Expected build mode to be 'autobuild' but was $build_mode"
+ exit 1
+ fi
- - uses: ./../action/analyze
+ - uses: ./../action/analyze
env:
CODEQL_ACTION_DISABLE_JAVA_BUILDLESS: true
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml
index eeac29f05b..5862b7ffe6 100644
--- a/.github/workflows/__config-export.yml
+++ b/.github/workflows/__config-export.yml
@@ -11,32 +11,34 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
config-export:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: Config export
permissions:
contents: read
@@ -44,72 +46,72 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: javascript
- queries: security-extended
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- upload-database: false
- - name: Upload SARIF
- uses: actions/upload-artifact@v3
- with:
- name: config-export-${{ matrix.os }}-${{ matrix.version }}.sarif.json
- path: ${{ runner.temp }}/results/javascript.sarif
- retention-days: 7
- - name: Check config properties appear in SARIF
- uses: actions/github-script@v7
- env:
- SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif
- with:
- script: |
- const fs = require('fs');
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: javascript
+ queries: security-extended
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ upload-database: false
+ - name: Upload SARIF
+ uses: actions/upload-artifact@v3
+ with:
+ name: config-export-${{ matrix.os }}-${{ matrix.version }}.sarif.json
+ path: ${{ runner.temp }}/results/javascript.sarif
+ retention-days: 7
+ - name: Check config properties appear in SARIF
+ uses: actions/github-script@v7
+ env:
+ SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif
+ with:
+ script: |
+ const fs = require('fs');
- const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8'));
- const run = sarif.runs[0];
- const configSummary = run.properties.codeqlConfigSummary;
+ const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8'));
+ const run = sarif.runs[0];
+ const configSummary = run.properties.codeqlConfigSummary;
- if (configSummary === undefined) {
- core.setFailed('`codeqlConfigSummary` property not found in the SARIF run property bag.');
- }
- if (configSummary.disableDefaultQueries !== false) {
- core.setFailed('`disableDefaultQueries` property incorrect: expected false, got ' +
- `${JSON.stringify(configSummary.disableDefaultQueries)}.`);
- }
- const expectedQueries = [{ type: 'builtinSuite', uses: 'security-extended' }];
- // Use JSON.stringify to deep-equal the arrays.
- if (JSON.stringify(configSummary.queries) !== JSON.stringify(expectedQueries)) {
- core.setFailed(`\`queries\` property incorrect: expected ${JSON.stringify(expectedQueries)}, got ` +
- `${JSON.stringify(configSummary.queries)}.`);
- }
- core.info('Finished config export tests.');
+ if (configSummary === undefined) {
+ core.setFailed('`codeqlConfigSummary` property not found in the SARIF run property bag.');
+ }
+ if (configSummary.disableDefaultQueries !== false) {
+ core.setFailed('`disableDefaultQueries` property incorrect: expected false, got ' +
+ `${JSON.stringify(configSummary.disableDefaultQueries)}.`);
+ }
+ const expectedQueries = [{ type: 'builtinSuite', uses: 'security-extended' }];
+ // Use JSON.stringify to deep-equal the arrays.
+ if (JSON.stringify(configSummary.queries) !== JSON.stringify(expectedQueries)) {
+ core.setFailed(`\`queries\` property incorrect: expected ${JSON.stringify(expectedQueries)}, got ` +
+ `${JSON.stringify(configSummary.queries)}.`);
+ }
+ core.info('Finished config export tests.');
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__config-input.yml b/.github/workflows/__config-input.yml
index 2e3b086085..8dd0806f10 100644
--- a/.github/workflows/__config-input.yml
+++ b/.github/workflows/__config-input.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
config-input:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
+ - os: ubuntu-latest
+ version: latest
name: Config input
permissions:
contents: read
@@ -34,59 +36,59 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Copy queries into workspace
- run: |
- cp -a ../action/queries .
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Copy queries into workspace
+ run: |
+ cp -a ../action/queries .
- - uses: ./../action/init
- with:
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- languages: javascript
- build-mode: none
- config: |
- disable-default-queries: true
- queries:
- - name: Run custom query
- uses: ./queries/default-setup-environment-variables.ql
- paths-ignore:
- - tests
- - lib
+ - uses: ./../action/init
+ with:
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ languages: javascript
+ build-mode: none
+ config: |
+ disable-default-queries: true
+ queries:
+ - name: Run custom query
+ uses: ./queries/default-setup-environment-variables.ql
+ paths-ignore:
+ - tests
+ - lib
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
- - name: Check SARIF
- uses: ./../action/.github/actions/check-sarif
- with:
- sarif-file: ${{ runner.temp }}/results/javascript.sarif
- queries-run: javascript/codeql-action/default-setup-env-vars
- queries-not-run: javascript/codeql-action/default-setup-context-properties
+ - name: Check SARIF
+ uses: ./../action/.github/actions/check-sarif
+ with:
+ sarif-file: ${{ runner.temp }}/results/javascript.sarif
+ queries-run: javascript/codeql-action/default-setup-env-vars
+ queries-not-run: javascript/codeql-action/default-setup-context-properties
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__cpp-deptrace-disabled.yml b/.github/workflows/__cpp-deptrace-disabled.yml
index d68c72101a..1a5efd492b 100644
--- a/.github/workflows/__cpp-deptrace-disabled.yml
+++ b/.github/workflows/__cpp-deptrace-disabled.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
cpp-deptrace-disabled:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
name: 'C/C++: disabling autoinstalling dependencies (Linux)'
permissions:
contents: read
@@ -38,51 +40,51 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Test setup
- shell: bash
- run: |
- cp -a ../action/tests/cpp-autobuild autobuild-dir
- - uses: ./../action/init
- with:
- languages: cpp
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/autobuild
- with:
- working-directory: autobuild-dir
- env:
- CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: false
- - shell: bash
- run: |
- if ls /usr/bin/errno; then
- echo "C/C++ autobuild installed errno, but it should not have since auto-install dependencies is disabled."
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Test setup
+ shell: bash
+ run: |
+ cp -a ../action/tests/cpp-autobuild autobuild-dir
+ - uses: ./../action/init
+ with:
+ languages: cpp
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/autobuild
+ with:
+ working-directory: autobuild-dir
+ env:
+ CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: false
+ - shell: bash
+ run: |
+ if ls /usr/bin/errno; then
+ echo "C/C++ autobuild installed errno, but it should not have since auto-install dependencies is disabled."
+ exit 1
+ fi
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml
index 1f86c061aa..65b47f2e5d 100644
--- a/.github/workflows/__cpp-deptrace-enabled-on-macos.yml
+++ b/.github/workflows/__cpp-deptrace-enabled-on-macos.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
cpp-deptrace-enabled-on-macos:
strategy:
matrix:
include:
- - os: macos-latest
- version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: 'C/C++: autoinstalling dependencies is skipped (macOS)'
permissions:
contents: read
@@ -34,53 +36,53 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Test setup
- shell: bash
- run: |
- cp -a ../action/tests/cpp-autobuild autobuild-dir
- - uses: ./../action/init
- with:
- languages: cpp
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/autobuild
- with:
- working-directory: autobuild-dir
- env:
- CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: true
- - shell: bash
- run: |
- if ! ls /usr/bin/errno; then
- echo "As expected, CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES is a no-op on macOS"
- else
- echo "CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES should not have had any effect on macOS"
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Test setup
+ shell: bash
+ run: |
+ cp -a ../action/tests/cpp-autobuild autobuild-dir
+ - uses: ./../action/init
+ with:
+ languages: cpp
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/autobuild
+ with:
+ working-directory: autobuild-dir
+ env:
+ CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: true
+ - shell: bash
+ run: |
+ if ! ls /usr/bin/errno; then
+ echo "As expected, CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES is a no-op on macOS"
+ else
+ echo "CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES should not have had any effect on macOS"
+ exit 1
+ fi
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__cpp-deptrace-enabled.yml b/.github/workflows/__cpp-deptrace-enabled.yml
index ba99f61f1d..c4e9ddeb6c 100644
--- a/.github/workflows/__cpp-deptrace-enabled.yml
+++ b/.github/workflows/__cpp-deptrace-enabled.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
cpp-deptrace-enabled:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
name: 'C/C++: autoinstalling dependencies (Linux)'
permissions:
contents: read
@@ -38,51 +40,51 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Test setup
- shell: bash
- run: |
- cp -a ../action/tests/cpp-autobuild autobuild-dir
- - uses: ./../action/init
- with:
- languages: cpp
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/autobuild
- with:
- working-directory: autobuild-dir
- env:
- CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: true
- - shell: bash
- run: |
- if ! ls /usr/bin/errno; then
- echo "Did not autoinstall errno"
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Test setup
+ shell: bash
+ run: |
+ cp -a ../action/tests/cpp-autobuild autobuild-dir
+ - uses: ./../action/init
+ with:
+ languages: cpp
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/autobuild
+ with:
+ working-directory: autobuild-dir
+ env:
+ CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: true
+ - shell: bash
+ run: |
+ if ! ls /usr/bin/errno; then
+ echo "Did not autoinstall errno"
+ exit 1
+ fi
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml
index 47983a3081..b39122cb5e 100644
--- a/.github/workflows/__diagnostics-export.yml
+++ b/.github/workflows/__diagnostics-export.yml
@@ -11,38 +11,40 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
diagnostics-export:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20230317
- - os: macos-latest
- version: stable-20230317
- - os: windows-latest
- version: stable-20230317
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20230317
+ - os: macos-latest
+ version: stable-20230317
+ - os: windows-latest
+ version: stable-20230317
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: Diagnostic export
permissions:
contents: read
@@ -50,113 +52,113 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- languages: javascript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Add test diagnostics
- shell: bash
- env:
- CODEQL_PATH: ${{ steps.init.outputs.codeql-path }}
- run: |
- for i in {1..2}; do
- # Use the same location twice to test the workaround for the bug in CodeQL CLI 2.12.5 that
- # produces an invalid diagnostic with multiple identical location objects.
- "$CODEQL_PATH" database add-diagnostic \
- "$RUNNER_TEMP/codeql_databases/javascript" \
- --file-path /path/to/file \
- --plaintext-message "Plaintext message $i" \
- --source-id "lang/diagnostics/example" \
- --source-name "Diagnostic name" \
- --ready-for-status-page
- done
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- upload-database: false
- - name: Upload SARIF
- uses: actions/upload-artifact@v3
- with:
- name: diagnostics-export-${{ matrix.os }}-${{ matrix.version }}.sarif.json
- path: ${{ runner.temp }}/results/javascript.sarif
- retention-days: 7
- - name: Check diagnostics appear in SARIF
- uses: actions/github-script@v7
- env:
- SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif
- with:
- script: |
- const fs = require('fs');
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ languages: javascript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Add test diagnostics
+ shell: bash
+ env:
+ CODEQL_PATH: ${{ steps.init.outputs.codeql-path }}
+ run: |
+ for i in {1..2}; do
+ # Use the same location twice to test the workaround for the bug in CodeQL CLI 2.12.5 that
+ # produces an invalid diagnostic with multiple identical location objects.
+ "$CODEQL_PATH" database add-diagnostic \
+ "$RUNNER_TEMP/codeql_databases/javascript" \
+ --file-path /path/to/file \
+ --plaintext-message "Plaintext message $i" \
+ --source-id "lang/diagnostics/example" \
+ --source-name "Diagnostic name" \
+ --ready-for-status-page
+ done
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ upload-database: false
+ - name: Upload SARIF
+ uses: actions/upload-artifact@v3
+ with:
+ name: diagnostics-export-${{ matrix.os }}-${{ matrix.version }}.sarif.json
+ path: ${{ runner.temp }}/results/javascript.sarif
+ retention-days: 7
+ - name: Check diagnostics appear in SARIF
+ uses: actions/github-script@v7
+ env:
+ SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif
+ with:
+ script: |
+ const fs = require('fs');
- function checkStatusPageNotification(n) {
- const expectedMessage = 'Plaintext message 1\n\nCodeQL also found 1 other diagnostic like this. See the workflow log for details.';
- if (n.message.text !== expectedMessage) {
- core.setFailed(`Expected the status page diagnostic to have the message '${expectedMessage}', but found '${n.message.text}'.`);
+ function checkStatusPageNotification(n) {
+ const expectedMessage = 'Plaintext message 1\n\nCodeQL also found 1 other diagnostic like this. See the workflow log for details.';
+ if (n.message.text !== expectedMessage) {
+ core.setFailed(`Expected the status page diagnostic to have the message '${expectedMessage}', but found '${n.message.text}'.`);
+ }
+ if (n.locations.length !== 1) {
+ core.setFailed(`Expected the status page diagnostic to have exactly 1 location, but found ${n.locations.length}.`);
+ }
}
- if (n.locations.length !== 1) {
- core.setFailed(`Expected the status page diagnostic to have exactly 1 location, but found ${n.locations.length}.`);
- }
- }
- const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8'));
- const run = sarif.runs[0];
+ const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8'));
+ const run = sarif.runs[0];
- const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications;
- const statusPageNotifications = toolExecutionNotifications.filter(n =>
- n.descriptor.id === 'lang/diagnostics/example' && n.properties?.visibility?.statusPage
- );
- if (statusPageNotifications.length !== 1) {
- core.setFailed(
- 'Expected exactly one status page reporting descriptor for this diagnostic in the ' +
- `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` +
- `${statusPageNotifications.length}. All notification reporting descriptors: ` +
- `${JSON.stringify(toolExecutionNotifications)}.`
+ const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications;
+ const statusPageNotifications = toolExecutionNotifications.filter(n =>
+ n.descriptor.id === 'lang/diagnostics/example' && n.properties?.visibility?.statusPage
);
- }
- checkStatusPageNotification(statusPageNotifications[0]);
+ if (statusPageNotifications.length !== 1) {
+ core.setFailed(
+ 'Expected exactly one status page reporting descriptor for this diagnostic in the ' +
+ `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` +
+ `${statusPageNotifications.length}. All notification reporting descriptors: ` +
+ `${JSON.stringify(toolExecutionNotifications)}.`
+ );
+ }
+ checkStatusPageNotification(statusPageNotifications[0]);
- const notifications = run.tool.driver.notifications;
- const diagnosticNotification = notifications.filter(n =>
- n.id === 'lang/diagnostics/example' && n.name === 'lang/diagnostics/example' &&
- n.fullDescription.text === 'Diagnostic name'
- );
- if (diagnosticNotification.length !== 1) {
- core.setFailed(
- 'Expected exactly one notification for this diagnostic in the ' +
- `'runs[].tool.driver.notifications[]' SARIF property, but found ` +
- `${diagnosticNotification.length}. All notifications: ` +
- `${JSON.stringify(notifications)}.`
+ const notifications = run.tool.driver.notifications;
+ const diagnosticNotification = notifications.filter(n =>
+ n.id === 'lang/diagnostics/example' && n.name === 'lang/diagnostics/example' &&
+ n.fullDescription.text === 'Diagnostic name'
);
- }
+ if (diagnosticNotification.length !== 1) {
+ core.setFailed(
+ 'Expected exactly one notification for this diagnostic in the ' +
+ `'runs[].tool.driver.notifications[]' SARIF property, but found ` +
+ `${diagnosticNotification.length}. All notifications: ` +
+ `${JSON.stringify(notifications)}.`
+ );
+ }
- core.info('Finished diagnostic export test');
+ core.info('Finished diagnostic export test');
env:
CODEQL_ACTION_EXPORT_DIAGNOSTICS: true
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml
index c395a5655d..8206163f4a 100644
--- a/.github/workflows/__export-file-baseline-information.yml
+++ b/.github/workflows/__export-file-baseline-information.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
export-file-baseline-information:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: Export file baseline information
permissions:
contents: read
@@ -38,72 +40,72 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- languages: javascript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{ steps.init.outputs.codeql-path }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- - name: Upload SARIF
- uses: actions/upload-artifact@v3
- with:
- name: with-baseline-information-${{ matrix.os }}-${{ matrix.version }}.sarif.json
- path: ${{ runner.temp }}/results/javascript.sarif
- retention-days: 7
- - name: Check results
- shell: bash
- run: |
- cd "$RUNNER_TEMP/results"
- expected_baseline_languages="c csharp go java kotlin javascript python ruby"
- if [[ $RUNNER_OS != "Windows" ]]; then
- expected_baseline_languages+=" swift"
- fi
-
- for lang in ${expected_baseline_languages}; do
- rule_name="cli/expected-extracted-files/${lang}"
- found_notification=$(jq --arg rule_name "${rule_name}" '[.runs[0].tool.driver.notifications |
- select(. != null) | flatten | .[].id] | any(. == $rule_name)' javascript.sarif)
- if [[ "${found_notification}" != "true" ]]; then
- echo "Expected SARIF output to contain notification '${rule_name}', but found no such notification."
- exit 1
- else
- echo "Found notification '${rule_name}'."
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ languages: javascript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{ steps.init.outputs.codeql-path }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ - name: Upload SARIF
+ uses: actions/upload-artifact@v3
+ with:
+ name: with-baseline-information-${{ matrix.os }}-${{ matrix.version }}.sarif.json
+ path: ${{ runner.temp }}/results/javascript.sarif
+ retention-days: 7
+ - name: Check results
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/results"
+ expected_baseline_languages="c csharp go java kotlin javascript python ruby"
+ if [[ $RUNNER_OS != "Windows" ]]; then
+ expected_baseline_languages+=" swift"
fi
- done
+
+ for lang in ${expected_baseline_languages}; do
+ rule_name="cli/expected-extracted-files/${lang}"
+ found_notification=$(jq --arg rule_name "${rule_name}" '[.runs[0].tool.driver.notifications |
+ select(. != null) | flatten | .[].id] | any(. == $rule_name)' javascript.sarif)
+ if [[ "${found_notification}" != "true" ]]; then
+ echo "Expected SARIF output to contain notification '${rule_name}', but found no such notification."
+ exit 1
+ else
+ echo "Found notification '${rule_name}'."
+ fi
+ done
env:
CODEQL_ACTION_SUBLANGUAGE_FILE_COVERAGE: true
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml
index 5823fa50ad..17450c0321 100644
--- a/.github/workflows/__extractor-ram-threads.yml
+++ b/.github/workflows/__extractor-ram-threads.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
extractor-ram-threads:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
+ - os: ubuntu-latest
+ version: latest
name: Extractor ram and threads options test
permissions:
contents: read
@@ -34,55 +36,55 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: java
- ram: 230
- threads: 1
- - name: Assert Results
- shell: bash
- run: |
- if [ "${CODEQL_RAM}" != "230" ]; then
- echo "CODEQL_RAM is '${CODEQL_RAM}' instead of 230"
- exit 1
- fi
- if [ "${CODEQL_EXTRACTOR_JAVA_RAM}" != "230" ]; then
- echo "CODEQL_EXTRACTOR_JAVA_RAM is '${CODEQL_EXTRACTOR_JAVA_RAM}' instead of 230"
- exit 1
- fi
- if [ "${CODEQL_THREADS}" != "1" ]; then
- echo "CODEQL_THREADS is '${CODEQL_THREADS}' instead of 1"
- exit 1
- fi
- if [ "${CODEQL_EXTRACTOR_JAVA_THREADS}" != "1" ]; then
- echo "CODEQL_EXTRACTOR_JAVA_THREADS is '${CODEQL_EXTRACTOR_JAVA_THREADS}' instead of 1"
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: java
+ ram: 230
+ threads: 1
+ - name: Assert Results
+ shell: bash
+ run: |
+ if [ "${CODEQL_RAM}" != "230" ]; then
+ echo "CODEQL_RAM is '${CODEQL_RAM}' instead of 230"
+ exit 1
+ fi
+ if [ "${CODEQL_EXTRACTOR_JAVA_RAM}" != "230" ]; then
+ echo "CODEQL_EXTRACTOR_JAVA_RAM is '${CODEQL_EXTRACTOR_JAVA_RAM}' instead of 230"
+ exit 1
+ fi
+ if [ "${CODEQL_THREADS}" != "1" ]; then
+ echo "CODEQL_THREADS is '${CODEQL_THREADS}' instead of 1"
+ exit 1
+ fi
+ if [ "${CODEQL_EXTRACTOR_JAVA_THREADS}" != "1" ]; then
+ echo "CODEQL_EXTRACTOR_JAVA_THREADS is '${CODEQL_EXTRACTOR_JAVA_THREADS}' instead of 1"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml
index d8db274075..be2169b41c 100644
--- a/.github/workflows/__go-custom-queries.yml
+++ b/.github/workflows/__go-custom-queries.yml
@@ -11,62 +11,64 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
go-custom-queries:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: macos-latest
- version: stable-20221211
- - os: windows-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: macos-latest
- version: stable-20230418
- - os: windows-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: macos-latest
- version: stable-v2.13.5
- - os: windows-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: macos-latest
- version: stable-v2.14.6
- - os: windows-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: macos-latest
+ version: stable-20221211
+ - os: windows-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: macos-latest
+ version: stable-20230418
+ - os: windows-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: macos-latest
+ version: stable-v2.13.5
+ - os: windows-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: macos-latest
+ version: stable-v2.14.6
+ - os: windows-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: 'Go: Custom queries'
permissions:
contents: read
@@ -74,43 +76,43 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: go
- config-file: ./.github/codeql/custom-queries.yml
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: go
+ config-file: ./.github/codeql/custom-queries.yml
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
index 19b5744110..cc3541630a 100644
--- a/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
+++ b/.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
go-indirect-tracing-workaround-diagnostic:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: stable-v2.14.6
name: 'Go: diagnostic when Go is changed after init step'
permissions:
contents: read
@@ -34,73 +36,73 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: actions/setup-go@v5
- with:
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: actions/setup-go@v5
+ with:
# We need a Go version that ships with statically linked binaries on Linux
- go-version: '>=1.21.0'
- - uses: ./../action/init
- with:
- languages: go
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ go-version: '>=1.21.0'
+ - uses: ./../action/init
+ with:
+ languages: go
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
# Deliberately change Go after the `init` step
- - uses: actions/setup-go@v5
- with:
- go-version: '1.20'
- - name: Build code
- shell: bash
- run: go build main.go
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- upload-database: false
- - name: Check diagnostic appears in SARIF
- uses: actions/github-script@v7
- env:
- SARIF_PATH: ${{ runner.temp }}/results/go.sarif
- with:
- script: |
- const fs = require('fs');
+ - uses: actions/setup-go@v5
+ with:
+ go-version: '1.20'
+ - name: Build code
+ shell: bash
+ run: go build main.go
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ upload-database: false
+ - name: Check diagnostic appears in SARIF
+ uses: actions/github-script@v7
+ env:
+ SARIF_PATH: ${{ runner.temp }}/results/go.sarif
+ with:
+ script: |
+ const fs = require('fs');
- const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8'));
- const run = sarif.runs[0];
+ const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8'));
+ const run = sarif.runs[0];
- const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications;
- const statusPageNotifications = toolExecutionNotifications.filter(n =>
- n.descriptor.id === 'go/workflow/go-installed-after-codeql-init' && n.properties?.visibility?.statusPage
- );
- if (statusPageNotifications.length !== 1) {
- core.setFailed(
- 'Expected exactly one status page reporting descriptor for this diagnostic in the ' +
- `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` +
- `${statusPageNotifications.length}. All notification reporting descriptors: ` +
- `${JSON.stringify(toolExecutionNotifications)}.`
+ const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications;
+ const statusPageNotifications = toolExecutionNotifications.filter(n =>
+ n.descriptor.id === 'go/workflow/go-installed-after-codeql-init' && n.properties?.visibility?.statusPage
);
- }
+ if (statusPageNotifications.length !== 1) {
+ core.setFailed(
+ 'Expected exactly one status page reporting descriptor for this diagnostic in the ' +
+ `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` +
+ `${statusPageNotifications.length}. All notification reporting descriptors: ` +
+ `${JSON.stringify(toolExecutionNotifications)}.`
+ );
+ }
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__go-indirect-tracing-workaround.yml b/.github/workflows/__go-indirect-tracing-workaround.yml
index 11c164fa59..3dd584fc16 100644
--- a/.github/workflows/__go-indirect-tracing-workaround.yml
+++ b/.github/workflows/__go-indirect-tracing-workaround.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
go-indirect-tracing-workaround:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: stable-v2.14.6
name: 'Go: workaround for indirect tracing'
permissions:
contents: read
@@ -34,71 +36,71 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: actions/setup-go@v5
- with:
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: actions/setup-go@v5
+ with:
# We need a Go version that ships with statically linked binaries on Linux
- go-version: '>=1.21.0'
- - uses: ./../action/init
- with:
- languages: go
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: go build main.go
- - uses: ./../action/analyze
- with:
- upload-database: false
- - shell: bash
- run: |
- if [[ -z "${CODEQL_ACTION_GO_BINARY}" ]]; then
- echo "Expected the workaround for indirect tracing of static binaries to trigger, but the" \
- "CODEQL_ACTION_GO_BINARY environment variable is not set."
- exit 1
- fi
- if [[ ! -f "${CODEQL_ACTION_GO_BINARY}" ]]; then
- echo "CODEQL_ACTION_GO_BINARY is set, but the corresponding script does not exist."
- exit 1
- fi
+ go-version: '>=1.21.0'
+ - uses: ./../action/init
+ with:
+ languages: go
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: go build main.go
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ - shell: bash
+ run: |
+ if [[ -z "${CODEQL_ACTION_GO_BINARY}" ]]; then
+ echo "Expected the workaround for indirect tracing of static binaries to trigger, but the" \
+ "CODEQL_ACTION_GO_BINARY environment variable is not set."
+ exit 1
+ fi
+ if [[ ! -f "${CODEQL_ACTION_GO_BINARY}" ]]; then
+ echo "CODEQL_ACTION_GO_BINARY is set, but the corresponding script does not exist."
+ exit 1
+ fi
- # Once we start running Bash 4.2 in all environments, we can replace the
- # `! -z` flag with the more elegant `-v` which confirms that the variable
- # is actually unset and not potentially set to a blank value.
- if [[ ! -z "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" ]]; then
- echo "Expected the Go autobuilder not to be run, but the" \
- "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set."
- exit 1
- fi
- cd "$RUNNER_TEMP/codeql_databases"
- if [[ ! -d go ]]; then
- echo "Did not find a Go database"
- exit 1
- fi
+ # Once we start running Bash 4.2 in all environments, we can replace the
+ # `! -z` flag with the more elegant `-v` which confirms that the variable
+ # is actually unset and not potentially set to a blank value.
+ if [[ ! -z "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" ]]; then
+ echo "Expected the Go autobuilder not to be run, but the" \
+ "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set."
+ exit 1
+ fi
+ cd "$RUNNER_TEMP/codeql_databases"
+ if [[ ! -d go ]]; then
+ echo "Did not find a Go database"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml
index 5f1c28df3d..14bc3d00ed 100644
--- a/.github/workflows/__go-tracing-autobuilder.yml
+++ b/.github/workflows/__go-tracing-autobuilder.yml
@@ -11,48 +11,50 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
go-tracing-autobuilder:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: macos-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: macos-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: macos-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: macos-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: macos-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: macos-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: macos-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: macos-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: 'Go: tracing with autobuilder step'
permissions:
contents: read
@@ -60,58 +62,58 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: actions/setup-go@v5
- with:
- go-version: ~1.22.0
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: actions/setup-go@v5
+ with:
+ go-version: ~1.22.0
# to avoid potentially misleading autobuilder results where we expect it to download
# dependencies successfully, but they actually come from a warm cache
- cache: false
- - uses: ./../action/init
- with:
- languages: go
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/autobuild
- - uses: ./../action/analyze
- with:
- upload-database: false
- - shell: bash
- run: |
- if [[ "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" != true ]]; then
- echo "Expected the Go autobuilder to be run, but the" \
- "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was not true."
- exit 1
- fi
- cd "$RUNNER_TEMP/codeql_databases"
- if [[ ! -d go ]]; then
- echo "Did not find a Go database"
- exit 1
- fi
+ cache: false
+ - uses: ./../action/init
+ with:
+ languages: go
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/autobuild
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ - shell: bash
+ run: |
+ if [[ "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" != true ]]; then
+ echo "Expected the Go autobuilder to be run, but the" \
+ "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was not true."
+ exit 1
+ fi
+ cd "$RUNNER_TEMP/codeql_databases"
+ if [[ ! -d go ]]; then
+ echo "Did not find a Go database"
+ exit 1
+ fi
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml
index 7d55eaa069..e86ed18e44 100644
--- a/.github/workflows/__go-tracing-custom-build-steps.yml
+++ b/.github/workflows/__go-tracing-custom-build-steps.yml
@@ -11,48 +11,50 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
go-tracing-custom-build-steps:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: macos-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: macos-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: macos-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: macos-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: macos-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: macos-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: macos-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: macos-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: 'Go: tracing with custom build steps'
permissions:
contents: read
@@ -60,62 +62,62 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: actions/setup-go@v5
- with:
- go-version: ~1.22.0
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: actions/setup-go@v5
+ with:
+ go-version: ~1.22.0
# to avoid potentially misleading autobuilder results where we expect it to download
# dependencies successfully, but they actually come from a warm cache
- cache: false
- - uses: ./../action/init
- with:
- languages: go
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: go build main.go
- - uses: ./../action/analyze
- with:
- upload-database: false
- - shell: bash
- run: |
- # Once we start running Bash 4.2 in all environments, we can replace the
- # `! -z` flag with the more elegant `-v` which confirms that the variable
- # is actually unset and not potentially set to a blank value.
- if [[ ! -z "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" ]]; then
- echo "Expected the Go autobuilder not to be run, but the" \
- "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set."
- exit 1
- fi
- cd "$RUNNER_TEMP/codeql_databases"
- if [[ ! -d go ]]; then
- echo "Did not find a Go database"
- exit 1
- fi
+ cache: false
+ - uses: ./../action/init
+ with:
+ languages: go
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: go build main.go
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ - shell: bash
+ run: |
+ # Once we start running Bash 4.2 in all environments, we can replace the
+ # `! -z` flag with the more elegant `-v` which confirms that the variable
+ # is actually unset and not potentially set to a blank value.
+ if [[ ! -z "${CODEQL_ACTION_DID_AUTOBUILD_GOLANG}" ]]; then
+ echo "Expected the Go autobuilder not to be run, but the" \
+ "CODEQL_ACTION_DID_AUTOBUILD_GOLANG environment variable was set."
+ exit 1
+ fi
+ cd "$RUNNER_TEMP/codeql_databases"
+ if [[ ! -d go ]]; then
+ echo "Did not find a Go database"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml
index a1e9bb5cee..05451817a8 100644
--- a/.github/workflows/__go-tracing-legacy-workflow.yml
+++ b/.github/workflows/__go-tracing-legacy-workflow.yml
@@ -11,48 +11,50 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
go-tracing-legacy-workflow:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: macos-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: macos-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: macos-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: macos-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: macos-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: macos-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: macos-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: macos-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: 'Go: tracing with legacy workflow'
permissions:
contents: read
@@ -60,52 +62,52 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: actions/setup-go@v5
- with:
- go-version: ~1.22.0
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: actions/setup-go@v5
+ with:
+ go-version: ~1.22.0
# to avoid potentially misleading autobuilder results where we expect it to download
# dependencies successfully, but they actually come from a warm cache
- cache: false
- - uses: ./../action/init
- with:
- languages: go
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/analyze
- with:
- upload-database: false
- - shell: bash
- run: |
- cd "$RUNNER_TEMP/codeql_databases"
- if [[ ! -d go ]]; then
- echo "Did not find a Go database"
- exit 1
- fi
+ cache: false
+ - uses: ./../action/init
+ with:
+ languages: go
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ - shell: bash
+ run: |
+ cd "$RUNNER_TEMP/codeql_databases"
+ if [[ ! -d go ]]; then
+ echo "Did not find a Go database"
+ exit 1
+ fi
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml
index 6e41cf0a00..d083c5d730 100644
--- a/.github/workflows/__init-with-registries.yml
+++ b/.github/workflows/__init-with-registries.yml
@@ -11,38 +11,40 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
init-with-registries:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: 'Packaging: Download using registries'
permissions:
contents: read
@@ -51,94 +53,94 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Init with registries
- uses: ./../action/init
- with:
- db-location: ${{ runner.temp }}/customDbLocation
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- config-file: ./.github/codeql/codeql-config-registries.yml
- languages: javascript
- registries: |
- - url: "https://ghcr.io/v2/"
- packages: "*/*"
- token: "${{ secrets.GITHUB_TOKEN }}"
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Init with registries
+ uses: ./../action/init
+ with:
+ db-location: ${{ runner.temp }}/customDbLocation
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ config-file: ./.github/codeql/codeql-config-registries.yml
+ languages: javascript
+ registries: |
+ - url: "https://ghcr.io/v2/"
+ packages: "*/*"
+ token: "${{ secrets.GITHUB_TOKEN }}"
- - name: Verify packages installed
- shell: bash
- run: |
- PRIVATE_PACK="$HOME/.codeql/packages/codeql-testing/private-pack"
- CODEQL_PACK1="$HOME/.codeql/packages/codeql-testing/codeql-pack1"
+ - name: Verify packages installed
+ shell: bash
+ run: |
+ PRIVATE_PACK="$HOME/.codeql/packages/codeql-testing/private-pack"
+ CODEQL_PACK1="$HOME/.codeql/packages/codeql-testing/codeql-pack1"
- if [[ -d $PRIVATE_PACK ]]
- then
- echo "$PRIVATE_PACK was installed."
- else
- echo "::error $PRIVATE_PACK pack was not installed."
- exit 1
- fi
+ if [[ -d $PRIVATE_PACK ]]
+ then
+ echo "$PRIVATE_PACK was installed."
+ else
+ echo "::error $PRIVATE_PACK pack was not installed."
+ exit 1
+ fi
- if [[ -d $CODEQL_PACK1 ]]
- then
- echo "$CODEQL_PACK1 was installed."
- else
- echo "::error $CODEQL_PACK1 pack was not installed."
- exit 1
- fi
+ if [[ -d $CODEQL_PACK1 ]]
+ then
+ echo "$CODEQL_PACK1 was installed."
+ else
+ echo "::error $CODEQL_PACK1 pack was not installed."
+ exit 1
+ fi
- - name: Verify qlconfig.yml file was created
- shell: bash
- run: |
- QLCONFIG_PATH=$RUNNER_TEMP/qlconfig.yml
- echo "Expected qlconfig.yml file to be created at $QLCONFIG_PATH"
- if [[ -f $QLCONFIG_PATH ]]
- then
- echo "qlconfig.yml file was created."
- else
- echo "::error qlconfig.yml file was not created."
- exit 1
- fi
+ - name: Verify qlconfig.yml file was created
+ shell: bash
+ run: |
+ QLCONFIG_PATH=$RUNNER_TEMP/qlconfig.yml
+ echo "Expected qlconfig.yml file to be created at $QLCONFIG_PATH"
+ if [[ -f $QLCONFIG_PATH ]]
+ then
+ echo "qlconfig.yml file was created."
+ else
+ echo "::error qlconfig.yml file was not created."
+ exit 1
+ fi
- - name: Verify contents of qlconfig.yml
+ - name: Verify contents of qlconfig.yml
# yq is not available on windows
- if: runner.os != 'Windows'
- shell: bash
- run: |
- QLCONFIG_PATH=$RUNNER_TEMP/qlconfig.yml
- cat $QLCONFIG_PATH | yq -e '.registries[] | select(.url == "https://ghcr.io/v2/") | select(.packages == "*/*")'
- if [[ $? -eq 0 ]]
- then
- echo "Registry was added to qlconfig.yml file."
- else
- echo "::error Registry was not added to qlconfig.yml file."
- echo "Contents of qlconfig.yml file:"
- cat $QLCONFIG_PATH
- exit 1
- fi
+ if: runner.os != 'Windows'
+ shell: bash
+ run: |
+ QLCONFIG_PATH=$RUNNER_TEMP/qlconfig.yml
+ cat $QLCONFIG_PATH | yq -e '.registries[] | select(.url == "https://ghcr.io/v2/") | select(.packages == "*/*")'
+ if [[ $? -eq 0 ]]
+ then
+ echo "Registry was added to qlconfig.yml file."
+ else
+ echo "::error Registry was not added to qlconfig.yml file."
+ echo "Contents of qlconfig.yml file:"
+ cat $QLCONFIG_PATH
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml
index f87d5f9d2b..94b8d5110e 100644
--- a/.github/workflows/__javascript-source-root.yml
+++ b/.github/workflows/__javascript-source-root.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
javascript-source-root:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
name: Custom source root
permissions:
contents: read
@@ -38,54 +40,54 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Move codeql-action
- shell: bash
- run: |
- mkdir ../new-source-root
- mv * ../new-source-root
- - uses: ./../action/init
- with:
- languages: javascript
- source-root: ../new-source-root
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/analyze
- with:
- upload-database: false
- skip-queries: true
- upload: never
- - name: Assert database exists
- shell: bash
- run: |
- cd "$RUNNER_TEMP/codeql_databases"
- if [[ ! -d javascript ]]; then
- echo "Did not find a JavaScript database"
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Move codeql-action
+ shell: bash
+ run: |
+ mkdir ../new-source-root
+ mv * ../new-source-root
+ - uses: ./../action/init
+ with:
+ languages: javascript
+ source-root: ../new-source-root
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ skip-queries: true
+ upload: never
+ - name: Assert database exists
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/codeql_databases"
+ if [[ ! -d javascript ]]; then
+ echo "Did not find a JavaScript database"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__language-aliases.yml b/.github/workflows/__language-aliases.yml
index c796fdc72f..70965097e5 100644
--- a/.github/workflows/__language-aliases.yml
+++ b/.github/workflows/__language-aliases.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
language-aliases:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
+ - os: ubuntu-latest
+ version: latest
name: Language aliases
permissions:
contents: read
@@ -34,46 +36,46 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: C#,java-kotlin,swift,typescript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: C#,java-kotlin,swift,typescript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Check languages
- run: |
- expected_languages="csharp,java,swift,javascript"
- actual_languages=$(jq -r '.languages | join(",")' "$RUNNER_TEMP"/config)
+ - name: Check languages
+ run: |
+ expected_languages="csharp,java,swift,javascript"
+ actual_languages=$(jq -r '.languages | join(",")' "$RUNNER_TEMP"/config)
- if [ "$expected_languages" != "$actual_languages" ]; then
- echo "Resolved languages did not match expected list. " \
- "Expected languages: $expected_languages. Actual languages: $actual_languages."
- exit 1
- fi
+ if [ "$expected_languages" != "$actual_languages" ]; then
+ echo "Resolved languages did not match expected list. " \
+ "Expected languages: $expected_languages. Actual languages: $actual_languages."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml
index 0385d67f02..174740ea81 100644
--- a/.github/workflows/__multi-language-autodetect.yml
+++ b/.github/workflows/__multi-language-autodetect.yml
@@ -11,48 +11,50 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
multi-language-autodetect:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: macos-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: macos-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: macos-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: macos-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: macos-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: macos-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: macos-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: macos-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: Multi-language repository
permissions:
contents: read
@@ -60,100 +62,100 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- db-location: ${{ runner.temp }}/customDbLocation
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ db-location: ${{ runner.temp }}/customDbLocation
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{ steps.init.outputs.codeql-path }}
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{ steps.init.outputs.codeql-path }}
- - name: Build code
- shell: bash
- run: ./build.sh
+ - name: Build code
+ shell: bash
+ run: ./build.sh
- - uses: ./../action/analyze
- id: analysis
- with:
- upload-database: false
+ - uses: ./../action/analyze
+ id: analysis
+ with:
+ upload-database: false
- - name: Check language autodetect for all languages excluding Swift
- shell: bash
- run: |
- CPP_DB=${{ fromJson(steps.analysis.outputs.db-locations).cpp }}
- if [[ ! -d $CPP_DB ]] || [[ ! $CPP_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for CPP, or created it in the wrong location."
- exit 1
- fi
- CSHARP_DB=${{ fromJson(steps.analysis.outputs.db-locations).csharp }}
- if [[ ! -d $CSHARP_DB ]] || [[ ! $CSHARP_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for C Sharp, or created it in the wrong location."
- exit 1
- fi
- GO_DB=${{ fromJson(steps.analysis.outputs.db-locations).go }}
- if [[ ! -d $GO_DB ]] || [[ ! $GO_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for Go, or created it in the wrong location."
- exit 1
- fi
- JAVA_DB=${{ fromJson(steps.analysis.outputs.db-locations).java }}
- if [[ ! -d $JAVA_DB ]] || [[ ! $JAVA_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for Java, or created it in the wrong location."
- exit 1
- fi
- JAVASCRIPT_DB=${{ fromJson(steps.analysis.outputs.db-locations).javascript }}
- if [[ ! -d $JAVASCRIPT_DB ]] || [[ ! $JAVASCRIPT_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for Javascript, or created it in the wrong location."
- exit 1
- fi
- PYTHON_DB=${{ fromJson(steps.analysis.outputs.db-locations).python }}
- if [[ ! -d $PYTHON_DB ]] || [[ ! $PYTHON_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for Python, or created it in the wrong location."
- exit 1
- fi
- RUBY_DB=${{ fromJson(steps.analysis.outputs.db-locations).ruby }}
- if [[ ! -d $RUBY_DB ]] || [[ ! $RUBY_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for Ruby, or created it in the wrong location."
- exit 1
- fi
+ - name: Check language autodetect for all languages excluding Swift
+ shell: bash
+ run: |
+ CPP_DB=${{ fromJson(steps.analysis.outputs.db-locations).cpp }}
+ if [[ ! -d $CPP_DB ]] || [[ ! $CPP_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for CPP, or created it in the wrong location."
+ exit 1
+ fi
+ CSHARP_DB=${{ fromJson(steps.analysis.outputs.db-locations).csharp }}
+ if [[ ! -d $CSHARP_DB ]] || [[ ! $CSHARP_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for C Sharp, or created it in the wrong location."
+ exit 1
+ fi
+ GO_DB=${{ fromJson(steps.analysis.outputs.db-locations).go }}
+ if [[ ! -d $GO_DB ]] || [[ ! $GO_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for Go, or created it in the wrong location."
+ exit 1
+ fi
+ JAVA_DB=${{ fromJson(steps.analysis.outputs.db-locations).java }}
+ if [[ ! -d $JAVA_DB ]] || [[ ! $JAVA_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for Java, or created it in the wrong location."
+ exit 1
+ fi
+ JAVASCRIPT_DB=${{ fromJson(steps.analysis.outputs.db-locations).javascript }}
+ if [[ ! -d $JAVASCRIPT_DB ]] || [[ ! $JAVASCRIPT_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for Javascript, or created it in the wrong location."
+ exit 1
+ fi
+ PYTHON_DB=${{ fromJson(steps.analysis.outputs.db-locations).python }}
+ if [[ ! -d $PYTHON_DB ]] || [[ ! $PYTHON_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for Python, or created it in the wrong location."
+ exit 1
+ fi
+ RUBY_DB=${{ fromJson(steps.analysis.outputs.db-locations).ruby }}
+ if [[ ! -d $RUBY_DB ]] || [[ ! $RUBY_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for Ruby, or created it in the wrong location."
+ exit 1
+ fi
- - name: Check language autodetect for Swift
- if: >-
- env.CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT == 'true' ||
- (runner.os != 'Windows' && matrix.version == 'nightly-latest')
- shell: bash
- run: |
- SWIFT_DB=${{ fromJson(steps.analysis.outputs.db-locations).swift }}
- if [[ ! -d $SWIFT_DB ]] || [[ ! $SWIFT_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
- echo "Did not create a database for Swift, or created it in the wrong location."
- exit 1
- fi
+ - name: Check language autodetect for Swift
+ if: >-
+ env.CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT == 'true' ||
+ (runner.os != 'Windows' && matrix.version == 'nightly-latest')
+ shell: bash
+ run: |
+ SWIFT_DB=${{ fromJson(steps.analysis.outputs.db-locations).swift }}
+ if [[ ! -d $SWIFT_DB ]] || [[ ! $SWIFT_DB == ${{ runner.temp }}/customDbLocation/* ]]; then
+ echo "Did not create a database for Swift, or created it in the wrong location."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml
index 07f16ab32b..e36abefc29 100644
--- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml
+++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml
@@ -11,38 +11,40 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
packaging-codescanning-config-inputs-js:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: 'Packaging: Config and input passed to the CLI'
permissions:
contents: read
@@ -50,67 +52,67 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- config-file: .github/codeql/codeql-config-packaging3.yml
- packs: +codeql-testing/codeql-pack1@1.0.0
- languages: javascript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ config-file: .github/codeql/codeql-config-packaging3.yml
+ packs: +codeql-testing/codeql-pack1@1.0.0
+ languages: javascript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ upload-database: false
- - name: Check results
- uses: ./../action/.github/actions/check-sarif
- with:
- sarif-file: ${{ runner.temp }}/results/javascript.sarif
- queries-run:
- javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
- queries-not-run: foo,bar
+ - name: Check results
+ uses: ./../action/.github/actions/check-sarif
+ with:
+ sarif-file: ${{ runner.temp }}/results/javascript.sarif
+ queries-run:
+ javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
+ queries-not-run: foo,bar
- - name: Assert Results
- shell: bash
- run: |
- cd "$RUNNER_TEMP/results"
- # We should have 4 hits from these rules
- EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
+ - name: Assert Results
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/results"
+ # We should have 4 hits from these rules
+ EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
- # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
- RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
- echo "Found matching rules '$RULES'"
- if [ "$RULES" != "$EXPECTED_RULES" ]; then
- echo "Did not match expected rules '$EXPECTED_RULES'."
- exit 1
- fi
+ # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
+ RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
+ echo "Found matching rules '$RULES'"
+ if [ "$RULES" != "$EXPECTED_RULES" ]; then
+ echo "Did not match expected rules '$EXPECTED_RULES'."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml
index 79a9034436..7b8d3746f1 100644
--- a/.github/workflows/__packaging-config-inputs-js.yml
+++ b/.github/workflows/__packaging-config-inputs-js.yml
@@ -11,38 +11,40 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
packaging-config-inputs-js:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: 'Packaging: Config and input'
permissions:
contents: read
@@ -50,67 +52,67 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- config-file: .github/codeql/codeql-config-packaging3.yml
- packs: +codeql-testing/codeql-pack1@1.0.0
- languages: javascript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ config-file: .github/codeql/codeql-config-packaging3.yml
+ packs: +codeql-testing/codeql-pack1@1.0.0
+ languages: javascript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ upload-database: false
- - name: Check results
- uses: ./../action/.github/actions/check-sarif
- with:
- sarif-file: ${{ runner.temp }}/results/javascript.sarif
- queries-run:
- javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
- queries-not-run: foo,bar
+ - name: Check results
+ uses: ./../action/.github/actions/check-sarif
+ with:
+ sarif-file: ${{ runner.temp }}/results/javascript.sarif
+ queries-run:
+ javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
+ queries-not-run: foo,bar
- - name: Assert Results
- shell: bash
- run: |
- cd "$RUNNER_TEMP/results"
- # We should have 4 hits from these rules
- EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
+ - name: Assert Results
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/results"
+ # We should have 4 hits from these rules
+ EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
- # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
- RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
- echo "Found matching rules '$RULES'"
- if [ "$RULES" != "$EXPECTED_RULES" ]; then
- echo "Did not match expected rules '$EXPECTED_RULES'."
- exit 1
- fi
+ # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
+ RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
+ echo "Found matching rules '$RULES'"
+ if [ "$RULES" != "$EXPECTED_RULES" ]; then
+ echo "Did not match expected rules '$EXPECTED_RULES'."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml
index 8654b8eb8b..bf6b101349 100644
--- a/.github/workflows/__packaging-config-js.yml
+++ b/.github/workflows/__packaging-config-js.yml
@@ -11,38 +11,40 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
packaging-config-js:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: 'Packaging: Config file'
permissions:
contents: read
@@ -50,66 +52,66 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- config-file: .github/codeql/codeql-config-packaging.yml
- languages: javascript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ config-file: .github/codeql/codeql-config-packaging.yml
+ languages: javascript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ upload-database: false
- - name: Check results
- uses: ./../action/.github/actions/check-sarif
- with:
- sarif-file: ${{ runner.temp }}/results/javascript.sarif
- queries-run:
- javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
- queries-not-run: foo,bar
+ - name: Check results
+ uses: ./../action/.github/actions/check-sarif
+ with:
+ sarif-file: ${{ runner.temp }}/results/javascript.sarif
+ queries-run:
+ javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
+ queries-not-run: foo,bar
- - name: Assert Results
- shell: bash
- run: |
- cd "$RUNNER_TEMP/results"
- # We should have 4 hits from these rules
- EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
+ - name: Assert Results
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/results"
+ # We should have 4 hits from these rules
+ EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
- # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
- RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
- echo "Found matching rules '$RULES'"
- if [ "$RULES" != "$EXPECTED_RULES" ]; then
- echo "Did not match expected rules '$EXPECTED_RULES'."
- exit 1
- fi
+ # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
+ RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
+ echo "Found matching rules '$RULES'"
+ if [ "$RULES" != "$EXPECTED_RULES" ]; then
+ echo "Did not match expected rules '$EXPECTED_RULES'."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml
index 079da18d20..fa0a5768c9 100644
--- a/.github/workflows/__packaging-inputs-js.yml
+++ b/.github/workflows/__packaging-inputs-js.yml
@@ -11,38 +11,40 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
packaging-inputs-js:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: 'Packaging: Action input'
permissions:
contents: read
@@ -50,66 +52,66 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- config-file: .github/codeql/codeql-config-packaging2.yml
- languages: javascript
- packs: codeql-testing/codeql-pack1@1.0.0, codeql-testing/codeql-pack2, codeql-testing/codeql-pack3:other-query.ql
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ config-file: .github/codeql/codeql-config-packaging2.yml
+ languages: javascript
+ packs: codeql-testing/codeql-pack1@1.0.0, codeql-testing/codeql-pack2, codeql-testing/codeql-pack3:other-query.ql
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
- - name: Check results
- uses: ./../action/.github/actions/check-sarif
- with:
- sarif-file: ${{ runner.temp }}/results/javascript.sarif
- queries-run:
- javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
- queries-not-run: foo,bar
+ - name: Check results
+ uses: ./../action/.github/actions/check-sarif
+ with:
+ sarif-file: ${{ runner.temp }}/results/javascript.sarif
+ queries-run:
+ javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block
+ queries-not-run: foo,bar
- - name: Assert Results
- shell: bash
- run: |
- cd "$RUNNER_TEMP/results"
- # We should have 4 hits from these rules
- EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
+ - name: Assert Results
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/results"
+ # We should have 4 hits from these rules
+ EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
- # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
- RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
- echo "Found matching rules '$RULES'"
- if [ "$RULES" != "$EXPECTED_RULES" ]; then
- echo "Did not match expected rules '$EXPECTED_RULES'."
- exit 1
- fi
+ # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
+ RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
+ echo "Found matching rules '$RULES'"
+ if [ "$RULES" != "$EXPECTED_RULES" ]; then
+ echo "Did not match expected rules '$EXPECTED_RULES'."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml
index d0f0e0d83a..a46201f99b 100644
--- a/.github/workflows/__remote-config.yml
+++ b/.github/workflows/__remote-config.yml
@@ -11,62 +11,64 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
remote-config:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: macos-latest
- version: stable-20221211
- - os: windows-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: macos-latest
- version: stable-20230418
- - os: windows-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: macos-latest
- version: stable-v2.13.5
- - os: windows-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: macos-latest
- version: stable-v2.14.6
- - os: windows-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: macos-latest
+ version: stable-20221211
+ - os: windows-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: macos-latest
+ version: stable-20230418
+ - os: windows-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: macos-latest
+ version: stable-v2.13.5
+ - os: windows-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: macos-latest
+ version: stable-v2.14.6
+ - os: windows-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: Remote config file
permissions:
contents: read
@@ -74,41 +76,41 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- languages: cpp,csharp,java,javascript,python
- config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{
- github.sha }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ languages: cpp,csharp,java,javascript,python
+ config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{
+ github.sha }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__resolve-environment-action.yml b/.github/workflows/__resolve-environment-action.yml
index e6d5a6f294..e3146aeb23 100644
--- a/.github/workflows/__resolve-environment-action.yml
+++ b/.github/workflows/__resolve-environment-action.yml
@@ -11,44 +11,46 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
resolve-environment-action:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-v2.13.4
- - os: macos-latest
- version: stable-v2.13.4
- - os: windows-latest
- version: stable-v2.13.4
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
- - os: windows-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-v2.13.4
+ - os: macos-latest
+ version: stable-v2.13.4
+ - os: windows-latest
+ version: stable-v2.13.4
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
+ - os: windows-latest
+ version: nightly-latest
name: Resolve environment
permissions:
contents: read
@@ -56,58 +58,58 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: ${{ matrix.version == 'stable-v2.13.4' && 'go' || 'go,javascript-typescript'
- }}
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: ${{ matrix.version == 'stable-v2.13.4' && 'go' || 'go,javascript-typescript'
+ }}
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Resolve environment for Go
- uses: ./../action/resolve-environment
- id: resolve-environment-go
- with:
- language: go
+ - name: Resolve environment for Go
+ uses: ./../action/resolve-environment
+ id: resolve-environment-go
+ with:
+ language: go
- - name: Fail if Go configuration missing
- if: (!fromJSON(steps.resolve-environment-go.outputs.environment).configuration.go)
- run: exit 1
+ - name: Fail if Go configuration missing
+ if: (!fromJSON(steps.resolve-environment-go.outputs.environment).configuration.go)
+ run: exit 1
- - name: Resolve environment for JavaScript/TypeScript
- if: matrix.version != 'stable-v2.13.4'
- uses: ./../action/resolve-environment
- id: resolve-environment-js
- with:
- language: javascript-typescript
+ - name: Resolve environment for JavaScript/TypeScript
+ if: matrix.version != 'stable-v2.13.4'
+ uses: ./../action/resolve-environment
+ id: resolve-environment-js
+ with:
+ language: javascript-typescript
- - name: Fail if JavaScript/TypeScript configuration present
- if: matrix.version != 'stable-v2.13.4' &&
- fromJSON(steps.resolve-environment-js.outputs.environment).configuration.javascript
- run: exit 1
+ - name: Fail if JavaScript/TypeScript configuration present
+ if: matrix.version != 'stable-v2.13.4' &&
+ fromJSON(steps.resolve-environment-js.outputs.environment).configuration.javascript
+ run: exit 1
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml
index 9017c3d9a1..41ebce88f7 100644
--- a/.github/workflows/__rubocop-multi-language.yml
+++ b/.github/workflows/__rubocop-multi-language.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
rubocop-multi-language:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: default
+ - os: ubuntu-latest
+ version: default
name: RuboCop multi-language
permissions:
contents: read
@@ -34,51 +36,51 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: 2.6
- - name: Install Code Scanning integration
- shell: bash
- run: bundle add code-scanning-rubocop --version 0.3.0 --skip-install
- - name: Install dependencies
- shell: bash
- run: bundle install
- - name: RuboCop run
- shell: bash
- run: |
- bash -c "
- bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
- [[ $? -ne 2 ]]
- "
- - uses: ./../action/upload-sarif
- with:
- sarif_file: rubocop.sarif
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: 2.6
+ - name: Install Code Scanning integration
+ shell: bash
+ run: bundle add code-scanning-rubocop --version 0.3.0 --skip-install
+ - name: Install dependencies
+ shell: bash
+ run: bundle install
+ - name: RuboCop run
+ shell: bash
+ run: |
+ bash -c "
+ bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
+ [[ $? -ne 2 ]]
+ "
+ - uses: ./../action/upload-sarif
+ with:
+ sarif_file: rubocop.sarif
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml
index 2e48a2847d..6271415446 100644
--- a/.github/workflows/__ruby.yml
+++ b/.github/workflows/__ruby.yml
@@ -11,32 +11,34 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
ruby:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: Ruby analysis
permissions:
contents: read
@@ -44,47 +46,47 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: ruby
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/analyze
- id: analysis
- with:
- upload-database: false
- - name: Check database
- shell: bash
- run: |
- RUBY_DB="${{ fromJson(steps.analysis.outputs.db-locations).ruby }}"
- if [[ ! -d "$RUBY_DB" ]]; then
- echo "Did not create a database for Ruby."
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: ruby
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/analyze
+ id: analysis
+ with:
+ upload-database: false
+ - name: Check database
+ shell: bash
+ run: |
+ RUBY_DB="${{ fromJson(steps.analysis.outputs.db-locations).ruby }}"
+ if [[ ! -d "$RUBY_DB" ]]; then
+ echo "Did not create a database for Ruby."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__scaling-reserved-ram.yml b/.github/workflows/__scaling-reserved-ram.yml
index 5ca51822fb..b7a737823f 100644
--- a/.github/workflows/__scaling-reserved-ram.yml
+++ b/.github/workflows/__scaling-reserved-ram.yml
@@ -11,48 +11,50 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
scaling-reserved-ram:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: macos-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: macos-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: macos-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: macos-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: macos-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: macos-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: macos-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: macos-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: Scaling reserved RAM
permissions:
contents: read
@@ -60,50 +62,50 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- db-location: ${{ runner.temp }}/customDbLocation
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ db-location: ${{ runner.temp }}/customDbLocation
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{ steps.init.outputs.codeql-path }}
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{ steps.init.outputs.codeql-path }}
- - name: Build code
- shell: bash
- run: ./build.sh
+ - name: Build code
+ shell: bash
+ run: ./build.sh
- - uses: ./../action/analyze
- id: analysis
- with:
- upload-database: false
+ - uses: ./../action/analyze
+ id: analysis
+ with:
+ upload-database: false
env:
CODEQL_ACTION_SCALING_RESERVED_RAM: true
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml
index 11820f6ddb..f65cf5884b 100644
--- a/.github/workflows/__split-workflow.yml
+++ b/.github/workflows/__split-workflow.yml
@@ -11,32 +11,34 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
split-workflow:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: Split workflow
permissions:
contents: read
@@ -44,71 +46,71 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- config-file: .github/codeql/codeql-config-packaging3.yml
- packs: +codeql-testing/codeql-pack1@1.0.0
- languages: javascript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- skip-queries: true
- output: ${{ runner.temp }}/results
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ config-file: .github/codeql/codeql-config-packaging3.yml
+ packs: +codeql-testing/codeql-pack1@1.0.0
+ languages: javascript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ skip-queries: true
+ output: ${{ runner.temp }}/results
+ upload-database: false
- - name: Assert No Results
- shell: bash
- run: |
- if [ "$(ls -A $RUNNER_TEMP/results)" ]; then
- echo "Expected results directory to be empty after skipping query execution!"
- exit 1
- fi
- - uses: ./../action/analyze
- with:
- output: ${{ runner.temp }}/results
- upload-database: false
- - name: Assert Results
- shell: bash
- run: |
- cd "$RUNNER_TEMP/results"
- # We should have 4 hits from these rules
- EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
+ - name: Assert No Results
+ shell: bash
+ run: |
+ if [ "$(ls -A $RUNNER_TEMP/results)" ]; then
+ echo "Expected results directory to be empty after skipping query execution!"
+ exit 1
+ fi
+ - uses: ./../action/analyze
+ with:
+ output: ${{ runner.temp }}/results
+ upload-database: false
+ - name: Assert Results
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/results"
+ # We should have 4 hits from these rules
+ EXPECTED_RULES="javascript/example/empty-or-one-block javascript/example/empty-or-one-block javascript/example/other-query-block javascript/example/two-block"
- # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
- RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
- echo "Found matching rules '$RULES'"
- if [ "$RULES" != "$EXPECTED_RULES" ]; then
- echo "Did not match expected rules '$EXPECTED_RULES'."
- exit 1
- fi
+ # use tr to replace newlines with spaces and xargs to trim leading and trailing whitespace
+ RULES="$(cat javascript.sarif | jq -r '.runs[0].results[].ruleId' | sort | tr "\n\r" " " | xargs)"
+ echo "Found matching rules '$RULES'"
+ if [ "$RULES" != "$EXPECTED_RULES" ]; then
+ echo "Did not match expected rules '$EXPECTED_RULES'."
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml
index a50dc1aa92..c484810c8c 100644
--- a/.github/workflows/__submit-sarif-failure.yml
+++ b/.github/workflows/__submit-sarif-failure.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
submit-sarif-failure:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
name: Submit SARIF after failure
permissions:
contents: read
@@ -38,49 +40,49 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: actions/checkout@v4
- - uses: ./init
- with:
- languages: javascript
- - name: Fail
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: actions/checkout@v4
+ - uses: ./init
+ with:
+ languages: javascript
+ - name: Fail
# We want this job to pass if the Action correctly uploads the SARIF file for
# the failed run.
# Setting this step to continue on error means that it is marked as completing
# successfully, so will not fail the job.
- continue-on-error: true
- run: exit 1
- - uses: ./analyze
+ continue-on-error: true
+ run: exit 1
+ - uses: ./analyze
# In a real workflow, this step wouldn't run. Since we used `continue-on-error`
# above, we manually disable it with an `if` condition.
- if: false
- with:
- category: /test-codeql-version:${{ matrix.version }}
+ if: false
+ with:
+ category: /test-codeql-version:${{ matrix.version }}
env:
# Internal-only environment variable used to indicate that the post-init Action
# should expect to upload a SARIF file for the failed run.
diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml
index 1643444139..4f4ff65eef 100644
--- a/.github/workflows/__swift-custom-build.yml
+++ b/.github/workflows/__swift-custom-build.yml
@@ -11,32 +11,34 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
swift-custom-build:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: ubuntu-latest
- version: nightly-latest
- - os: macos-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: ubuntu-latest
+ version: nightly-latest
+ - os: macos-latest
+ version: nightly-latest
name: Swift analysis using a custom build command
permissions:
contents: read
@@ -44,58 +46,58 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- languages: swift
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{steps.init.outputs.codeql-path}}
- - name: Check working directory
- shell: bash
- run: pwd
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- id: analysis
- with:
- upload-database: false
- - name: Check database
- shell: bash
- run: |
- SWIFT_DB="${{ fromJson(steps.analysis.outputs.db-locations).swift }}"
- if [[ ! -d "$SWIFT_DB" ]]; then
- echo "Did not create a database for Swift."
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ languages: swift
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{steps.init.outputs.codeql-path}}
+ - name: Check working directory
+ shell: bash
+ run: pwd
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ id: analysis
+ with:
+ upload-database: false
+ - name: Check database
+ shell: bash
+ run: |
+ SWIFT_DB="${{ fromJson(steps.analysis.outputs.db-locations).swift }}"
+ if [[ ! -d "$SWIFT_DB" ]]; then
+ echo "Did not create a database for Swift."
+ exit 1
+ fi
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: 'false'
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml
index 658f93e95a..d9db7683f4 100644
--- a/.github/workflows/__test-autobuild-working-dir.yml
+++ b/.github/workflows/__test-autobuild-working-dir.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
test-autobuild-working-dir:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
+ - os: ubuntu-latest
+ version: latest
name: Autobuild working directory
permissions:
contents: read
@@ -34,56 +36,56 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Test setup
- shell: bash
- run: |
- # Make sure that Gradle build succeeds in autobuild-dir ...
- cp -a ../action/tests/java-repo autobuild-dir
- # ... and fails if attempted in the current directory
- echo > build.gradle
- - uses: ./../action/init
- with:
- languages: java
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/autobuild
- with:
- working-directory: autobuild-dir
- - uses: ./../action/analyze
- with:
- upload-database: false
- - name: Check database
- shell: bash
- run: |
- cd "$RUNNER_TEMP/codeql_databases"
- if [[ ! -d java ]]; then
- echo "Did not find a Java database"
- exit 1
- fi
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Test setup
+ shell: bash
+ run: |
+ # Make sure that Gradle build succeeds in autobuild-dir ...
+ cp -a ../action/tests/java-repo autobuild-dir
+ # ... and fails if attempted in the current directory
+ echo > build.gradle
+ - uses: ./../action/init
+ with:
+ languages: java
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/autobuild
+ with:
+ working-directory: autobuild-dir
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ - name: Check database
+ shell: bash
+ run: |
+ cd "$RUNNER_TEMP/codeql_databases"
+ if [[ ! -d java ]]; then
+ echo "Did not find a Java database"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml
index c4e85c2b5c..5dc36f873d 100644
--- a/.github/workflows/__test-local-codeql.yml
+++ b/.github/workflows/__test-local-codeql.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
test-local-codeql:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: nightly-latest
name: Local CodeQL bundle
permissions:
contents: read
@@ -34,50 +36,50 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Fetch a CodeQL bundle
- shell: bash
- env:
- CODEQL_URL: ${{ steps.prepare-test.outputs.tools-url }}
- run: |
- wget "$CODEQL_URL"
- - id: init
- uses: ./../action/init
- with:
- tools: ./codeql-bundle-linux64.tar.gz
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{ steps.init.outputs.codeql-path }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Fetch a CodeQL bundle
+ shell: bash
+ env:
+ CODEQL_URL: ${{ steps.prepare-test.outputs.tools-url }}
+ run: |
+ wget "$CODEQL_URL"
+ - id: init
+ uses: ./../action/init
+ with:
+ tools: ./codeql-bundle-linux64.tar.gz
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{ steps.init.outputs.codeql-path }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml
index b393677071..89f3aa2fdd 100644
--- a/.github/workflows/__test-proxy.yml
+++ b/.github/workflows/__test-proxy.yml
@@ -11,22 +11,24 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
test-proxy:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
+ - os: ubuntu-latest
+ version: latest
name: Proxy test
permissions:
contents: read
@@ -34,39 +36,39 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- languages: javascript
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/analyze
- with:
- upload-database: false
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ languages: javascript
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
env:
https_proxy: http://squid-proxy:3128
CODEQL_ACTION_TEST_MODE: true
@@ -77,4 +79,4 @@ jobs:
squid-proxy:
image: ubuntu/squid:latest
ports:
- - 3128:3128
+ - 3128:3128
diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml
index f8dd0defe6..c138451b8a 100644
--- a/.github/workflows/__unset-environment.yml
+++ b/.github/workflows/__unset-environment.yml
@@ -11,34 +11,36 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
unset-environment:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: stable-20221211
- - os: ubuntu-latest
- version: stable-20230418
- - os: ubuntu-latest
- version: stable-v2.13.5
- - os: ubuntu-latest
- version: stable-v2.14.6
- - os: ubuntu-latest
- version: default
- - os: ubuntu-latest
- version: latest
- - os: ubuntu-latest
- version: nightly-latest
+ - os: ubuntu-latest
+ version: stable-20221211
+ - os: ubuntu-latest
+ version: stable-20230418
+ - os: ubuntu-latest
+ version: stable-v2.13.5
+ - os: ubuntu-latest
+ version: stable-v2.14.6
+ - os: ubuntu-latest
+ version: default
+ - os: ubuntu-latest
+ version: latest
+ - os: ubuntu-latest
+ version: nightly-latest
name: Test unsetting environment variables
permissions:
contents: read
@@ -46,87 +48,87 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- id: init
- with:
- db-location: ${{ runner.temp }}/customDbLocation
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- - uses: ./../action/.github/actions/setup-swift
- with:
- codeql-path: ${{ steps.init.outputs.codeql-path }}
- - name: Build code
- shell: bash
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ id: init
+ with:
+ db-location: ${{ runner.temp }}/customDbLocation
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/.github/actions/setup-swift
+ with:
+ codeql-path: ${{ steps.init.outputs.codeql-path }}
+ - name: Build code
+ shell: bash
# Disable Kotlin analysis while it's incompatible with Kotlin 1.8, until we find a
# workaround for our PR checks.
- run: env -i CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN=true PATH="$PATH" HOME="$HOME"
- ./build.sh
- - uses: ./../action/analyze
- id: analysis
- with:
- upload-database: false
- - shell: bash
- run: |
- CPP_DB="${{ fromJson(steps.analysis.outputs.db-locations).cpp }}"
- if [[ ! -d "$CPP_DB" ]] || [[ ! "$CPP_DB" == "${RUNNER_TEMP}/customDbLocation/cpp" ]]; then
- echo "::error::Did not create a database for CPP, or created it in the wrong location." \
- "Expected location was '${RUNNER_TEMP}/customDbLocation/cpp' but actual was '${CPP_DB}'"
- exit 1
- fi
- CSHARP_DB="${{ fromJson(steps.analysis.outputs.db-locations).csharp }}"
- if [[ ! -d "$CSHARP_DB" ]] || [[ ! "$CSHARP_DB" == "${RUNNER_TEMP}/customDbLocation/csharp" ]]; then
- echo "::error::Did not create a database for C Sharp, or created it in the wrong location." \
- "Expected location was '${RUNNER_TEMP}/customDbLocation/csharp' but actual was '${CSHARP_DB}'"
- exit 1
- fi
- GO_DB="${{ fromJson(steps.analysis.outputs.db-locations).go }}"
- if [[ ! -d "$GO_DB" ]] || [[ ! "$GO_DB" == "${RUNNER_TEMP}/customDbLocation/go" ]]; then
- echo "::error::Did not create a database for Go, or created it in the wrong location." \
- "Expected location was '${RUNNER_TEMP}/customDbLocation/go' but actual was '${GO_DB}'"
- exit 1
- fi
- JAVA_DB="${{ fromJson(steps.analysis.outputs.db-locations).java }}"
- if [[ ! -d "$JAVA_DB" ]] || [[ ! "$JAVA_DB" == "${RUNNER_TEMP}/customDbLocation/java" ]]; then
- echo "::error::Did not create a database for Java, or created it in the wrong location." \
- "Expected location was '${RUNNER_TEMP}/customDbLocation/java' but actual was '${JAVA_DB}'"
- exit 1
- fi
- JAVASCRIPT_DB="${{ fromJson(steps.analysis.outputs.db-locations).javascript }}"
- if [[ ! -d "$JAVASCRIPT_DB" ]] || [[ ! "$JAVASCRIPT_DB" == "${RUNNER_TEMP}/customDbLocation/javascript" ]]; then
- echo "::error::Did not create a database for Javascript, or created it in the wrong location." \
- "Expected location was '${RUNNER_TEMP}/customDbLocation/javascript' but actual was '${JAVASCRIPT_DB}'"
- exit 1
- fi
- PYTHON_DB="${{ fromJson(steps.analysis.outputs.db-locations).python }}"
- if [[ ! -d "$PYTHON_DB" ]] || [[ ! "$PYTHON_DB" == "${RUNNER_TEMP}/customDbLocation/python" ]]; then
- echo "::error::Did not create a database for Python, or created it in the wrong location." \
- "Expected location was '${RUNNER_TEMP}/customDbLocation/python' but actual was '${PYTHON_DB}'"
- exit 1
- fi
+ run: env -i CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN=true PATH="$PATH" HOME="$HOME"
+ ./build.sh
+ - uses: ./../action/analyze
+ id: analysis
+ with:
+ upload-database: false
+ - shell: bash
+ run: |
+ CPP_DB="${{ fromJson(steps.analysis.outputs.db-locations).cpp }}"
+ if [[ ! -d "$CPP_DB" ]] || [[ ! "$CPP_DB" == "${RUNNER_TEMP}/customDbLocation/cpp" ]]; then
+ echo "::error::Did not create a database for CPP, or created it in the wrong location." \
+ "Expected location was '${RUNNER_TEMP}/customDbLocation/cpp' but actual was '${CPP_DB}'"
+ exit 1
+ fi
+ CSHARP_DB="${{ fromJson(steps.analysis.outputs.db-locations).csharp }}"
+ if [[ ! -d "$CSHARP_DB" ]] || [[ ! "$CSHARP_DB" == "${RUNNER_TEMP}/customDbLocation/csharp" ]]; then
+ echo "::error::Did not create a database for C Sharp, or created it in the wrong location." \
+ "Expected location was '${RUNNER_TEMP}/customDbLocation/csharp' but actual was '${CSHARP_DB}'"
+ exit 1
+ fi
+ GO_DB="${{ fromJson(steps.analysis.outputs.db-locations).go }}"
+ if [[ ! -d "$GO_DB" ]] || [[ ! "$GO_DB" == "${RUNNER_TEMP}/customDbLocation/go" ]]; then
+ echo "::error::Did not create a database for Go, or created it in the wrong location." \
+ "Expected location was '${RUNNER_TEMP}/customDbLocation/go' but actual was '${GO_DB}'"
+ exit 1
+ fi
+ JAVA_DB="${{ fromJson(steps.analysis.outputs.db-locations).java }}"
+ if [[ ! -d "$JAVA_DB" ]] || [[ ! "$JAVA_DB" == "${RUNNER_TEMP}/customDbLocation/java" ]]; then
+ echo "::error::Did not create a database for Java, or created it in the wrong location." \
+ "Expected location was '${RUNNER_TEMP}/customDbLocation/java' but actual was '${JAVA_DB}'"
+ exit 1
+ fi
+ JAVASCRIPT_DB="${{ fromJson(steps.analysis.outputs.db-locations).javascript }}"
+ if [[ ! -d "$JAVASCRIPT_DB" ]] || [[ ! "$JAVASCRIPT_DB" == "${RUNNER_TEMP}/customDbLocation/javascript" ]]; then
+ echo "::error::Did not create a database for Javascript, or created it in the wrong location." \
+ "Expected location was '${RUNNER_TEMP}/customDbLocation/javascript' but actual was '${JAVASCRIPT_DB}'"
+ exit 1
+ fi
+ PYTHON_DB="${{ fromJson(steps.analysis.outputs.db-locations).python }}"
+ if [[ ! -d "$PYTHON_DB" ]] || [[ ! "$PYTHON_DB" == "${RUNNER_TEMP}/customDbLocation/python" ]]; then
+ echo "::error::Did not create a database for Python, or created it in the wrong location." \
+ "Expected location was '${RUNNER_TEMP}/customDbLocation/python' but actual was '${PYTHON_DB}'"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml
index 37f0e6a16b..74a46713a1 100644
--- a/.github/workflows/__upload-ref-sha-input.yml
+++ b/.github/workflows/__upload-ref-sha-input.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
upload-ref-sha-input:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: default
- - os: macos-latest
- version: default
- - os: windows-latest
- version: default
+ - os: ubuntu-latest
+ version: default
+ - os: macos-latest
+ version: default
+ - os: windows-latest
+ version: default
name: "Upload-sarif: 'ref' and 'sha' from inputs"
permissions:
contents: read
@@ -38,50 +40,50 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - uses: ./../action/init
- with:
- tools: ${{ steps.prepare-test.outputs.tools-url }}
- languages: cpp,csharp,java,javascript,python
- config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{
- github.sha }}
- - name: Build code
- shell: bash
- run: ./build.sh
- - uses: ./../action/analyze
- with:
- upload-database: false
- ref: refs/heads/main
- sha: 5e235361806c361d4d3f8859e3c897658025a9a2
- upload: never
- - uses: ./../action/upload-sarif
- with:
- ref: refs/heads/main
- sha: 5e235361806c361d4d3f8859e3c897658025a9a2
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - uses: ./../action/init
+ with:
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
+ languages: cpp,csharp,java,javascript,python
+ config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{
+ github.sha }}
+ - name: Build code
+ shell: bash
+ run: ./build.sh
+ - uses: ./../action/analyze
+ with:
+ upload-database: false
+ ref: refs/heads/main
+ sha: 5e235361806c361d4d3f8859e3c897658025a9a2
+ upload: never
+ - uses: ./../action/upload-sarif
+ with:
+ ref: refs/heads/main
+ sha: 5e235361806c361d4d3f8859e3c897658025a9a2
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml
index 22f3960e2e..a41cce7a41 100644
--- a/.github/workflows/__with-checkout-path.yml
+++ b/.github/workflows/__with-checkout-path.yml
@@ -11,26 +11,28 @@ env:
on:
push:
branches:
- - main
- - releases/v*
+ - main
+ - releases/v*
pull_request:
types:
- - opened
- - synchronize
- - reopened
- - ready_for_review
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
with-checkout-path:
strategy:
matrix:
include:
- - os: ubuntu-latest
- version: latest
- - os: macos-latest
- version: latest
- - os: windows-latest
- version: latest
+ - os: ubuntu-latest
+ version: latest
+ - os: macos-latest
+ version: latest
+ - os: windows-latest
+ version: latest
name: Use a custom `checkout_path`
permissions:
contents: read
@@ -38,100 +40,100 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
- - name: Setup Python on MacOS
- uses: actions/setup-python@v5
- if: >-
- matrix.os == 'macos-latest' && (
+ - name: Setup Python on MacOS
+ uses: actions/setup-python@v5
+ if: >-
+ matrix.os == 'macos-latest' && (
- matrix.version == 'stable-20221211' ||
+ matrix.version == 'stable-20221211' ||
- matrix.version == 'stable-20230418' ||
+ matrix.version == 'stable-20230418' ||
- matrix.version == 'stable-v2.13.5' ||
+ matrix.version == 'stable-v2.13.5' ||
- matrix.version == 'stable-v2.14.6')
- with:
- python-version: '3.11'
- - name: Check out repository
- uses: actions/checkout@v4
- - name: Prepare test
- id: prepare-test
- uses: ./.github/actions/prepare-test
- with:
- version: ${{ matrix.version }}
- use-all-platform-bundle: 'false'
- - name: Set environment variable for Swift enablement
- if: runner.os != 'Windows' && matrix.version == '20221211'
- shell: bash
- run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
- - name: Delete original checkout
- shell: bash
- run: |
- # delete the original checkout so we don't accidentally use it.
- # Actions does not support deleting the current working directory, so we
- # delete the contents of the directory instead.
- rm -rf ./* .github .git
+ matrix.version == 'stable-v2.14.6')
+ with:
+ python-version: '3.11'
+ - name: Check out repository
+ uses: actions/checkout@v4
+ - name: Prepare test
+ id: prepare-test
+ uses: ./.github/actions/prepare-test
+ with:
+ version: ${{ matrix.version }}
+ use-all-platform-bundle: 'false'
+ - name: Set environment variable for Swift enablement
+ if: runner.os != 'Windows' && matrix.version == '20221211'
+ shell: bash
+ run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV
+ - name: Delete original checkout
+ shell: bash
+ run: |
+ # delete the original checkout so we don't accidentally use it.
+ # Actions does not support deleting the current working directory, so we
+ # delete the contents of the directory instead.
+ rm -rf ./* .github .git
# Check out the actions repo again, but at a different location.
# choose an arbitrary SHA so that we can later test that the commit_oid is not from main
- - uses: actions/checkout@v4
- with:
- ref: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
- path: x/y/z/some-path
+ - uses: actions/checkout@v4
+ with:
+ ref: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
+ path: x/y/z/some-path
- - uses: ./../action/init
- with:
- tools: ${{ steps.prepare-test.outputs.tools-url }}
+ - uses: ./../action/init
+ with:
+ tools: ${{ steps.prepare-test.outputs.tools-url }}
# it's enough to test one compiled language and one interpreted language
- languages: csharp,javascript
- source-root: x/y/z/some-path/tests/multi-language-repo
+ languages: csharp,javascript
+ source-root: x/y/z/some-path/tests/multi-language-repo
- - name: Build code
- shell: bash
- working-directory: x/y/z/some-path/tests/multi-language-repo
- run: |
- ./build.sh
+ - name: Build code
+ shell: bash
+ working-directory: x/y/z/some-path/tests/multi-language-repo
+ run: |
+ ./build.sh
- - uses: ./../action/analyze
- with:
- checkout_path: x/y/z/some-path/tests/multi-language-repo
- ref: v1.1.0
- sha: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
- upload: never
- upload-database: false
+ - uses: ./../action/analyze
+ with:
+ checkout_path: x/y/z/some-path/tests/multi-language-repo
+ ref: v1.1.0
+ sha: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
+ upload: never
+ upload-database: false
- - uses: ./../action/upload-sarif
- with:
- ref: v1.1.0
- sha: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
- checkout_path: x/y/z/some-path/tests/multi-language-repo
+ - uses: ./../action/upload-sarif
+ with:
+ ref: v1.1.0
+ sha: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
+ checkout_path: x/y/z/some-path/tests/multi-language-repo
- - name: Verify SARIF after upload
- shell: bash
- run: |
- EXPECTED_COMMIT_OID="474bbf07f9247ffe1856c6a0f94aeeb10e7afee6"
- EXPECTED_REF="v1.1.0"
- EXPECTED_CHECKOUT_URI_SUFFIX="/x/y/z/some-path/tests/multi-language-repo"
+ - name: Verify SARIF after upload
+ shell: bash
+ run: |
+ EXPECTED_COMMIT_OID="474bbf07f9247ffe1856c6a0f94aeeb10e7afee6"
+ EXPECTED_REF="v1.1.0"
+ EXPECTED_CHECKOUT_URI_SUFFIX="/x/y/z/some-path/tests/multi-language-repo"
- ACTUAL_COMMIT_OID="$(cat "$RUNNER_TEMP/payload.json" | jq -r .commit_oid)"
- ACTUAL_REF="$(cat "$RUNNER_TEMP/payload.json" | jq -r .ref)"
- ACTUAL_CHECKOUT_URI="$(cat "$RUNNER_TEMP/payload.json" | jq -r .checkout_uri)"
+ ACTUAL_COMMIT_OID="$(cat "$RUNNER_TEMP/payload.json" | jq -r .commit_oid)"
+ ACTUAL_REF="$(cat "$RUNNER_TEMP/payload.json" | jq -r .ref)"
+ ACTUAL_CHECKOUT_URI="$(cat "$RUNNER_TEMP/payload.json" | jq -r .checkout_uri)"
- if [[ "$EXPECTED_COMMIT_OID" != "$ACTUAL_COMMIT_OID" ]]; then
- echo "::error Invalid commit oid. Expected: $EXPECTED_COMMIT_OID Actual: $ACTUAL_COMMIT_OID"
- echo "$RUNNER_TEMP/payload.json"
- exit 1
- fi
+ if [[ "$EXPECTED_COMMIT_OID" != "$ACTUAL_COMMIT_OID" ]]; then
+ echo "::error Invalid commit oid. Expected: $EXPECTED_COMMIT_OID Actual: $ACTUAL_COMMIT_OID"
+ echo "$RUNNER_TEMP/payload.json"
+ exit 1
+ fi
- if [[ "$EXPECTED_REF" != "$ACTUAL_REF" ]]; then
- echo "::error Invalid ref. Expected: '$EXPECTED_REF' Actual: '$ACTUAL_REF'"
- echo "$RUNNER_TEMP/payload.json"
- exit 1
- fi
+ if [[ "$EXPECTED_REF" != "$ACTUAL_REF" ]]; then
+ echo "::error Invalid ref. Expected: '$EXPECTED_REF' Actual: '$ACTUAL_REF'"
+ echo "$RUNNER_TEMP/payload.json"
+ exit 1
+ fi
- if [[ "$ACTUAL_CHECKOUT_URI" != *$EXPECTED_CHECKOUT_URI_SUFFIX ]]; then
- echo "::error Invalid checkout URI suffix. Expected suffix: $EXPECTED_CHECKOUT_URI_SUFFIX Actual uri: $ACTUAL_CHECKOUT_URI"
- echo "$RUNNER_TEMP/payload.json"
- exit 1
- fi
+ if [[ "$ACTUAL_CHECKOUT_URI" != *$EXPECTED_CHECKOUT_URI_SUFFIX ]]; then
+ echo "::error Invalid checkout URI suffix. Expected suffix: $EXPECTED_CHECKOUT_URI_SUFFIX Actual uri: $ACTUAL_CHECKOUT_URI"
+ echo "$RUNNER_TEMP/payload.json"
+ exit 1
+ fi
env:
CODEQL_ACTION_TEST_MODE: true
diff --git a/.github/workflows/codescanning-config-cli.yml b/.github/workflows/codescanning-config-cli.yml
index 37e174635f..eb59639243 100644
--- a/.github/workflows/codescanning-config-cli.yml
+++ b/.github/workflows/codescanning-config-cli.yml
@@ -15,6 +15,8 @@ on:
- synchronize
- reopened
- ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure.yml
index fe15737853..cbafc70f18 100644
--- a/.github/workflows/debug-artifacts-failure.yml
+++ b/.github/workflows/debug-artifacts-failure.yml
@@ -17,6 +17,8 @@ on:
- synchronize
- reopened
- ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
upload-artifacts:
diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml
index a10ca211c3..cbe79731f7 100644
--- a/.github/workflows/debug-artifacts.yml
+++ b/.github/workflows/debug-artifacts.yml
@@ -16,6 +16,8 @@ on:
- synchronize
- reopened
- ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
upload-artifacts:
diff --git a/.github/workflows/expected-queries-runs.yml b/.github/workflows/expected-queries-runs.yml
index 59c36b7dad..10d080adaa 100644
--- a/.github/workflows/expected-queries-runs.yml
+++ b/.github/workflows/expected-queries-runs.yml
@@ -11,6 +11,8 @@ on:
- synchronize
- reopened
- ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
diff --git a/.github/workflows/query-filters.yml b/.github/workflows/query-filters.yml
index b13e26577b..4bc9ea25aa 100644
--- a/.github/workflows/query-filters.yml
+++ b/.github/workflows/query-filters.yml
@@ -11,6 +11,8 @@ on:
- synchronize
- reopened
- ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
diff --git a/.github/workflows/test-codeql-bundle-all.yml b/.github/workflows/test-codeql-bundle-all.yml
index 0ea140261b..5c8e16068b 100644
--- a/.github/workflows/test-codeql-bundle-all.yml
+++ b/.github/workflows/test-codeql-bundle-all.yml
@@ -16,6 +16,8 @@ on:
- synchronize
- reopened
- ready_for_review
+ schedule:
+ - cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
test-codeql-bundle-all:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a442e09ef6..cbf27c9700 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,14 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.
-## 3.24.9 - 22 Mar 2024
+## 2.24.10 - 05 Apr 2024
+
+- Update default CodeQL bundle version to 2.17.0. [#2219](https://github.com/github/codeql-action/pull/2219)
+- Add a deprecation warning for customers using CodeQL version 2.12.5 and earlier. These versions of CodeQL were discontinued on 26 March 2024 alongside GitHub Enterprise Server 3.8, and will be unsupported by CodeQL Action versions 3.25.0 and later and versions 2.25.0 and later. [#2220](https://github.com/github/codeql-action/pull/2220)
+ - If you are using one of these versions, please update to CodeQL CLI version 2.12.6 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.
+ - Alternatively, if you want to continue using a version of the CodeQL CLI between 2.11.6 and 2.12.5, you can replace `github/codeql-action/*@v3` by `github/codeql-action/*@v3.24.10` and `github/codeql-action/*@v2` by `github/codeql-action/*@v2.24.10` in your code scanning workflow to ensure you continue using this version of the CodeQL Action.
+
+## 2.24.9 - 22 Mar 2024
- Update default CodeQL bundle version to 2.16.5. [#2203](https://github.com/github/codeql-action/pull/2203)
diff --git a/lib/actions-util.test.js b/lib/actions-util.test.js
index c465bb1547..61e778ffb8 100644
--- a/lib/actions-util.test.js
+++ b/lib/actions-util.test.js
@@ -227,7 +227,9 @@ const util_1 = require("./util");
const infoStub = sinon.stub(core, "info");
process.env["GITHUB_EVENT_NAME"] = "pull_request";
process.env["GITHUB_SHA"] = "100912429fab4cb230e66ffb11e738ac5194e73a";
- await actionsUtil.determineMergeBaseCommitOid(path.join(__dirname, "../.."));
+ await (0, util_1.withTmpDir)(async (tmpDir) => {
+ await actionsUtil.determineMergeBaseCommitOid(tmpDir);
+ });
t.deepEqual(1, infoStub.callCount);
t.assert(infoStub.firstCall.args[0].startsWith("The checkout path provided to the action does not appear to be a git repository."));
infoStub.restore();
diff --git a/lib/actions-util.test.js.map b/lib/actions-util.test.js.map
index 1dced1de0c..f82b188325 100644
--- a/lib/actions-util.test.js.map
+++ b/lib/actions-util.test.js.map
@@ -1 +1 @@
-{"version":3,"file":"actions-util.test.js","sourceRoot":"","sources":["../src/actions-util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,6CAAmD;AACnD,+CAAuC;AACvC,mDAA+D;AAC/D,iCAA2D;AAE3D,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,qCAAqC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtD,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IAC/B,MAAM,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;AAC1C,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,+DAA+D,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAChF,MAAM,IAAA,iBAAU,EAAC,KAAK,EAAE,MAAc,EAAE,EAAE;QACxC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,MAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,WAAW,CAAC;QACxC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAEvC,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;QACzD,QAA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,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CACnC,kFAAkF,CACnF,CACF,CAAC;IACF,QAAQ,CAAC,OAAO,EAAE,CAAC;AACrB,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,yCAAyC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC1D,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAE1C,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,cAAc,CAAC;IAClD,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,0CAA0C,CAAC;IACvE,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,2BAA2B,CAC1D,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAC3C,CAAC;IACF,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC/B,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC,CAAC,MAAM,CACN,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CACnC,6CAA6C,CAC9C,CACF,CAAC;IAEF,QAAQ,CAAC,OAAO,EAAE,CAAC;AACrB,CAAC,CAAC,CAAC"}
\ No newline at end of file
diff --git a/lib/analyze-action-post.js b/lib/analyze-action-post.js
index f2365d1a24..4876a2485b 100644
--- a/lib/analyze-action-post.js
+++ b/lib/analyze-action-post.js
@@ -31,10 +31,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(require("@actions/core"));
const analyzeActionPostHelper = __importStar(require("./analyze-action-post-helper"));
const debugArtifacts = __importStar(require("./debug-artifacts"));
+const uploadSarifActionPostHelper = __importStar(require("./upload-sarif-action-post-helper"));
const util_1 = require("./util");
async function runWrapper() {
try {
await analyzeActionPostHelper.run(debugArtifacts.uploadSarifDebugArtifact);
+ // Also run the upload-sarif post action since we're potentially running
+ // the same steps in the analyze action.
+ await uploadSarifActionPostHelper.uploadArtifacts(debugArtifacts.uploadDebugArtifacts);
}
catch (error) {
core.setFailed(`analyze post-action step failed: ${(0, util_1.wrapError)(error).message}`);
diff --git a/lib/analyze-action-post.js.map b/lib/analyze-action-post.js.map
index cab4b7edaa..7bd84f040c 100644
--- a/lib/analyze-action-post.js.map
+++ b/lib/analyze-action-post.js.map
@@ -1 +1 @@
-{"version":3,"file":"analyze-action-post.js","sourceRoot":"","sources":["../src/analyze-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,sFAAwE;AACxE,kEAAoD;AACpD,iCAAmC;AAEnC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,uBAAuB,CAAC,GAAG,CAAC,cAAc,CAAC,wBAAwB,CAAC,CAAC;IAC7E,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,oCAAoC,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAC/D,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"analyze-action-post.js","sourceRoot":"","sources":["../src/analyze-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,sFAAwE;AACxE,kEAAoD;AACpD,+FAAiF;AACjF,iCAAmC;AAEnC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,uBAAuB,CAAC,GAAG,CAAC,cAAc,CAAC,wBAAwB,CAAC,CAAC;QAE3E,wEAAwE;QACxE,wCAAwC;QACxC,MAAM,2BAA2B,CAAC,eAAe,CAC/C,cAAc,CAAC,oBAAoB,CACpC,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,oCAAoC,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAC/D,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib/analyze-action.js b/lib/analyze-action.js
index 34a826b98a..7e8676baf8 100644
--- a/lib/analyze-action.js
+++ b/lib/analyze-action.js
@@ -51,21 +51,23 @@ const util = __importStar(require("./util"));
async function sendStatusReport(startedAt, config, stats, error, trapCacheUploadTime, dbCreationTimings, didUploadTrapCaches, logger) {
const status = (0, status_report_1.getActionsStatus)(error, stats?.analyze_failure_language);
const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Analyze, status, startedAt, config, await util.checkDiskUsage(), logger, error?.message, error?.stack);
- const report = {
- ...statusReportBase,
- ...(stats || {}),
- ...(dbCreationTimings || {}),
- };
- if (config && didUploadTrapCaches) {
- const trapCacheUploadStatusReport = {
- ...report,
- trap_cache_upload_duration_ms: Math.round(trapCacheUploadTime || 0),
- trap_cache_upload_size_bytes: Math.round(await (0, trap_caching_1.getTotalCacheSize)(config.trapCaches, logger)),
+ if (statusReportBase !== undefined) {
+ const report = {
+ ...statusReportBase,
+ ...(stats || {}),
+ ...(dbCreationTimings || {}),
};
- await statusReport.sendStatusReport(trapCacheUploadStatusReport);
- }
- else {
- await statusReport.sendStatusReport(report);
+ if (config && didUploadTrapCaches) {
+ const trapCacheUploadStatusReport = {
+ ...report,
+ trap_cache_upload_duration_ms: Math.round(trapCacheUploadTime || 0),
+ trap_cache_upload_size_bytes: Math.round(await (0, trap_caching_1.getTotalCacheSize)(config.trapCaches, logger)),
+ };
+ await statusReport.sendStatusReport(trapCacheUploadStatusReport);
+ }
+ else {
+ await statusReport.sendStatusReport(report);
+ }
}
}
// `expect-error` should only be set to a non-false value by the CodeQL Action PR checks.
@@ -145,7 +147,10 @@ async function run() {
util.initializeEnvironment(actionsUtil.getActionVersion());
const logger = (0, logging_1.getActionsLogger)();
try {
- await statusReport.sendStatusReport(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Analyze, "starting", startedAt, config, await util.checkDiskUsage(logger), logger));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Analyze, "starting", startedAt, config, await util.checkDiskUsage(logger), logger);
+ if (statusReportBase !== undefined) {
+ await statusReport.sendStatusReport(statusReportBase);
+ }
config = await (0, config_utils_1.getConfig)(actionsUtil.getTemporaryDirectory(), logger);
if (config === undefined) {
throw new Error("Config file could not be found at expected location. Has the 'init' action been called?");
diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map
index be966abbae..e37e10cba3 100644
--- a/lib/analyze-action.js.map
+++ b/lib/analyze-action.js.map
@@ -1 +1 @@
-{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAC9C,uCAQmB;AACnB,6CAA+D;AAC/D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mDAMyB;AACzB,iDAAqE;AACrE,wDAA0C;AAE1C,6CAA+B;AAkB/B,KAAK,UAAU,gBAAgB,CAC7B,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,MAAc;IAEd,MAAM,MAAM,GAAG,IAAA,gCAAgB,EAAC,KAAK,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAAC;IACxE,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,OAAO,EAClB,MA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AAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;QACJ,CAAC;QAED,OAAO;IACT,CAAC;IAED,IAAI,QAAQ,IAAI,YAAY,EAAE,CAAC;QAC7B,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN;YACE,GAAG,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,EAAE,CAAC;QACpB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,kBAAU,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,0BAA0B,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-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,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,EAAE,CAAC;QACpB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,kBAAU,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,0BAA0B,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib/api-compatibility.json b/lib/api-compatibility.json
index fc2889348e..3458d5c950 100644
--- a/lib/api-compatibility.json
+++ b/lib/api-compatibility.json
@@ -1 +1 @@
-{ "maximumVersion": "3.13", "minimumVersion": "3.8" }
+{ "maximumVersion": "3.13", "minimumVersion": "3.9" }
diff --git a/lib/autobuild-action.js b/lib/autobuild-action.js
index 8d18b7bb10..f2f782a066 100644
--- a/lib/autobuild-action.js
+++ b/lib/autobuild-action.js
@@ -37,12 +37,14 @@ async function sendCompletedStatusReport(config, logger, startedAt, allLanguages
(0, util_1.initializeEnvironment)((0, actions_util_1.getActionVersion)());
const status = (0, status_report_1.getActionsStatus)(cause, failingLanguage);
const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Autobuild, status, startedAt, config, await (0, util_1.checkDiskUsage)(logger), logger, cause?.message, cause?.stack);
- const statusReport = {
- ...statusReportBase,
- autobuild_languages: allLanguages.join(","),
- autobuild_failure: failingLanguage,
- };
- await (0, status_report_1.sendStatusReport)(statusReport);
+ if (statusReportBase !== undefined) {
+ const statusReport = {
+ ...statusReportBase,
+ autobuild_languages: allLanguages.join(","),
+ autobuild_failure: failingLanguage,
+ };
+ await (0, status_report_1.sendStatusReport)(statusReport);
+ }
}
async function run() {
const startedAt = new Date();
@@ -51,7 +53,10 @@ async function run() {
let currentLanguage;
let languages;
try {
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Autobuild, "starting", startedAt, config, await (0, util_1.checkDiskUsage)(logger), logger));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Autobuild, "starting", startedAt, config, await (0, util_1.checkDiskUsage)(logger), logger);
+ if (statusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(statusReportBase);
+ }
const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
(0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger);
(0, util_1.checkActionVersion)((0, actions_util_1.getActionVersion)(), gitHubVersion);
diff --git a/lib/autobuild-action.js.map b/lib/autobuild-action.js.map
index ca31354feb..301b4e2950 100644
--- a/lib/autobuild-action.js.map
+++ b/lib/autobuild-action.js.map
@@ -1 +1 @@
-{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAIwB;AACxB,6CAAgD;AAChD,2CAAwE;AACxE,qCAAqC;AACrC,iDAAmD;AACnD,+CAAuC;AAEvC,uCAAqD;AACrD,mDAMyB;AACzB,iCAMgB;AAShB,KAAK,UAAU,yBAAyB,CACtC,MAA0B,EAC1B,MAAc,EACd,SAAe,EACf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AC;AAC9E,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,4BAA4B,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"autobuild-action.js","sourceRoot":"","sources":["../src/autobuild-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAIwB;AACxB,6CAAgD;AAChD,2CAAwE;AACxE,qCAAqC;AACrC,iDAAmD;AACnD,+CAAuC;AAEvC,uCAAqD;AACrD,mDAMyB;AACzB,iCAMgB;AAShB,KAAK,UAAU,yBAAyB,CACtC,MAA0B,EAC1B,MAAc,EACd,SAAe,EACf,YAAsB,EACtB,eAAwB,EACxB,KAAa;IAEb,IAAA,4BAAqB,EAAC,IAAA,+BAAgB,GAAE,CAAC,CAAC;IAE1C,MAAM,MAAM,GAAG,IAAA,gCAAgB,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACxD,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,SAAS,EACpB,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,YAAY,GAA0B;YAC1C,GAAG,gBAAgB;YACnB,mBAAmB,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;YAC3C,iBAAiB,EAAE,eAAe;SACnC,CAAC;QACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;IACvC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CACT,6CAA6C,gBAAgB,EAAE,CAChE,CAAC;gBACF,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;YAClC,CAAC;YACD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;gBACjC,eAAe,GAAG,QAAQ,CAAC;gBAC3B,MAAM,IAAA,wBAAY,EAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;YAC/C,CAAC;QACH,CAAC;IACH,CAAC;IAAC,OAAO,cAAc,EAAE,CAAC;QACxB,MAAM,KAAK,GAAG,IAAA,gBAAS,EAAC,cAAc,CAAC,CAAC;QACxC,IAAI,CAAC,SAAS,CACZ,kIAAkI,KAAK,CAAC,OAAO,EAAE,CAClJ,CAAC;QACF,MAAM,yBAAyB,CAC7B,MAAM,EACN,MAAM,EACN,SAAS,EACT,SAAS,IAAI,EAAE,EACf,eAAe,EACf,KAAK,CACN,CAAC;QACF,OAAO;IACT,CAAC;IAED,IAAI,CAAC,cAAc,CAAC,oBAAM,CAAC,mCAAmC,EAAE,MAAM,CAAC,CAAC;IAExE,MAAM,yBAAyB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC;AAC9E,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,4BAA4B,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib/codeql.js b/lib/codeql.js
index 79404c36ed..518fc2e7cf 100644
--- a/lib/codeql.js
+++ b/lib/codeql.js
@@ -56,15 +56,15 @@ const CODEQL_MINIMUM_VERSION = "2.11.6";
/**
* This version will shortly become the oldest version of CodeQL that the Action will run with.
*/
-const CODEQL_NEXT_MINIMUM_VERSION = "2.11.6";
+const CODEQL_NEXT_MINIMUM_VERSION = "2.12.6";
/**
* This is the version of GHES that was most recently deprecated.
*/
-const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.7";
+const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.8";
/**
* This is the deprecation date for the version of GHES that was most recently deprecated.
*/
-const GHES_MOST_RECENT_DEPRECATION_DATE = "2023-11-08";
+const GHES_MOST_RECENT_DEPRECATION_DATE = "2024-03-26";
/** The CLI verbosity level to use for extraction in debug mode. */
const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++";
/*
@@ -207,6 +207,7 @@ function setCodeQL(partialCodeql) {
databaseExportDiagnostics: resolveFunction(partialCodeql, "databaseExportDiagnostics"),
diagnosticsExport: resolveFunction(partialCodeql, "diagnosticsExport"),
resolveExtractor: resolveFunction(partialCodeql, "resolveExtractor"),
+ mergeResults: resolveFunction(partialCodeql, "mergeResults"),
};
return cachedCodeQL;
}
@@ -502,17 +503,10 @@ async function getCodeQLForCmd(cmd, checkVersion) {
else if (await util.codeQlVersionAbove(this, "2.12.4")) {
codeqlArgs.push("--no-sarif-include-diagnostics");
}
- if (
- // Analysis summary v2 links to the status page, so check the GHES version we're running on
- // supports the status page.
- (config.gitHubVersion.type !== util.GitHubVariant.GHES ||
- semver.gte(config.gitHubVersion.version, "3.9.0")) &&
- (await util.codeQlVersionAbove(this, exports.CODEQL_VERSION_ANALYSIS_SUMMARY_V2))) {
+ if ((await util.codeQlVersionAbove(this, exports.CODEQL_VERSION_ANALYSIS_SUMMARY_V2)) &&
+ !(0, tools_features_1.isSupportedToolsFeature)(await this.getVersion(), tools_features_1.ToolsFeature.AnalysisSummaryV2IsDefault)) {
codeqlArgs.push("--new-analysis-summary");
}
- else if (await util.codeQlVersionAbove(this, exports.CODEQL_VERSION_ANALYSIS_SUMMARY_V2)) {
- codeqlArgs.push("--no-new-analysis-summary");
- }
codeqlArgs.push(databasePath);
if (querySuitePaths) {
codeqlArgs.push(...querySuitePaths);
@@ -664,6 +658,22 @@ async function getCodeQLForCmd(cmd, checkVersion) {
}).exec();
return JSON.parse(extractorPath);
},
+ async mergeResults(sarifFiles, outputFile, { mergeRunsFromEqualCategory = false, }) {
+ const args = [
+ "github",
+ "merge-results",
+ "--output",
+ outputFile,
+ ...getExtraOptionsFromEnv(["github", "merge-results"]),
+ ];
+ for (const sarifFile of sarifFiles) {
+ args.push("--sarif", sarifFile);
+ }
+ if (mergeRunsFromEqualCategory) {
+ args.push("--sarif-merge-runs-from-equal-category");
+ }
+ await runTool(cmd, args);
+ },
};
// To ensure that status reports include the CodeQL CLI version wherever
// possible, we want to call getVersion(), which populates the version value
@@ -689,8 +699,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
"version of the CLI using the 'tools' input to the 'init' Action, you can remove this " +
"input to use the default version.\n\n" +
"Alternatively, if you want to continue using CodeQL CLI version " +
- `${result.version}, you can replace 'github/codeql-action/*@v2' by ` +
- `'github/codeql-action/*@v${(0, actions_util_1.getActionVersion)()}' in your code scanning workflow to ` +
+ `${result.version}, you can replace 'github/codeql-action/*@v${(0, actions_util_1.getActionVersion)().split(".")[0]}' by 'github/codeql-action/*@v${(0, actions_util_1.getActionVersion)()}' in your code scanning workflow to ` +
"continue using this version of the CodeQL Action.");
core.exportVariable(environment_1.EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
}
diff --git a/lib/codeql.js.map b/lib/codeql.js.map
index 83d4b22f06..c9c138d48b 100644
--- a/lib/codeql.js.map
+++ b/lib/codeql.js.map
@@ -1 +1 @@
-{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,8CAAgC;AAChC,+CAAiC;AAEjC,iDAIwB;AAExB,6CAGsB;AAEtB,+CAAuC;AACvC,mDAKyB;AAC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ff --git a/lib/codeql.test.js b/lib/codeql.test.js
index beb05a7e2f..1279bd3046 100644
--- a/lib/codeql.test.js
+++ b/lib/codeql.test.js
@@ -44,6 +44,7 @@ const languages_1 = require("./languages");
const logging_1 = require("./logging");
const setup_codeql_1 = require("./setup-codeql");
const testing_utils_1 = require("./testing-utils");
+const tools_features_1 = require("./tools-features");
const util = __importStar(require("./util"));
const util_1 = require("./util");
(0, testing_utils_1.setupTests)(ava_1.default);
@@ -493,33 +494,34 @@ const injectedConfigMacro = ava_1.default.macro({
});
const NEW_ANALYSIS_SUMMARY_TEST_CASES = [
{
- codeqlVersion: "2.15.0",
+ codeqlVersion: (0, testing_utils_1.makeVersionInfo)("2.15.0", {
+ [tools_features_1.ToolsFeature.AnalysisSummaryV2IsDefault]: true,
+ }),
githubVersion: {
type: util.GitHubVariant.DOTCOM,
},
- flagPassed: true,
+ flagPassed: false,
negativeFlagPassed: false,
},
{
- codeqlVersion: "2.15.0",
+ codeqlVersion: (0, testing_utils_1.makeVersionInfo)("2.15.0"),
githubVersion: {
- type: util.GitHubVariant.GHES,
- version: "3.9.0",
+ type: util.GitHubVariant.DOTCOM,
},
flagPassed: true,
negativeFlagPassed: false,
},
{
- codeqlVersion: "2.15.0",
+ codeqlVersion: (0, testing_utils_1.makeVersionInfo)("2.15.0"),
githubVersion: {
type: util.GitHubVariant.GHES,
- version: "3.8.6",
+ version: "3.9.0",
},
- flagPassed: false,
- negativeFlagPassed: true,
+ flagPassed: true,
+ negativeFlagPassed: false,
},
{
- codeqlVersion: "2.14.6",
+ codeqlVersion: (0, testing_utils_1.makeVersionInfo)("2.14.6"),
githubVersion: {
type: util.GitHubVariant.DOTCOM,
},
@@ -532,12 +534,10 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of
? "--new-analysis-summary"
: negativeFlagPassed
? "--no-new-analysis-summary"
- : "nothing"} for CodeQL CLI v${codeqlVersion} and ${util.GitHubVariant[githubVersion.type]} ${githubVersion.version ? ` ${githubVersion.version}` : ""}`, async (t) => {
+ : "nothing"} for CodeQL version ${JSON.stringify(codeqlVersion)} and ${util.GitHubVariant[githubVersion.type]} ${githubVersion.version ? ` ${githubVersion.version}` : ""}`, async (t) => {
const runnerConstructorStub = stubToolRunnerConstructor();
const codeqlObject = await codeql.getCodeQLForTesting();
- sinon
- .stub(codeqlObject, "getVersion")
- .resolves((0, testing_utils_1.makeVersionInfo)(codeqlVersion));
+ sinon.stub(codeqlObject, "getVersion").resolves(codeqlVersion);
// safeWhich throws because of the test CodeQL object.
sinon.stub(safeWhich, "safeWhich").resolves("");
await codeqlObject.databaseInterpretResults("", [], "", "", "", "-v", "", Object.assign({}, stubConfig, { gitHubVersion: githubVersion }), (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true));
diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map
index 29989136de..35624c8a81 100644
--- a/lib/codeql.test.js.map
+++ b/lib/codeql.test.js.map
@@ -1 +1 @@
-{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAGzB,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAE/B,4DAA8C;AAE9C,6CAAsD;AACtD,iDAAmC;AAEnC,0DAA4C;AAC5C,2CAAuC;AACvC,uCAA4C;AAC5C,iDAA6C;AAC7C,mDASyB;AACzB,6CAA+B;AAC/B,iCAA+C;AAE/C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAI,UAAkB,CAAC;AAEvB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;IAE/B,UAAU,GAAG,IAAA,gCAAgB,EAAC;QAC5B,SAAS,EAAE,CAAC,oBAAQ,CAAC,G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AE,CACT,MAAM,YAAY,CAAC,gBAAgB,CACjC,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,KAAK,CACN,EACH;QACE,UAAU,EAAE,IAAI,CAAC,kBAAkB;QACnC,OAAO,EAAE,IAAI,MAAM,CACjB,qIAAqI;YACnI,mFAAmF,CACtF;KACF,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,WAAmB,CAAC,EACpB,MAAe;IAEf,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACnE,IAAI,cAAc,GAAyC,SAAS,CAAC;IACrE,qBAAqB,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;QACpE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3C,OAAO,gBAAgB,CAAC;IAC1B,CAAC,CAAC,CAAC;IACH,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACzC,IAAI,cAAc,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAlBD,8DAkBC"}
\ No newline at end of file
+{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAGzB,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B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gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACzC,IAAI,cAAc,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAlBD,8DAkBC"}
\ No newline at end of file
diff --git a/lib/defaults.json b/lib/defaults.json
index bc8dd1d217..044c1abada 100644
--- a/lib/defaults.json
+++ b/lib/defaults.json
@@ -1,6 +1,6 @@
{
- "bundleVersion": "codeql-bundle-v2.16.5",
- "cliVersion": "2.16.5",
- "priorBundleVersion": "codeql-bundle-v2.16.4",
- "priorCliVersion": "2.16.4"
+ "bundleVersion": "codeql-bundle-v2.17.0",
+ "cliVersion": "2.17.0",
+ "priorBundleVersion": "codeql-bundle-v2.16.5",
+ "priorCliVersion": "2.16.5"
}
diff --git a/lib/feature-flags.js b/lib/feature-flags.js
index 6b44a7de38..6e024a4338 100644
--- a/lib/feature-flags.js
+++ b/lib/feature-flags.js
@@ -48,6 +48,7 @@ exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = "2.15.1";
*/
var Feature;
(function (Feature) {
+ Feature["CliSarifMerge"] = "cli_sarif_merge_enabled";
Feature["CppDependencyInstallation"] = "cpp_dependency_installation_enabled";
Feature["CppTrapCachingEnabled"] = "cpp_trap_caching_enabled";
Feature["DisableJavaBuildlessEnabled"] = "disable_java_buildless_enabled";
@@ -58,6 +59,12 @@ var Feature;
Feature["QaTelemetryEnabled"] = "qa_telemetry_enabled";
})(Feature || (exports.Feature = Feature = {}));
exports.featureConfig = {
+ [Feature.CliSarifMerge]: {
+ envVar: "CODEQL_ACTION_CLI_SARIF_MERGE",
+ // This is guarded by a `supportsFeature` check rather than by a version check.
+ minimumVersion: undefined,
+ defaultValue: false,
+ },
[Feature.CppDependencyInstallation]: {
envVar: "CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES",
minimumVersion: "2.15.0",
diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map
index db5288bc8c..72c6172c8a 100644
--- a/lib/feature-flags.js.map
+++ b/lib/feature-flags.js.map
@@ -1 +1 @@
-{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACU,QAAA,4CAA4C,GAAG,QAAQ,CAAC;AAErE;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAgBhE;;;;GAIG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,4EAAiE,CAAA;IACjE,6DAAkD,CAAA;IAClD,yEAA8D,CAAA;IAC9D,2EAAgE,CAAA;IAChE,wGAA6F,CAAA;IAC7F,2HAAgH,CAAA;IAChH,kEAAuD,CAAA;IACvD,sDAA2C,CAAA;AAC7C,CAAC,EATW,OAAO,uBAAP,OAAO,QASlB;AAEY,QAAA,aAAa,GAGtB;IACF,CAAC,OAAO,CAAC,yBAAyB,CAAC,EAAE;QACnC,MAAM,EAAE,+CAA+C;QACvD,cAAc,EAAE,QAAQ;QACxB,YAAY,EAAE,KAAK;KACpB;IACD,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAAE;QAC/B,MAAM,EAAE,yBAAyB;QACjC,cAAc,EAAE,QAAQ;QACxB,YAAY,EAAE,KAAK;KACpB;IACD,CAAC,OAAO,CAAC,2BAA2B,CAAC,EAAE;QACrC,MAAM,EAAE,sCAAsC;QAC9C,cAAc,EAAE,SAAS;QACzB,YAA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BACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAEM,KAAK,UAAU,sCAAsC,CAC1D,MAAc,EACd,QAA2B;IAE3B,OAAO,CACL,CAAC,MAAM,QAAQ,CAAC,QAAQ,CACtB,OAAO,CAAC,0CAA0C,EAClD,MAAM,CACP,CAAC;QACF,CAAC,MAAM,QAAQ,CAAC,QAAQ,CACtB,OAAO,CAAC,kDAAkD,EAC1D,MAAM,CACP,CAAC,CACH,CAAC;AACJ,CAAC;AAdD,wFAcC"}
\ No newline at end of file
diff --git a/lib/fingerprints.js b/lib/fingerprints.js
index 6bbdb45e74..06dd51dfab 100644
--- a/lib/fingerprints.js
+++ b/lib/fingerprints.js
@@ -238,6 +238,7 @@ exports.resolveUriToFile = resolveUriToFile;
// Compute fingerprints for results in the given sarif file
// and return an updated sarif file contents.
async function addFingerprints(sarif, sourceRoot, logger) {
+ logger.info("Adding fingerprints to SARIF file. For more information, see https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs");
// Gather together results for the same file and construct
// callbacks to accept hashes for that file and update the location
const callbacksByFile = {};
diff --git a/lib/fingerprints.js.map b/lib/fingerprints.js.map
index 423a41c840..3a5d35967e 100644
--- a/lib/fingerprints.js.map
+++ b/lib/fingerprints.js.map
@@ -1 +1 @@
-{"version":3,"file":"fingerprints.js","sourceRoot":"","sources":["../src/fingerprints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AAExB,gDAAwB;AAKxB,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;AAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;AAChC,MAAM,EAAE,GAAG,IAAI,CAAC,UAAU,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,MAAM,WAAW,GAAG,UAAU,UAAkB,EAAE,SAAiB;YACjE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;gBACzC,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;YAC3B,CAAC;QACH,CAAC,CAAC;QACF,MAAM,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AA9DD,0CA8DC"}
\ No newline at end of file
diff --git a/lib/init-action-post.js b/lib/init-action-post.js
index aa7a6bceae..8f68ba4d20 100644
--- a/lib/init-action-post.js
+++ b/lib/init-action-post.js
@@ -59,18 +59,23 @@ async function runWrapper() {
catch (unwrappedError) {
const error = (0, util_1.wrapError)(unwrappedError);
core.setFailed(error.message);
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.InitPost, (0, status_report_1.getActionsStatus)(error), startedAt, config, await (0, util_1.checkDiskUsage)(), logger, error.message, error.stack));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.InitPost, (0, status_report_1.getActionsStatus)(error), startedAt, config, await (0, util_1.checkDiskUsage)(), logger, error.message, error.stack);
+ if (statusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(statusReportBase);
+ }
return;
}
const jobStatus = initActionPostHelper.getFinalJobStatus();
logger.info(`CodeQL job status was ${(0, status_report_1.getJobStatusDisplayName)(jobStatus)}.`);
const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.InitPost, "success", startedAt, config, await (0, util_1.checkDiskUsage)(), logger);
- const statusReport = {
- ...statusReportBase,
- ...uploadFailedSarifResult,
- job_status: initActionPostHelper.getFinalJobStatus(),
- };
- await (0, status_report_1.sendStatusReport)(statusReport);
+ if (statusReportBase !== undefined) {
+ const statusReport = {
+ ...statusReportBase,
+ ...uploadFailedSarifResult,
+ job_status: initActionPostHelper.getFinalJobStatus(),
+ };
+ await (0, status_report_1.sendStatusReport)(statusReport);
+ }
}
void runWrapper();
//# sourceMappingURL=init-action-post.js.map
\ No newline at end of file
diff --git a/lib/init-action-post.js.map b/lib/init-action-post.js.map
index 6d3571a552..2ccfed99c4 100644
--- a/lib/init-action-post.js.map
+++ b/lib/init-action-post.js.map
@@ -1 +1 @@
-{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,iDAAuE;AACvE,6CAAgD;AAChD,iDAAmD;AACnD,kEAAoD;AACpD,mDAA2C;AAC3C,gFAAkE;AAClE,uCAA6C;AAC7C,6CAAkD;AAClD,mDAOyB;AACzB,iCAKgB;AAOhB,KAAK,UAAU,UAAU;IACvB,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAI,MAA0B,CAAC;IAC/B,IAAI,uBAES,CAAC;IACd,IAAI,CAAC;QACH,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,MAAM,aAAa,GAAG,IAAA,+BAAkB,EACtC,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,CACzC,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,wBAAQ,CAC3B,aAAa,EACb,aAAa,EACb,IAAA,oCAAqB,GAAE,EACvB,MAAM,CACP,CAAC;QAEF,MAAM,GAAG,MAAM,IAAA,wBAAS,EAAC,IAAA,oCAAqB,GAAE,EAAE,MAAM,CAAC,CAAC;QAC1D,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,CAAC,OAAO,CACZ,iGAAiG,CAClG,CAAC;YACF,OAAO;QACT,CAAC;QAED,uBAAuB,GAAG,MAAM,oBAAoB,CAAC,GAAG,CACtD,cAAc,CAAC,iCAAiC,EAChD,cAAc,CAAC,uBAAuB,EACtC,6BAAc,EACd,MAAM,EACN,aAAa,EACb,QAAQ,EACR,MAAM,CACP,CAAC;IACJ,CAAC;IAAC,OAAO,cAAc,EAAE,CAAC;QACxB,MAAM,KAAK,GAAG,IAAA,gBAAS,EAAC,cAAc,CAAC,CAAC;QACxC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAE9B,MAAM,IAAA,gCAAgB,EACpB,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,QAAQ,EACnB,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,EACN,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,KAAK,CACZ,CACF,CAAC;QACF,OAAO;IACT,CAAC;IACD,MAAM,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,EAAE,CAAC;IAC3D,MAAM,CAAC,IAAI,CAAC,yBAAyB,IAAA,uCAAuB,EAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAE5E,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,QAAQ,EACnB,SAAS,EACT,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,CACP,CAAC;IACF,MAAM,YAAY,GAAyB;QACzC,GAAG,gBAAgB;QACnB,GAAG,uBAAuB;QAC1B,UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;KACrD,CAAC;IACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;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AG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,QAAQ,EACnB,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,EACN,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,KAAK,CACZ,CAAC;QACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;YACnC,MAAM,IAAA,gCAAgB,EAAC,gBAAgB,CAAC,CAAC;QAC3C,CAAC;QACD,OAAO;IACT,CAAC;IACD,MAAM,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,EAAE,CAAC;IAC3D,MAAM,CAAC,IAAI,CAAC,yBAAyB,IAAA,uCAAuB,EAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAE5E,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,QAAQ,EACnB,SAAS,EACT,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,CACP,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,YAAY,GAAyB;YACzC,GAAG,gBAAgB;YACnB,GAAG,uBAAuB;YAC1B,UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;SACrD,CAAC;QACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib/init-action.js b/lib/init-action.js
index 7fb90629f3..e8f9ad6a5e 100644
--- a/lib/init-action.js
+++ b/lib/init-action.js
@@ -44,6 +44,9 @@ const util_1 = require("./util");
const workflow_1 = require("./workflow");
async function sendCompletedStatusReport(startedAt, config, toolsDownloadDurationMs, toolsFeatureFlagsValid, toolsSource, toolsVersion, logger, error) {
const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Init, (0, status_report_1.getActionsStatus)(error), startedAt, config, await (0, util_1.checkDiskUsage)(logger), logger, error?.message, error?.stack);
+ if (statusReportBase === undefined) {
+ return;
+ }
const workflowLanguages = (0, actions_util_1.getOptionalInput)("languages");
const initStatusReport = {
...statusReportBase,
@@ -122,7 +125,10 @@ async function run() {
core.exportVariable(environment_1.EnvVar.JOB_RUN_UUID, (0, uuid_1.v4)());
core.exportVariable(environment_1.EnvVar.INIT_ACTION_HAS_RUN, "true");
try {
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Init, "starting", startedAt, config, await (0, util_1.checkDiskUsage)(logger), logger));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Init, "starting", startedAt, config, await (0, util_1.checkDiskUsage)(logger), logger);
+ if (statusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(statusReportBase);
+ }
const codeQLDefaultVersionInfo = await features.getDefaultCliVersion(gitHubVersion.type);
toolsFeatureFlagsValid = codeQLDefaultVersionInfo.toolsFeatureFlagsValid;
const initCodeQLResult = await (0, init_1.initCodeQL)((0, actions_util_1.getOptionalInput)("tools"), apiDetails, (0, actions_util_1.getTemporaryDirectory)(), gitHubVersion.type, codeQLDefaultVersionInfo, logger);
@@ -182,7 +188,10 @@ async function run() {
catch (unwrappedError) {
const error = (0, util_1.wrapError)(unwrappedError);
core.setFailed(error.message);
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Init, error instanceof util_1.ConfigurationError ? "user-error" : "aborted", startedAt, config, await (0, util_1.checkDiskUsage)(), logger, error.message, error.stack));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Init, error instanceof util_1.ConfigurationError ? "user-error" : "aborted", startedAt, config, await (0, util_1.checkDiskUsage)(), logger, error.message, error.stack);
+ if (statusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(statusReportBase);
+ }
return;
}
try {
diff --git a/lib/init-action.js.map b/lib/init-action.js.map
index 68c0b44c53..f6605eb0bf 100644
--- a/lib/init-action.js.map
+++ b/lib/init-action.js.map
@@ -1 +1 @@
-{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAMwB;AACxB,6CAAgD;AAGhD,+CAAuC;AACvC,mDAIyB;AACzB,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AACzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAegB;AAChB,yCAA8C;AA0C9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,uBAA2C,EAC3C,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC,IAAI,EAAE;QAC5C,sBAAsB,EAAE,YAAY;QACpC,YAAY,EAAE,WAAW,IAAI,0BAAW,CAAC,OAAO;QAChD,kBAAkB,EAAE,iBAAiB,IAAI,EAAE;KAC5C,CAAC;IAEF,MAAM,uBAAuB,GAA4B,EAAE,CAAC;IAE5D,IAAI,uBAAuB,KAAK,SAAS,EAAE,CA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AAS,EAAC,cAAc,CAAC,CAAC;QACxC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC9B,MAAM,yBAAyB,CAC7B,SAAS,EACT,MAAM,EACN,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,EACN,KAAK,CACN,CAAC;QACF,OAAO;IACT,CAAC;IACD,MAAM,yBAAyB,CAC7B,SAAS,EACT,MAAM,EACN,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,CACP,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB;IAC5B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAMwB;AACxB,6CAAgD;AAGhD,+CAAuC;AACvC,mDAIyB;AACzB,iCAMgB;AAChB,2CAAuC;A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C9B,MAAM,yBAAyB,CAC7B,SAAS,EACT,MAAM,EACN,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,EACN,KAAK,CACN,CAAC;QACF,OAAO;IACT,CAAC;IACD,MAAM,yBAAyB,CAC7B,SAAS,EACT,MAAM,EACN,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,CACP,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB;IAC5B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib/resolve-environment-action.js b/lib/resolve-environment-action.js
index d1da152198..cbe4831479 100644
--- a/lib/resolve-environment-action.js
+++ b/lib/resolve-environment-action.js
@@ -38,7 +38,10 @@ async function run() {
const logger = (0, logging_1.getActionsLogger)();
let config;
try {
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.ResolveEnvironment, "starting", startedAt, config, await (0, util_1.checkDiskUsage)(), logger));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.ResolveEnvironment, "starting", startedAt, config, await (0, util_1.checkDiskUsage)(), logger);
+ if (statusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(statusReportBase);
+ }
const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
(0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger);
(0, util_1.checkActionVersion)((0, actions_util_1.getActionVersion)(), gitHubVersion);
@@ -61,11 +64,17 @@ async function run() {
else {
// For any other error types, something has more seriously gone wrong and we fail.
core.setFailed(`Failed to resolve a build environment suitable for automatically building your code. ${error.message}`);
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.ResolveEnvironment, (0, status_report_1.getActionsStatus)(error), startedAt, config, await (0, util_1.checkDiskUsage)(), logger, error.message, error.stack));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.ResolveEnvironment, (0, status_report_1.getActionsStatus)(error), startedAt, config, await (0, util_1.checkDiskUsage)(), logger, error.message, error.stack);
+ if (statusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(statusReportBase);
+ }
}
return;
}
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.ResolveEnvironment, "success", startedAt, config, await (0, util_1.checkDiskUsage)(), logger));
+ const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.ResolveEnvironment, "success", startedAt, config, await (0, util_1.checkDiskUsage)(), logger);
+ if (statusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(statusReportBase);
+ }
}
async function runWrapper() {
try {
diff --git a/lib/resolve-environment-action.js.map b/lib/resolve-environment-action.js.map
index dc18ed9089..cdaa823d8f 100644
--- a/lib/resolve-environment-action.js.map
+++ b/lib/resolve-environment-action.js.map
@@ -1 +1 @@
-{"version":3,"file":"resolve-environment-action.js","sourceRoot":"","sources":["../src/resolve-environment-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEt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AAC,cAAc,CAAC,CAAC;QAExC,IAAI,KAAK,YAAY,mCAAsB,EAAE,CAAC;YAC5C,6DAA6D;YAC7D,qEAAqE;YACrE,IAAI,CAAC,SAAS,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC;YAC5C,MAAM,CAAC,OAAO,CACZ,wFAAwF,KAAK,CAAC,OAAO,EAAE,CACxG,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,kFAAkF;YAClF,IAAI,CAAC,SAAS,CACZ,wFAAwF,KAAK,CAAC,OAAO,EAAE,CACxG,CAAC;YAEF,MAAM,IAAA,gCAAgB,EACpB,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,kBAAkB,EAC7B,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,EACN,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,KAAK,CACZ,CACF,CAAC;QACJ,CAAC;QAED,OAAO;IACT,CAAC;IAED,MAAM,IAAA,gCAAgB,EACpB,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,kBAAkB,EAC7B,SAAS,EACT,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,CACP,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,GAAG,0BAAU,CAAC,kBAAkB,mBAC9B,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OACnB,EAAE,CACH,CAAC;IACJ,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"resolve-environment-action.js","sourceRoot":"","sources":["../src/resolve-environment-action.ts"],"names":[],"mappings":";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AC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,GAAG,0BAAU,CAAC,kBAAkB,mBAC9B,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OACnB,EAAE,CACH,CAAC;IACJ,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib/status-report.js b/lib/status-report.js
index e2de9b16dd..3866202f53 100644
--- a/lib/status-report.js
+++ b/lib/status-report.js
@@ -107,97 +107,105 @@ function setJobStatusIfUnsuccessful(actionStatus) {
* @param startedAt The time this action started executing.
* @param cause Cause of failure (only supply if status is 'failure')
* @param exception Exception (only supply if status is 'failure')
+ * @returns undefined if an exception was thrown.
*/
async function createStatusReportBase(actionName, status, actionStartedAt, config, diskInfo, logger, cause, exception) {
- const commitOid = (0, actions_util_1.getOptionalInput)("sha") || process.env["GITHUB_SHA"] || "";
- const ref = await (0, actions_util_1.getRef)();
- const jobRunUUID = process.env[environment_1.EnvVar.JOB_RUN_UUID] || "";
- const workflowRunID = (0, actions_util_1.getWorkflowRunID)();
- const workflowRunAttempt = (0, actions_util_1.getWorkflowRunAttempt)();
- const workflowName = process.env["GITHUB_WORKFLOW"] || "";
- const jobName = process.env["GITHUB_JOB"] || "";
- const analysis_key = await (0, api_client_1.getAnalysisKey)();
- let workflowStartedAt = process.env[environment_1.EnvVar.WORKFLOW_STARTED_AT];
- if (workflowStartedAt === undefined) {
- workflowStartedAt = actionStartedAt.toISOString();
- core.exportVariable(environment_1.EnvVar.WORKFLOW_STARTED_AT, workflowStartedAt);
- }
- const runnerOs = (0, util_1.getRequiredEnvParam)("RUNNER_OS");
- const codeQlCliVersion = (0, util_1.getCachedCodeQlVersion)();
- const actionRef = process.env["GITHUB_ACTION_REF"];
- const testingEnvironment = process.env[environment_1.EnvVar.TESTING_ENVIRONMENT] || "";
- // re-export the testing environment variable so that it is available to subsequent steps,
- // even if it was only set for this step
- if (testingEnvironment !== "") {
- core.exportVariable(environment_1.EnvVar.TESTING_ENVIRONMENT, testingEnvironment);
- }
- const statusReport = {
- action_name: actionName,
- action_oid: "unknown", // TODO decide if it's possible to fill this in
- action_ref: actionRef,
- action_started_at: actionStartedAt.toISOString(),
- action_version: (0, actions_util_1.getActionVersion)(),
- analysis_key,
- build_mode: config?.buildMode,
- commit_oid: commitOid,
- first_party_analysis: isFirstPartyAnalysis(actionName),
- job_name: jobName,
- job_run_uuid: jobRunUUID,
- ref,
- runner_os: runnerOs,
- started_at: workflowStartedAt,
- status,
- testing_environment: testingEnvironment,
- workflow_name: workflowName,
- workflow_run_attempt: workflowRunAttempt,
- workflow_run_id: workflowRunID,
- };
try {
- statusReport.actions_event_name = (0, actions_util_1.getWorkflowEventName)();
+ const commitOid = (0, actions_util_1.getOptionalInput)("sha") || process.env["GITHUB_SHA"] || "";
+ const ref = await (0, actions_util_1.getRef)();
+ const jobRunUUID = process.env[environment_1.EnvVar.JOB_RUN_UUID] || "";
+ const workflowRunID = (0, actions_util_1.getWorkflowRunID)();
+ const workflowRunAttempt = (0, actions_util_1.getWorkflowRunAttempt)();
+ const workflowName = process.env["GITHUB_WORKFLOW"] || "";
+ const jobName = process.env["GITHUB_JOB"] || "";
+ const analysis_key = await (0, api_client_1.getAnalysisKey)();
+ let workflowStartedAt = process.env[environment_1.EnvVar.WORKFLOW_STARTED_AT];
+ if (workflowStartedAt === undefined) {
+ workflowStartedAt = actionStartedAt.toISOString();
+ core.exportVariable(environment_1.EnvVar.WORKFLOW_STARTED_AT, workflowStartedAt);
+ }
+ const runnerOs = (0, util_1.getRequiredEnvParam)("RUNNER_OS");
+ const codeQlCliVersion = (0, util_1.getCachedCodeQlVersion)();
+ const actionRef = process.env["GITHUB_ACTION_REF"] || "";
+ const testingEnvironment = process.env[environment_1.EnvVar.TESTING_ENVIRONMENT] || "";
+ // re-export the testing environment variable so that it is available to subsequent steps,
+ // even if it was only set for this step
+ if (testingEnvironment !== "") {
+ core.exportVariable(environment_1.EnvVar.TESTING_ENVIRONMENT, testingEnvironment);
+ }
+ const statusReport = {
+ action_name: actionName,
+ action_oid: "unknown", // TODO decide if it's possible to fill this in
+ action_ref: actionRef,
+ action_started_at: actionStartedAt.toISOString(),
+ action_version: (0, actions_util_1.getActionVersion)(),
+ analysis_key,
+ build_mode: config?.buildMode,
+ commit_oid: commitOid,
+ first_party_analysis: isFirstPartyAnalysis(actionName),
+ job_name: jobName,
+ job_run_uuid: jobRunUUID,
+ ref,
+ runner_os: runnerOs,
+ started_at: workflowStartedAt,
+ status,
+ testing_environment: testingEnvironment,
+ workflow_name: workflowName,
+ workflow_run_attempt: workflowRunAttempt,
+ workflow_run_id: workflowRunID,
+ };
+ try {
+ statusReport.actions_event_name = (0, actions_util_1.getWorkflowEventName)();
+ }
+ catch (e) {
+ logger.warning(`Could not determine the workflow event name: ${e}.`);
+ }
+ if (config) {
+ statusReport.languages = config.languages.join(",");
+ }
+ if (diskInfo) {
+ statusReport.runner_available_disk_space_bytes =
+ diskInfo.numAvailableBytes;
+ statusReport.runner_total_disk_space_bytes = diskInfo.numTotalBytes;
+ }
+ // Add optional parameters
+ if (cause) {
+ statusReport.cause = cause;
+ }
+ if (exception) {
+ statusReport.exception = exception;
+ }
+ if (status === "success" ||
+ status === "failure" ||
+ status === "aborted" ||
+ status === "user-error") {
+ statusReport.completed_at = new Date().toISOString();
+ }
+ const matrix = (0, actions_util_1.getRequiredInput)("matrix");
+ if (matrix) {
+ statusReport.matrix_vars = matrix;
+ }
+ if ("RUNNER_ARCH" in process.env) {
+ // RUNNER_ARCH is available only in GHES 3.4 and later
+ // Values other than X86, X64, ARM, or ARM64 are discarded server side
+ statusReport.runner_arch = process.env["RUNNER_ARCH"];
+ }
+ if (runnerOs === "Windows" || runnerOs === "macOS") {
+ statusReport.runner_os_release = os.release();
+ }
+ if (codeQlCliVersion !== undefined) {
+ statusReport.codeql_version = codeQlCliVersion.version;
+ }
+ const imageVersion = process.env["ImageVersion"];
+ if (imageVersion) {
+ statusReport.runner_image_version = imageVersion;
+ }
+ return statusReport;
}
catch (e) {
- logger.warning(`Could not determine the workflow event name: ${e}.`);
- }
- if (config) {
- statusReport.languages = config.languages.join(",");
- }
- if (diskInfo) {
- statusReport.runner_available_disk_space_bytes = diskInfo.numAvailableBytes;
- statusReport.runner_total_disk_space_bytes = diskInfo.numTotalBytes;
- }
- // Add optional parameters
- if (cause) {
- statusReport.cause = cause;
- }
- if (exception) {
- statusReport.exception = exception;
- }
- if (status === "success" ||
- status === "failure" ||
- status === "aborted" ||
- status === "user-error") {
- statusReport.completed_at = new Date().toISOString();
- }
- const matrix = (0, actions_util_1.getRequiredInput)("matrix");
- if (matrix) {
- statusReport.matrix_vars = matrix;
- }
- if ("RUNNER_ARCH" in process.env) {
- // RUNNER_ARCH is available only in GHES 3.4 and later
- // Values other than X86, X64, ARM, or ARM64 are discarded server side
- statusReport.runner_arch = process.env["RUNNER_ARCH"];
- }
- if (runnerOs === "Windows" || runnerOs === "macOS") {
- statusReport.runner_os_release = os.release();
- }
- if (codeQlCliVersion !== undefined) {
- statusReport.codeql_version = codeQlCliVersion.version;
- }
- const imageVersion = process.env["ImageVersion"];
- if (imageVersion) {
- statusReport.runner_image_version = imageVersion;
+ logger.warning(`Caught an exception while gathering information for telemetry: ${e}. Will skip sending status report.`);
+ return undefined;
}
- return statusReport;
}
exports.createStatusReportBase = createStatusReportBase;
const OUT_OF_DATE_MSG = "CodeQL Action is out-of-date. Please upgrade to the latest version of codeql-action.";
diff --git a/lib/status-report.js.map b/lib/status-report.js.map
index cf139f45fe..04df6cf308 100644
--- a/lib/status-report.js.map
+++ b/lib/status-report.js.map
@@ -1 +1 @@
-{"version":3,"file":"status-report.js","sourceRoot":"","sources":["../src/status-report.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,oDAAsC;AAEtC,iDAQwB;AACxB,6CAA4D;AAE5D,+CAAuC;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,gBAAgB;SACvB,CACF,CAAC;IACJ,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACf,IAAI,IAAA,kBAAW,EAAC,CAAC,CAAC,EAAE,CAAC;YACnB,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;gBACjB,KAAK,GAAG;oBACN,IACE,IAAA,mCAAoB,GAAE,KAAK,MAAM;wBACjC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,EACjD,CAAC;wBACD,IAAI,CAAC,OAAO,CACV,mFAAmF;4BACjF,yDAAyD;4BACzD,iLAAiL;4BACjL,8JAA8J,CACjK,CAAC;oBACJ,CAAC;yBAAM,CAAC;wBACN,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;oBAC1B,CAAC;oBACD,OAAO;gBACT,KAAK,GAAG;oBACN,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;oBACxB,OAAO;gBACT,KAAK,GAAG;oBACN,+CAA+C;oBAC/C,2EAA2E;oBAC3E,4EAA4E;oBAC5E,IAAI,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,KAAK,wBAAiB,EAAE,CAAC;wBACnE,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;oBAC/B,CAAC;yBAAM,CAAC;wBACN,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;oBAC9B,CAAC;oBACD,OAAO;YACX,CAAC;QACH,CAAC;QAED,mFAAmF;QACnF,0EAA0E;QAC1E,IAAI,CAAC,OAAO,CACV,wEAAwE,CACzE,CAAC;IACJ,CAAC;AACH,CAAC;AAnED,4CAmEC"}
\ No newline at end of file
+{"version":3,"file":"status-report.js","sourceRoot":"","sources":["../src/status-report.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,oDAAsC;AAEtC,iDAQwB;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zE,CAAC;IACJ,CAAC;AACH,CAAC;AAnED,4CAmEC"}
\ No newline at end of file
diff --git a/lib/status-report.test.js b/lib/status-report.test.js
index 03b803c01e..cc68dbc52c 100644
--- a/lib/status-report.test.js
+++ b/lib/status-report.test.js
@@ -59,41 +59,44 @@ function setupEnvironmentAndStub(tmpDir) {
buildMode: config_utils_1.BuildMode.None,
languages: [languages_1.Language.java, languages_1.Language.swift],
}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace");
- t.is(statusReport.action_name, status_report_1.ActionName.Init);
- t.is(statusReport.action_oid, "unknown");
- t.is(typeof statusReport.action_version, "string");
- t.is(statusReport.action_started_at, new Date("May 19, 2023 05:19:00").toISOString());
- t.is(statusReport.actions_event_name, "dynamic");
- t.is(statusReport.analysis_key, "analysis-key");
- t.is(statusReport.build_mode, config_utils_1.BuildMode.None);
- t.is(statusReport.cause, "failure cause");
- t.is(statusReport.commit_oid, process.env["GITHUB_SHA"]);
- t.is(statusReport.exception, "exception stack trace");
- t.is(statusReport.job_name, process.env["GITHUB_JOB"] || "");
- t.is(typeof statusReport.job_run_uuid, "string");
- t.is(statusReport.languages, "java,swift");
- t.is(statusReport.ref, process.env["GITHUB_REF"]);
- t.is(statusReport.runner_available_disk_space_bytes, 100);
- t.is(statusReport.runner_image_version, process.env["ImageVersion"]);
- t.is(statusReport.runner_os, process.env["RUNNER_OS"]);
- t.is(statusReport.started_at, process.env[environment_1.EnvVar.WORKFLOW_STARTED_AT]);
- t.is(statusReport.status, "failure");
- t.is(statusReport.workflow_name, process.env["GITHUB_WORKFLOW"] || "");
- t.is(statusReport.workflow_run_attempt, 2);
- t.is(statusReport.workflow_run_id, 100);
+ t.truthy(statusReport);
+ if (statusReport !== undefined) {
+ t.is(statusReport.action_name, status_report_1.ActionName.Init);
+ t.is(statusReport.action_oid, "unknown");
+ t.is(typeof statusReport.action_version, "string");
+ t.is(statusReport.action_started_at, new Date("May 19, 2023 05:19:00").toISOString());
+ t.is(statusReport.actions_event_name, "dynamic");
+ t.is(statusReport.analysis_key, "analysis-key");
+ t.is(statusReport.build_mode, config_utils_1.BuildMode.None);
+ t.is(statusReport.cause, "failure cause");
+ t.is(statusReport.commit_oid, process.env["GITHUB_SHA"]);
+ t.is(statusReport.exception, "exception stack trace");
+ t.is(statusReport.job_name, process.env["GITHUB_JOB"] || "");
+ t.is(typeof statusReport.job_run_uuid, "string");
+ t.is(statusReport.languages, "java,swift");
+ t.is(statusReport.ref, process.env["GITHUB_REF"]);
+ t.is(statusReport.runner_available_disk_space_bytes, 100);
+ t.is(statusReport.runner_image_version, process.env["ImageVersion"]);
+ t.is(statusReport.runner_os, process.env["RUNNER_OS"]);
+ t.is(statusReport.started_at, process.env[environment_1.EnvVar.WORKFLOW_STARTED_AT]);
+ t.is(statusReport.status, "failure");
+ t.is(statusReport.workflow_name, process.env["GITHUB_WORKFLOW"] || "");
+ t.is(statusReport.workflow_run_attempt, 2);
+ t.is(statusReport.workflow_run_id, 100);
+ }
});
});
(0, ava_1.default)("createStatusReportBase_firstParty", async (t) => {
await (0, util_1.withTmpDir)(async (tmpDir) => {
setupEnvironmentAndStub(tmpDir);
- t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace")).first_party_analysis, false);
- t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Autobuild, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace")).first_party_analysis, true);
+ t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace"))?.first_party_analysis, false);
+ t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Autobuild, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace"))?.first_party_analysis, true);
process.env["CODEQL_ACTION_INIT_HAS_RUN"] = "foobar";
- t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace")).first_party_analysis, false);
- t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Init, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace")).first_party_analysis, true);
+ t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace"))?.first_party_analysis, false);
+ t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Init, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace"))?.first_party_analysis, true);
process.env["CODEQL_ACTION_INIT_HAS_RUN"] = "true";
- t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace")).first_party_analysis, true);
- t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Analyze, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace")).first_party_analysis, true);
+ t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace"))?.first_party_analysis, true);
+ t.is((await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.Analyze, "failure", new Date("May 19, 2023 05:19:00"), (0, testing_utils_1.createTestConfig)({}), { numAvailableBytes: 100, numTotalBytes: 500 }, (0, logging_1.getRunnerLogger)(false), "failure cause", "exception stack trace"))?.first_party_analysis, true);
});
});
//# sourceMappingURL=status-report.test.js.map
\ No newline at end of file
diff --git a/lib/status-report.test.js.map b/lib/status-report.test.js.map
index 8a50c64d02..28a7cd81f5 100644
--- a/lib/status-report.test.js.map
+++ b/lib/status-report.test.js.map
@@ -1 +1 @@
-{"version":3,"file":"status-report.test.js","sourceRoot":"","sources":["../src/status-report.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,iDAA2C;AAC3C,+CAAuC;AACvC,2CAAuC;AACvC,uCAA4C;AAC5C,mDAAqE;AACrE,mDAIyB;AACzB,iCAAoC;AAEpC,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,SAAS,uBAAuB,CAAC,MAAc;IAC7C,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEjC,OAAO,CAAC,GA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e,EACf,uBAAuB,CACxB,CACF,CAAC,oBAAoB,EACtB,IAAI,CACL,CAAC;QAEF,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,GAAG,MAAM,CAAC;QACnD,CAAC,CAAC,EAAE,CACF,CACE,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,WAAW,EACtB,SAAS,EACT,IAAI,IAAI,CAAC,uBAAuB,CAAC,EACjC,IAAA,gCAAgB,EAAC,EAAE,CAAC,EACpB,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,EAC9C,IAAA,yBAAe,EAAC,KAAK,CAAC,EACtB,eAAe,EACf,uBAAuB,CACxB,CACF,CAAC,oBAAoB,EACtB,IAAI,CACL,CAAC;QAEF,CAAC,CAAC,EAAE,CACF,CACE,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,OAAO,EAClB,SAAS,EACT,IAAI,IAAI,CAAC,uBAAuB,CAAC,EACjC,IAAA,gCAAgB,EAAC,EAAE,CAAC,EACpB,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,EAC9C,IAAA,yBAAe,EAAC,KAAK,CAAC,EACtB,eAAe,EACf,uBAAuB,CACxB,CACF,CAAC,oBAAoB,EACtB,IAAI,CACL,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"status-report.test.js","sourceRoot":"","sources":["../src/status-report.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,iDAA2C;AAC3C,+CAAuC;AACvC,2CAAuC;AACvC,uCAA4C;AAC5C,mDAAqE;AACrE,mDAIyB;AACzB,iCAAoC;AAEpC,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,SAAS,uBAAuB,CAAC,MAAc;IAC7C,IAAA,gCAAgB,EAAC,MAA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,EACjC,IAAA,gCAAgB,EAAC,EAAE,CAAC,EACpB,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,EAC9C,IAAA,yBAAe,EAAC,KAAK,CAAC,EACtB,eAAe,EACf,uBAAuB,CACxB,CACF,EAAE,oBAAoB,EACvB,IAAI,CACL,CAAC;QAEF,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,GAAG,MAAM,CAAC;QACnD,CAAC,CAAC,EAAE,CACF,CACE,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,WAAW,EACtB,SAAS,EACT,IAAI,IAAI,CAAC,uBAAuB,CAAC,EACjC,IAAA,gCAAgB,EAAC,EAAE,CAAC,EACpB,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,EAC9C,IAAA,yBAAe,EAAC,KAAK,CAAC,EACtB,eAAe,EACf,uBAAuB,CACxB,CACF,EAAE,oBAAoB,EACvB,IAAI,CACL,CAAC;QAEF,CAAC,CAAC,EAAE,CACF,CACE,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,OAAO,EAClB,SAAS,EACT,IAAI,IAAI,CAAC,uBAAuB,CAAC,EACjC,IAAA,gCAAgB,EAAC,EAAE,CAAC,EACpB,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,EAC9C,IAAA,yBAAe,EAAC,KAAK,CAAC,EACtB,eAAe,EACf,uBAAuB,CACxB,CACF,EAAE,oBAAoB,EACvB,IAAI,CACL,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
\ No newline at end of file
diff --git a/lib/tools-features.js b/lib/tools-features.js
index 1741140afd..6620104f4b 100644
--- a/lib/tools-features.js
+++ b/lib/tools-features.js
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.isSupportedToolsFeature = exports.ToolsFeature = void 0;
var ToolsFeature;
(function (ToolsFeature) {
+ ToolsFeature["AnalysisSummaryV2IsDefault"] = "analysisSummaryV2Default";
ToolsFeature["BuildModeOption"] = "buildModeOption";
ToolsFeature["IndirectTracingSupportsStaticBinaries"] = "indirectTracingSupportsStaticBinaries";
ToolsFeature["InformsAboutUnsupportedPathFilters"] = "informsAboutUnsupportedPathFilters";
ToolsFeature["SetsCodeqlRunnerEnvVar"] = "setsCodeqlRunnerEnvVar";
ToolsFeature["TraceCommandUseBuildMode"] = "traceCommandUseBuildMode";
+ ToolsFeature["SarifMergeRunsFromEqualCategory"] = "sarifMergeRunsFromEqualCategory";
})(ToolsFeature || (exports.ToolsFeature = ToolsFeature = {}));
/**
* Determines if the given feature is supported by the CLI.
diff --git a/lib/tools-features.js.map b/lib/tools-features.js.map
index 3070814277..7472105634 100644
--- a/lib/tools-features.js.map
+++ b/lib/tools-features.js.map
@@ -1 +1 @@
-{"version":3,"file":"tools-features.js","sourceRoot":"","sources":["../src/tools-features.ts"],"names":[],"mappings":";;;AAEA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mDAAmC,CAAA;IACnC,+FAA+E,CAAA;IAC/E,yFAAyE,CAAA;IACzE,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;AACvD,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;AAED;;;;;;GAMG;AACH,SAAgB,uBAAuB,CACrC,WAAwB,EACxB,OAAqB;IAErB,OAAO,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACjE,CAAC;AALD,0DAKC"}
\ No newline at end of file
+{"version":3,"file":"tools-features.js","sourceRoot":"","sources":["../src/tools-features.ts"],"names":[],"mappings":";;;AAEA,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,uEAAuD,CAAA;IACvD,mDAAmC,CAAA;IACnC,+FAA+E,CAAA;IAC/E,yFAAyE,CAAA;IACzE,iEAAiD,CAAA;IACjD,qEAAqD,CAAA;IACrD,mFAAmE,CAAA;AACrE,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AAED;;;;;;GAMG;AACH,SAAgB,uBAAuB,CACrC,WAAwB,EACxB,OAAqB;IAErB,OAAO,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACjE,CAAC;AALD,0DAKC"}
\ No newline at end of file
diff --git a/lib/upload-lib.js b/lib/upload-lib.js
index 558d018a87..05de357e4e 100644
--- a/lib/upload-lib.js
+++ b/lib/upload-lib.js
@@ -34,22 +34,31 @@ const core = __importStar(require("@actions/core"));
const file_url_1 = __importDefault(require("file-url"));
const jsonschema = __importStar(require("jsonschema"));
const actionsUtil = __importStar(require("./actions-util"));
+const actions_util_1 = require("./actions-util");
const api = __importStar(require("./api-client"));
+const api_client_1 = require("./api-client");
+const codeql_1 = require("./codeql");
+const config_utils_1 = require("./config-utils");
const environment_1 = require("./environment");
+const feature_flags_1 = require("./feature-flags");
const fingerprints = __importStar(require("./fingerprints"));
+const init_1 = require("./init");
const repository_1 = require("./repository");
+const tools_features_1 = require("./tools-features");
const util = __importStar(require("./util"));
const util_1 = require("./util");
const GENERIC_403_MSG = "The repo on which this action is running has not opted-in to CodeQL code scanning.";
const GENERIC_404_MSG = "The CodeQL code scanning feature is forbidden on this repository.";
// Takes a list of paths to sarif files and combines them together,
// returning the contents of the combined sarif file.
-function combineSarifFiles(sarifFiles) {
+function combineSarifFiles(sarifFiles, logger) {
+ logger.info(`Loading SARIF file(s)`);
const combinedSarif = {
version: null,
runs: [],
};
for (const sarifFile of sarifFiles) {
+ logger.debug(`Loading SARIF file: ${sarifFile}`);
const sarifObject = JSON.parse(fs.readFileSync(sarifFile, "utf8"));
// Check SARIF version
if (combinedSarif.version === null) {
@@ -62,6 +71,65 @@ function combineSarifFiles(sarifFiles) {
}
return combinedSarif;
}
+/**
+ * Checks whether all the runs in the given SARIF files were produced by CodeQL.
+ * @param sarifFiles The list of SARIF files to check.
+ */
+function areAllRunsProducedByCodeQL(sarifFiles) {
+ return sarifFiles.every((sarifFile) => {
+ const sarifObject = JSON.parse(fs.readFileSync(sarifFile, "utf8"));
+ return sarifObject.runs?.every((run) => run.tool?.driver?.name === "CodeQL");
+ });
+}
+// Takes a list of paths to sarif files and combines them together using the
+// CLI `github merge-results` command when all SARIF files are produced by
+// CodeQL. Otherwise, it will fall back to combining the files in the action.
+// Returns the contents of the combined sarif file.
+async function combineSarifFilesUsingCLI(sarifFiles, gitHubVersion, features, logger) {
+ logger.info("Combining SARIF files using the CodeQL CLI");
+ if (sarifFiles.length === 1) {
+ return JSON.parse(fs.readFileSync(sarifFiles[0], "utf8"));
+ }
+ if (!areAllRunsProducedByCodeQL(sarifFiles)) {
+ logger.debug("Not all SARIF files were produced by CodeQL. Merging files in the action.");
+ // If not, use the naive method of combining the files.
+ return combineSarifFiles(sarifFiles, logger);
+ }
+ // Initialize CodeQL, either by using the config file from the 'init' step,
+ // or by initializing it here.
+ let codeQL;
+ let tempDir = actionsUtil.getTemporaryDirectory();
+ const config = await (0, config_utils_1.getConfig)(tempDir, logger);
+ if (config !== undefined) {
+ codeQL = await (0, codeql_1.getCodeQL)(config.codeQLCmd);
+ tempDir = config.tempDir;
+ }
+ else {
+ logger.info("Initializing CodeQL since the 'init' Action was not called before this step.");
+ const apiDetails = {
+ auth: (0, actions_util_1.getRequiredInput)("token"),
+ externalRepoAuth: (0, actions_util_1.getOptionalInput)("external-repository-token"),
+ url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"),
+ apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"),
+ };
+ const codeQLDefaultVersionInfo = await features.getDefaultCliVersion(gitHubVersion.type);
+ const initCodeQLResult = await (0, init_1.initCodeQL)(undefined, // There is no tools input on the upload action
+ apiDetails, tempDir, gitHubVersion.type, codeQLDefaultVersionInfo, logger);
+ codeQL = initCodeQLResult.codeql;
+ }
+ if (!(await codeQL.supportsFeature(tools_features_1.ToolsFeature.SarifMergeRunsFromEqualCategory))) {
+ logger.warning("The CodeQL CLI does not support merging SARIF files. Merging files in the action.");
+ return combineSarifFiles(sarifFiles, logger);
+ }
+ const baseTempDir = path.resolve(tempDir, "combined-sarif");
+ fs.mkdirSync(baseTempDir, { recursive: true });
+ const outputDirectory = fs.mkdtempSync(path.resolve(baseTempDir, "output-"));
+ const outputFile = path.resolve(outputDirectory, "combined-sarif.sarif");
+ await codeQL.mergeResults(sarifFiles, outputFile, {
+ mergeRunsFromEqualCategory: true,
+ });
+ return JSON.parse(fs.readFileSync(outputFile, "utf8"));
+}
// Populates the run.automationDetails.id field using the analysis_key and environment
// and return an updated sarif file contents.
function populateRunAutomationDetails(sarif, category, analysis_key, environment) {
@@ -190,6 +258,7 @@ function countResultsInSarif(sarif) {
// Validates that the given file path refers to a valid SARIF file.
// Throws an error if the file is invalid.
function validateSarifFileSchema(sarifFilePath, logger) {
+ logger.info(`Validating ${sarifFilePath}`);
let sarif;
try {
sarif = JSON.parse(fs.readFileSync(sarifFilePath, "utf8"));
@@ -222,7 +291,8 @@ function validateSarifFileSchema(sarifFilePath, logger) {
exports.validateSarifFileSchema = validateSarifFileSchema;
// buildPayload constructs a map ready to be uploaded to the API from the given
// parameters, respecting the current mode and target GitHub instance version.
-function buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, workflowRunID, workflowRunAttempt, checkoutURI, environment, toolNames, mergeBaseCommitOid) {
+function buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, workflowRunID, workflowRunAttempt, checkoutURI, environment, toolNames, mergeBaseCommitOid, logger) {
+ logger.info(`Combining SARIF files using CLI`);
const payloadObj = {
commit_oid: commitOid,
ref,
@@ -264,19 +334,26 @@ exports.buildPayload = buildPayload;
async function uploadFiles(sarifFiles, repositoryNwo, commitOid, ref, analysisKey, category, analysisName, workflowRunID, workflowRunAttempt, sourceRoot, environment, logger) {
logger.startGroup("Uploading results");
logger.info(`Processing sarif files: ${JSON.stringify(sarifFiles)}`);
+ const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
+ const features = new feature_flags_1.Features(gitHubVersion, repositoryNwo, actionsUtil.getTemporaryDirectory(), logger);
// Validate that the files we were asked to upload are all valid SARIF files
for (const file of sarifFiles) {
validateSarifFileSchema(file, logger);
}
- let sarif = combineSarifFiles(sarifFiles);
+ let sarif = (await features.getValue(feature_flags_1.Feature.CliSarifMerge))
+ ? await combineSarifFilesUsingCLI(sarifFiles, gitHubVersion, features, logger)
+ : combineSarifFiles(sarifFiles, logger);
sarif = await fingerprints.addFingerprints(sarif, sourceRoot, logger);
sarif = populateRunAutomationDetails(sarif, category, analysisKey, environment);
const toolNames = util.getToolNames(sarif);
+ logger.debug(`Validating that each SARIF run has a unique category`);
validateUniqueCategory(sarif);
+ logger.debug(`Serializing SARIF for upload`);
const sarifPayload = JSON.stringify(sarif);
+ logger.debug(`Compressing serialized SARIF`);
const zippedSarif = zlib_1.default.gzipSync(sarifPayload).toString("base64");
const checkoutURI = (0, file_url_1.default)(sourceRoot);
- const payload = buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, workflowRunID, workflowRunAttempt, checkoutURI, environment, toolNames, await actionsUtil.determineMergeBaseCommitOid());
+ const payload = buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, workflowRunID, workflowRunAttempt, checkoutURI, environment, toolNames, await actionsUtil.determineMergeBaseCommitOid(), logger);
// Log some useful debug info about the info
const rawUploadSizeBytes = sarifPayload.length;
logger.debug(`Raw upload size: ${rawUploadSizeBytes} bytes`);
diff --git a/lib/upload-lib.js.map b/lib/upload-lib.js.map
index cfa79e9576..e2d0ed1f9a 100644
--- a/lib/upload-lib.js.map
+++ b/lib/upload-lib.js.map
@@ -1 +1 @@
-{"version":3,"file":"upload-lib.js","sourceRoot":"","sources":["../src/upload-lib.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,gDAAwB;AAExB,oDAAsC;AAEtC,wDAA+B;AA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E,IAAI,EAAE,CAAC;IACtC,CAAC;IAED,KAAK,MAAM,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;QAClE,MAAM,cAAc,GAAG,uBAAuB,QAAQ,EAAE,CAAC;QACzD,IAAI,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC;YAChC,MAAM,IAAI,uBAAuB,CAC/B,2HAA2H;gBACzH,sHAAsH;gBACtH,gFAAgF;gBAChF,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,GAAG,CACpE,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IACtD,CAAC;AACH,CAAC;AAxBD,wDAwBC;AAED;;;;;;;;GAQG;AACH,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC,iBAAiB,EAAE,CAAC;AACzE,CAAC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,KAAK;IAChD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAJD,0DAIC"}
\ No newline at end of file
diff --git a/lib/upload-lib.test.js b/lib/upload-lib.test.js
index a70574ff2a..eba6516ccd 100644
--- a/lib/upload-lib.test.js
+++ b/lib/upload-lib.test.js
@@ -47,7 +47,7 @@ ava_1.default.beforeEach(() => {
});
(0, ava_1.default)("validate correct payload used for push, PR merge commit, and PR head", async (t) => {
process.env["GITHUB_EVENT_NAME"] = "push";
- const pushPayload = uploadLib.buildPayload("commit", "refs/heads/master", "key", undefined, "", 1234, 1, "/opt/src", undefined, ["CodeQL", "eslint"], "mergeBaseCommit");
+ const pushPayload = uploadLib.buildPayload("commit", "refs/heads/master", "key", undefined, "", 1234, 1, "/opt/src", undefined, ["CodeQL", "eslint"], "mergeBaseCommit", (0, logging_1.getRunnerLogger)(true));
// Not triggered by a pull request
t.falsy(pushPayload.base_ref);
t.falsy(pushPayload.base_sha);
@@ -55,11 +55,11 @@ ava_1.default.beforeEach(() => {
process.env["GITHUB_SHA"] = "commit";
process.env["GITHUB_BASE_REF"] = "master";
process.env["GITHUB_EVENT_PATH"] = `${__dirname}/../src/testdata/pull_request.json`;
- const prMergePayload = uploadLib.buildPayload("commit", "refs/pull/123/merge", "key", undefined, "", 1234, 1, "/opt/src", undefined, ["CodeQL", "eslint"], "mergeBaseCommit");
+ const prMergePayload = uploadLib.buildPayload("commit", "refs/pull/123/merge", "key", undefined, "", 1234, 1, "/opt/src", undefined, ["CodeQL", "eslint"], "mergeBaseCommit", (0, logging_1.getRunnerLogger)(true));
// Uploads for a merge commit use the merge base
t.deepEqual(prMergePayload.base_ref, "refs/heads/master");
t.deepEqual(prMergePayload.base_sha, "mergeBaseCommit");
- const prHeadPayload = uploadLib.buildPayload("headCommit", "refs/pull/123/head", "key", undefined, "", 1234, 1, "/opt/src", undefined, ["CodeQL", "eslint"], "mergeBaseCommit");
+ const prHeadPayload = uploadLib.buildPayload("headCommit", "refs/pull/123/head", "key", undefined, "", 1234, 1, "/opt/src", undefined, ["CodeQL", "eslint"], "mergeBaseCommit", (0, logging_1.getRunnerLogger)(true));
// Uploads for the head use the PR base
t.deepEqual(prHeadPayload.base_ref, "refs/heads/master");
t.deepEqual(prHeadPayload.base_sha, "f95f852bd8fca8fcc58a9a2d6c842781e32a215e");
@@ -192,8 +192,8 @@ ava_1.default.beforeEach(() => {
};
const sarifFile = `${__dirname}/../src/testdata/with-invalid-uri.sarif`;
uploadLib.validateSarifFileSchema(sarifFile, mockLogger);
- t.deepEqual(loggedMessages.length, 1);
- t.deepEqual(loggedMessages[0], "Warning: 'not a valid URI' is not a valid URI in 'instance.runs[0].results[0].locations[0].physicalLocation.artifactLocation.uri'.");
+ t.deepEqual(loggedMessages.length, 2);
+ t.deepEqual(loggedMessages[1], "Warning: 'not a valid URI' is not a valid URI in 'instance.runs[0].results[0].locations[0].physicalLocation.artifactLocation.uri'.");
});
function createMockSarif(id, tool) {
return {
diff --git a/lib/upload-lib.test.js.map b/lib/upload-lib.test.js.map
index 49751dd68d..59dafff677 100644
--- a/lib/upload-lib.test.js.map
+++ b/lib/upload-lib.test.js.map
@@ -1 +1 @@
-{"version":3,"file":"upload-lib.test.js","sourceRoot":"","sources":["../src/upload-lib.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AAEvB,uCAAoD;AACpD,mDAA6C;AAC7C,wDAA0C;AAC1C,iCAA2D;AAE3D,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,MAAM,SAAS,GAAG,GAAG,SAAS,oCAAoC,CAAC;IACnE,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,CACf,SAAS,CAAC,uBAAuB,CAAC,SAAS,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC,CACpE,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,mCAAmC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC9C,MAAM,SAAS,GAAG,GAAG,SAAS,sCAAsC,CAAC;IACrE,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CACZ,SAAS,CAAC,uBAAuB,CAAC,SAAS,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC,CAAC,CACpE,CAAC;AACJ,CAAC,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B,CAAC,MAAM,CAAC,CAAC,CAAC;AAC3D,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,wDAAwD,EAAE,CAAC,CAAC,EAAE,EAAE;IACnE,MAAM,cAAc,GAAa,EAAE,CAAC;IACpC,MAAM,UAAU,GAAG;QACjB,IAAI,EAAE,CAAC,OAAe,EAAE,EAAE;YACxB,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/B,CAAC;KACQ,CAAC;IAEZ,MAAM,SAAS,GAAG,GAAG,SAAS,yCAAyC,CAAC;IACxE,SAAS,CAAC,uBAAuB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAEzD,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACtC,CAAC,CAAC,SAAS,CACT,cAAc,CAAC,CAAC,CAAC,EACjB,oIAAoI,CACrI,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,eAAe,CAAC,EAAW,EAAE,IAAa;IACjD,OAAO;QACL,IAAI,EAAE;YACJ;gBACE,iBAAiB,EAAE;oBACjB,EAAE;iBACH;gBACD,IAAI,EAAE;oBACJ,MAAM,EAAE;wBACN,IAAI,EAAE,IAAI;qBACX;iBACF;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
\ No newline at end of file
diff --git a/lib/upload-sarif-action-post-helper.js b/lib/upload-sarif-action-post-helper.js
new file mode 100644
index 0000000000..bd68f639ed
--- /dev/null
+++ b/lib/upload-sarif-action-post-helper.js
@@ -0,0 +1,55 @@
+"use strict";
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ var desc = Object.getOwnPropertyDescriptor(m, k);
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+ desc = { enumerable: true, get: function() { return m[k]; } };
+ }
+ Object.defineProperty(o, k2, desc);
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+ o["default"] = v;
+});
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.uploadArtifacts = void 0;
+const fs = __importStar(require("fs"));
+const path = __importStar(require("path"));
+const core = __importStar(require("@actions/core"));
+const actionsUtil = __importStar(require("./actions-util"));
+async function uploadArtifacts(uploadDebugArtifacts) {
+ const tempDir = actionsUtil.getTemporaryDirectory();
+ // Upload Actions SARIF artifacts for debugging when environment variable is set
+ if (process.env["CODEQL_ACTION_DEBUG_COMBINED_SARIF"] === "true") {
+ core.info("Uploading available combined SARIF files as Actions debugging artifact...");
+ const baseTempDir = path.resolve(tempDir, "combined-sarif");
+ const toUpload = [];
+ if (fs.existsSync(baseTempDir)) {
+ const outputDirs = fs.readdirSync(baseTempDir);
+ for (const outputDir of outputDirs) {
+ const sarifFiles = fs
+ .readdirSync(path.resolve(baseTempDir, outputDir))
+ .filter((f) => f.endsWith(".sarif"));
+ for (const sarifFile of sarifFiles) {
+ toUpload.push(path.resolve(baseTempDir, outputDir, sarifFile));
+ }
+ }
+ }
+ if (toUpload.length > 0) {
+ await uploadDebugArtifacts(toUpload, baseTempDir, "upload-debug-artifacts");
+ }
+ }
+}
+exports.uploadArtifacts = uploadArtifacts;
+//# sourceMappingURL=upload-sarif-action-post-helper.js.map
\ No newline at end of file
diff --git a/lib/upload-sarif-action-post-helper.js.map b/lib/upload-sarif-action-post-helper.js.map
new file mode 100644
index 0000000000..5d2c6ac8ed
--- /dev/null
+++ b/lib/upload-sarif-action-post-helper.js.map
@@ -0,0 +1 @@
+{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,CAAC;IACH,CAAC;AACH,CAAC;AAzCD,0CAyCC"}
\ No newline at end of file
diff --git a/lib/upload-sarif-action-post.js b/lib/upload-sarif-action-post.js
new file mode 100644
index 0000000000..efaa5b0155
--- /dev/null
+++ b/lib/upload-sarif-action-post.js
@@ -0,0 +1,44 @@
+"use strict";
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ var desc = Object.getOwnPropertyDescriptor(m, k);
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+ desc = { enumerable: true, get: function() { return m[k]; } };
+ }
+ Object.defineProperty(o, k2, desc);
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+ o["default"] = v;
+});
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+/**
+ * This file is the entry point for the `post:` hook of `upload-sarif-action.yml`.
+ * It will run after the all steps in this job, in reverse order in relation to
+ * other `post:` hooks.
+ */
+const core = __importStar(require("@actions/core"));
+const debugArtifacts = __importStar(require("./debug-artifacts"));
+const uploadSarifActionPostHelper = __importStar(require("./upload-sarif-action-post-helper"));
+const util_1 = require("./util");
+async function runWrapper() {
+ try {
+ await uploadSarifActionPostHelper.uploadArtifacts(debugArtifacts.uploadDebugArtifacts);
+ }
+ catch (error) {
+ core.setFailed(`upload-sarif post-action step failed: ${(0, util_1.wrapError)(error).message}`);
+ }
+}
+void runWrapper();
+//# sourceMappingURL=upload-sarif-action-post.js.map
\ No newline at end of file
diff --git a/lib/upload-sarif-action-post.js.map b/lib/upload-sarif-action-post.js.map
new file mode 100644
index 0000000000..ce331cdd87
--- /dev/null
+++ b/lib/upload-sarif-action-post.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"upload-sarif-action-post.js","sourceRoot":"","sources":["../src/upload-sarif-action-post.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,oDAAsC;AAEtC,kEAAoD;AACpD,+FAAiF;AACjF,iCAAmC;AAEnC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,2BAA2B,CAAC,eAAe,CAC/C,cAAc,CAAC,oBAAoB,CACpC,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,yCAAyC,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CACpE,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js
index f486fc5d16..9d5b85f130 100644
--- a/lib/upload-sarif-action.js
+++ b/lib/upload-sarif-action.js
@@ -34,11 +34,13 @@ const upload_lib = __importStar(require("./upload-lib"));
const util_1 = require("./util");
async function sendSuccessStatusReport(startedAt, uploadStats, logger) {
const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "success", startedAt, undefined, await (0, util_1.checkDiskUsage)(), logger);
- const statusReport = {
- ...statusReportBase,
- ...uploadStats,
- };
- await (0, status_report_1.sendStatusReport)(statusReport);
+ if (statusReportBase !== undefined) {
+ const statusReport = {
+ ...statusReportBase,
+ ...uploadStats,
+ };
+ await (0, status_report_1.sendStatusReport)(statusReport);
+ }
}
async function run() {
const startedAt = new Date();
@@ -46,7 +48,10 @@ async function run() {
(0, util_1.initializeEnvironment)((0, actions_util_1.getActionVersion)());
const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
(0, util_1.checkActionVersion)((0, actions_util_1.getActionVersion)(), gitHubVersion);
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "starting", startedAt, undefined, await (0, util_1.checkDiskUsage)(), logger));
+ const startingStatusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, "starting", startedAt, undefined, await (0, util_1.checkDiskUsage)(), logger);
+ if (startingStatusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(startingStatusReportBase);
+ }
try {
const uploadResult = await upload_lib.uploadFromActions(actionsUtil.getRequiredInput("sarif_file"), actionsUtil.getRequiredInput("checkout_path"), actionsUtil.getOptionalInput("category"), logger);
core.setOutput("sarif-id", uploadResult.sarifID);
@@ -67,7 +72,10 @@ async function run() {
const message = error.message;
core.setFailed(message);
console.log(error);
- await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, (0, status_report_1.getActionsStatus)(error), startedAt, undefined, await (0, util_1.checkDiskUsage)(), logger, message, error.stack));
+ const errorStatusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.UploadSarif, (0, status_report_1.getActionsStatus)(error), startedAt, undefined, await (0, util_1.checkDiskUsage)(), logger, message, error.stack);
+ if (errorStatusReportBase !== undefined) {
+ await (0, status_report_1.sendStatusReport)(errorStatusReportBase);
+ }
return;
}
}
diff --git a/lib/upload-sarif-action.js.map b/lib/upload-sarif-action.js.map
index 3166b9ec4b..1c754d6f4c 100644
--- a/lib/upload-sarif-action.js.map
+++ b/lib/upload-sarif-action.js.map
@@ -1 +1 @@
-{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,iDAAkD;AAClD,6CAAgD;AAChD,uCAAqD;AACrD,6CAAkD;AAClD,mDAOyB;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,KAAK,CAAC,CAAC,OAAO,EAAE,CACjE,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,iDAAkD;AAClD,6CAAgD;AAChD,uCAAqD;AACrD,6CAAkD;AAClD,mDAOyB;AACzB,yDAA2C;AAC3C,iCAQgB;AAMhB,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C,EAC1C,MAAc;IAEd,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,WAAW,EACtB,SAAS,EACT,SAAS,EACT,SAAS,EACT,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,CACP,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,YAAY,GAA4B;YAC5C,GAAG,gBAAgB;YACnB,GAAG,WAAW;SACf,CAAC;QACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,IAAA,4BAAqB,EAAC,IAAA,+BAAgB,GAAE,CAAC,CAAC;IAE1C,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;IAC/C,IAAA,yBAAkB,EAAC,IAAA,+BAAgB,GAAE,EAAE,aAAa,CAAC,CAAC;IAEtD,MAAM,wBAAwB,GAAG,MAAM,IAAA,sCAAsB,EAC3D,0BAAU,CAAC,WAAW,EACtB,UAAU,EACV,SAAS,EACT,SAAS,EACT,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,CACP,CAA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,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAEnB,MAAM,qBAAqB,GAAG,MAAM,IAAA,sCAAsB,EACxD,0BAAU,CAAC,WAAW,EACtB,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,SAAS,EACT,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,EACN,OAAO,EACP,KAAK,CAAC,KAAK,CACZ,CAAC;QACF,IAAI,qBAAqB,KAAK,SAAS,EAAE,CAAC;YACxC,MAAM,IAAA,gCAAgB,EAAC,qBAAqB,CAAC,CAAC;QAChD,CAAC;QACD,OAAO;IACT,CAAC;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CACZ,sCAAsC,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CACjE,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json
index 758a4d729a..1123d2d5cc 100644
--- a/node_modules/.package-lock.json
+++ b/node_modules/.package-lock.json
@@ -1,6 +1,6 @@
{
"name": "codeql",
- "version": "2.24.9",
+ "version": "2.24.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
@@ -957,16 +957,16 @@
"integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA=="
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.3.0.tgz",
- "integrity": "sha512-e65ii0Y/jkqX3GXSBM7v9qt9ufxd4omcWyPVVC/msq/hP+hYC6CddLRvlvclni+u7UcaNYT/QhBYlaMHaR2ixw==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.4.0.tgz",
+ "integrity": "sha512-yHMQ/oFaM7HZdVrVm/M2WHaNPgyuJH4WelkSVEWSSsir34kxW2kDJCxlXRhhGWEsMN0WAW/vLpKfKVcm8k+MPw==",
"dev": true,
"dependencies": {
"@eslint-community/regexpp": "^4.5.1",
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/type-utils": "7.3.0",
- "@typescript-eslint/utils": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/type-utils": "7.4.0",
+ "@typescript-eslint/utils": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4",
"graphemer": "^1.4.0",
"ignore": "^5.2.4",
@@ -992,15 +992,15 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.3.0.tgz",
- "integrity": "sha512-OZcvH8zipGILuxJmtFgzjAJ+bOpWidzEppIRsT2P4ZUrizU0EsPt4hhzDn3lNfM1Hv7slZPTEQGKjUEn/ftQYA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.4.0.tgz",
+ "integrity": "sha512-ZvKHxHLusweEUVwrGRXXUVzFgnWhigo4JurEj0dGF1tbcGh6buL+ejDdjxOQxv6ytcY1uhun1p2sm8iWStlgLQ==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/typescript-estree": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4"
},
"engines": {
@@ -1020,13 +1020,13 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.3.0.tgz",
- "integrity": "sha512-KlG7xH3J/+nHpZRcYeskO5QVJCnnssxYKBlrj3MoyMONihn3P4xu5jIelrS5YWvBjbytgHmFkzjDApranoYkNA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.4.0.tgz",
+ "integrity": "sha512-68VqENG5HK27ypafqLVs8qO+RkNc7TezCduYrx8YJpXq2QGZ30vmNZGJJJC48+MVn4G2dCV8m5ZTVnzRexTVtw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0"
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0"
},
"engines": {
"node": "^18.18.0 || >=20.0.0"
@@ -1037,13 +1037,13 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.3.0.tgz",
- "integrity": "sha512-TyQ19ydo248eFjTfHFSvZbxalFUOxU9o2M6SUk3wOA0yRF1ZiB2VP5iaoLrGKcg7TyUxS4knYIHnE55ih82Cfg==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.4.0.tgz",
+ "integrity": "sha512-247ETeHgr9WTRMqHbbQdzwzhuyaJ8dPTuyuUEMANqzMRB1rj/9qFIuIXK7l0FX9i9FXbHeBQl/4uz6mYuCE7Aw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/typescript-estree": "7.3.0",
- "@typescript-eslint/utils": "7.3.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
+ "@typescript-eslint/utils": "7.4.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.0.1"
},
@@ -1064,9 +1064,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.3.0.tgz",
- "integrity": "sha512-oYCBkD0xVxzmZZmYiIWVewyy/q/ugq7PPm4pHhE1IgcT062i96G0Ww3gd8BvUYpk2yvg95q00Hj2CHRLjAuZBA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.4.0.tgz",
+ "integrity": "sha512-mjQopsbffzJskos5B4HmbsadSJQWaRK0UxqQ7GuNA9Ga4bEKeiO6b2DnB6cM6bpc8lemaPseh0H9B/wyg+J7rw==",
"dev": true,
"engines": {
"node": "^18.18.0 || >=20.0.0"
@@ -1077,13 +1077,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.3.0.tgz",
- "integrity": "sha512-UF85+bInQZ3olhI/zxv0c2b2SMuymn3t6/lkRkSB239HHxFmPSlmcggOKAjYzqRCdtqhPDftpsV1LlDH66AXrA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.4.0.tgz",
+ "integrity": "sha512-A99j5AYoME/UBQ1ucEbbMEmGkN7SE0BvZFreSnTd1luq7yulcHdyGamZKizU7canpGDWGJ+Q6ZA9SyQobipePg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -1129,17 +1129,17 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.3.0.tgz",
- "integrity": "sha512-7PKIDoe2ppR1SK56TLv7WQXrdHqEiueVwLVIjdSR4ROY2LprmJenf4+tT8iJIfxrsPzjSJGNeQ7GVmfoYbqrhw==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.4.0.tgz",
+ "integrity": "sha512-NQt9QLM4Tt8qrlBVY9lkMYzfYtNz8/6qwZg8pI3cMGlPnj6mOpRxxAm7BMJN9K0AiY+1BwJ5lVC650YJqYOuNg==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0",
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/typescript-estree": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
"semver": "^7.5.4"
},
"engines": {
@@ -1154,12 +1154,12 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.3.0.tgz",
- "integrity": "sha512-Gz8Su+QjOI5qP8UQ74VqKaTt/BLy23IhCCHLbYxhmNzHCGFHrvfgq4hISZvuqQ690ubkD0746qLcWC647nScuQ==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.4.0.tgz",
+ "integrity": "sha512-0zkC7YM0iX5Y41homUUeW1CHtZR01K3ybjM1l6QczoMuay0XKtrb93kv95AxUGwdjGr64nNqnOCwmEl616N8CA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
+ "@typescript-eslint/types": "7.4.0",
"eslint-visitor-keys": "^3.4.1"
},
"engines": {
@@ -6059,9 +6059,9 @@
}
},
"node_modules/typescript": {
- "version": "5.4.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz",
- "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==",
+ "version": "5.4.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz",
+ "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js
index 29c061171f..f4f1a51bb2 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js
@@ -88,8 +88,6 @@ module.exports = {
'no-shadow': 'off',
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/no-this-alias': 'error',
- 'no-throw-literal': 'off',
- '@typescript-eslint/no-throw-literal': 'error',
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-qualifier': 'error',
@@ -116,6 +114,8 @@ module.exports = {
'@typescript-eslint/no-useless-template-literals': 'error',
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
+ 'no-throw-literal': 'off',
+ '@typescript-eslint/only-throw-error': 'error',
'@typescript-eslint/parameter-properties': 'error',
'@typescript-eslint/prefer-as-const': 'error',
'prefer-destructuring': 'off',
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map
index 0928a320bf..b8af458f7c 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map
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O;QACrD,mDAAmD,EAAE,OAAO;QAC5D,2CAA2C,EAAE,OAAO;QACpD,2CAA2C,EAAE,OAAO;QACpD,+CAA+C,EAAE,OAAO;QACxD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE,OAAO;QACpD,kDAAkD,EAAE,OAAO;QAC3D,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE,OAAO;QAC1C,2CAA2C,EAAE,OAAO;QACpD,+CAA+C,EAAE,OAAO;QACxD,gDAAgD,EAAE,OAAO;QACzD,2CAA2C,EAAE,OAAO;QACpD,4BAA4B,EAAE,OAAO;QACrC,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"all.js","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,iDAAiD,EAAE,OAAO;QAC1D,+BAA+B,EAAE,OAAO;QACxC,mCAAmC,EAAE,OAAO;QAC5C,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,8BAA8B,EAAE,OAAO;QACvC,iDAAiD,EAAE,OAAO;QAC1D,wBAAwB,EAAE,KAAK;QAC/B,2CAA2C,EAAE,OAAO;QACpD,oDAAoD,EAAE,OAAO;QAC7D,oDAAoD,EAAE,OAAO;QAC7D,mBAAmB,EAAE,KAAK;QAC1B,sCAAsC,EAAE,OAAO;QAC/C,+CAA+C,EAAE,OAAO;QACxD,gDAAgD,EAAE,OAAO;QACzD,4CAA4C,EAAE,OAAO;QACrD,4CAA4C,EAAE,OAAO;QACrD,oBAAoB,EAAE,KAAK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AAoC,EAAE,OAAO;QAC7C,sBAAsB,EAAE,KAAK;QAC7B,yCAAyC,EAAE,OAAO;QAClD,6CAA6C,EAAE,OAAO;QACtD,gCAAgC,EAAE,OAAO;QACzC,kCAAkC,EAAE,OAAO;QAC3C,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,+CAA+C,EAAE,OAAO;QACxD,6CAA6C,EAAE,OAAO;QACtD,8CAA8C,EAAE,OAAO;QACvD,0CAA0C,EAAE,OAAO;QACnD,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,oCAAoC,EAAE,OAAO;QAC7C,oDAAoD,EAAE,OAAO;QAC7D,iDAAiD,EAAE,OAAO;QAC1D,uCAAuC,EAAE,OAAO;QAChD,4CAA4C,EAAE,OAAO;QACrD,mDAAmD,EAAE,OAAO;QAC5D,2CAA2C,EAAE,OAAO;QACpD,2CAA2C,EAAE,OAAO;QACpD,+CAA+C,EAAE,OAAO;QACxD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE,OAAO;QACpD,kDAAkD,EAAE,OAAO;QAC3D,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE,OAAO;QAC1C,2CAA2C,EAAE,OAAO;QACpD,+CAA+C,EAAE,OAAO;QACxD,gDAAgD,EAAE,OAAO;QACzD,2CAA2C,EAAE,OAAO;QACpD,4BAA4B,EAAE,OAAO;QACrC,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js
index d86eb69dd3..d846300bef 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js
@@ -39,6 +39,7 @@ module.exports = {
'@typescript-eslint/no-unsafe-unary-minus': 'off',
'@typescript-eslint/no-useless-template-literals': 'off',
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
+ '@typescript-eslint/only-throw-error': 'off',
'@typescript-eslint/prefer-destructuring': 'off',
'@typescript-eslint/prefer-find': 'off',
'@typescript-eslint/prefer-includes': 'off',
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map
index c20199f918..2fd60cc192 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js.map
@@ -1 +1 @@
-{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,aAAa,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE;IAChD,KAAK,EAAE;QACL,mCAAmC,EAAE,KAAK;QAC1C,sCAAsC,EAAE,KAAK;QAC7C,4CAA4C,EAAE,KAAK;QACnD,iCAAiC,EAAE,KAAK;QACxC,sCAAsC,EAAE,KAAK;QAC7C,oCAAoC,EAAE,KAAK;QAC3C,sCAAsC,EAAE,KAAK;QAC7C,iDAAiD,EAAE,KAAK;QACxD,mDAAmD,EAAE,KAAK;QAC1D,yCAAyC,EAAE,KAAK;QAChD,oCAAoC,EAAE,KAAK;QAC3C,oCAAoC,EAAE,KAAK;QAC3C,iDAAiD,EAAE,KAAK;QACxD,wCAAwC,EAAE,KAAK;QAC/C,mCAAmC,EAAE,KAAK;QAC1C,mDAAmD,EAAE,KAAK;QAC1D,qCAAqC,EAAE,KAAK;QAC5C,2DAA2D,EAAE,KAAK;QAClE,6CAA6C,EAAE,KAAK;QACpD,6CAA6C,EAAE,KAAK;QACpD,kDAAkD,EAAE,KAAK;QACzD,kDAAkD,EAAE,KAAK;QACzD,uCAAuC,EAAE,KAAK;QAC9C,yCAAyC,EAAE,KAAK;QAChD,mCAAmC,EAAE,KAAK;QAC1C,8CAA8C,EAAE,KAAK;QACrD,4CAA4C,EAAE,KAAK;QACnD,qCAAqC,EAAE,KAAK;QAC5C,0CAA0C,EAAE,KAAK;QACjD,iDAAiD,EAAE,KAAK;QACxD,sDAAsD,EAAE,KAAK;QAC7D,yCAAyC,EAAE,KAAK;QAChD,gCAAgC,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,8CAA8C,EAAE,KAAK;QACrD,0CAA0C,EAAE,KAAK;QACjD,iDAAiD,EAAE,KAAK;QACxD,oCAAoC,EAAE,KAAK;QAC3C,oDAAoD,EAAE,KAAK;QAC3D,iDAAiD,EAAE,KAAK;QACxD,uCAAuC,EAAE,KAAK;QAC9C,4CAA4C,EAAE,KAAK;QACnD,mDAAmD,EAAE,KAAK;QAC1D,2CAA2C,EAAE,KAAK;QAClD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;QAC1C,2DAA2D,EAAE,KAAK;KACnE;CAC6B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,aAAa,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE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AK;QAClD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;QAC1C,2DAA2D,EAAE,KAAK;KACnE;CAC6B,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js
index 578c9303fa..51ea12acae 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js
@@ -13,7 +13,7 @@ module.exports = {
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-confusing-void-expression': 'error',
'@typescript-eslint/no-duplicate-type-constituents': 'error',
- '@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: false }],
+ '@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-for-in-array': 'error',
'no-implied-eval': 'off',
'@typescript-eslint/no-implied-eval': 'error',
@@ -21,8 +21,6 @@ module.exports = {
'@typescript-eslint/no-misused-promises': 'error',
'@typescript-eslint/no-mixed-enums': 'error',
'@typescript-eslint/no-redundant-type-constituents': 'error',
- 'no-throw-literal': 'off',
- '@typescript-eslint/no-throw-literal': 'error',
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
@@ -34,6 +32,8 @@ module.exports = {
'@typescript-eslint/no-unsafe-member-access': 'error',
'@typescript-eslint/no-unsafe-return': 'error',
'@typescript-eslint/no-useless-template-literals': 'error',
+ 'no-throw-literal': 'off',
+ '@typescript-eslint/only-throw-error': 'error',
'@typescript-eslint/prefer-includes': 'error',
'prefer-promise-reject-errors': 'off',
'@typescript-eslint/prefer-promise-reject-errors': 'error',
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map
index c50a2cb78f..e36be54581 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked-only.js.map
@@ -1 +1 @@
-{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,mDAAmD,EAAE,OAAO;QAC5D,yCAAyC,EAAE,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QAC3E,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,iDAAiD,EAAE,OAAO;QAC1D,wCAAwC,EAAE,OAAO;QACjD,mCAAmC,EAAE,OAAO;QAC5C,mDAAmD,EAAE,OAAO;QAC5D,kBAAkB,EAAE,KAAK;QACzB,qCAAqC,EAAE,OAAO;QAC9C,2DAA2D,EAAE,OAAO;QACpE,6CAA6C,EAAE,OAAO;QACtD,kDAAkD,EAAE,OAAO;QAC3D,kDAAkD,EAAE,OAAO;QAC3D,uCAAuC,EAAE,OAAO;QAChD,yCAAyC,EAAE,OAAO;QAClD,mCAAmC,EAAE,OAAO;QAC5C,8CAA8C,EAAE,OAAO;QACvD,4CAA4C,EAAE,OAAO;QACrD,qCAAqC,EAAE,OAAO;QAC9C,iDAAiD,EAAE,OAAO;QAC1D,oCAAoC,EAAE,OAAO;QAC7C,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,iDAAiD,EAAE,OAAO;QAC1D,4CAA4C,EAAE,OAAO;QACrD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE;YAC3C,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,oBAAoB,EAAE,KAAK;gBAC3B,WAAW,EAAE,KAAK;aACnB;SACF;QACD,kDAAkD,EAAE;YAClD,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,KAAK;aAClB;SACF;QACD,mCAAmC,EAAE,OAAO;QAC5C,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,mDAAmD,EAAE,OAAO;QAC5D,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,iDAAiD,EAAE,OAAO;QAC1D,wCAAwC,EAAE,OAAO;QACjD,mCAAmC,EAAE,OAAO;QAC5C,mDAAmD,EAAE,OAAO;QAC5D,2DAA2D,EAAE,OAAO;QACpE,6CAA6C,EAAE,OAAO;QACtD,kDAAkD,EAAE,OAAO;QAC3D,kDAAkD,EAAE,OAAO;QAC3D,uCAAuC,EAAE,OAAO;QAChD,yCAAyC,EAAE,OAAO;QAClD,mCAAmC,EAAE,OAAO;QAC5C,8CAA8C,EAAE,OAAO;QACvD,4CAA4C,EAAE,OAAO;QACrD,qCAAqC,EAAE,OAAO;QAC9C,iDAAiD,EAAE,OAAO;QAC1D,kBAAkB,EAAE,KAAK;QACzB,qCAAqC,EAAE,OAAO;QAC9C,oCAAoC,EAAE,OAAO;QAC7C,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,iDAAiD,EAAE,OAAO;QAC1D,4CAA4C,EAAE,OAAO;QACrD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE;YAC3C,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,oBAAoB,EAAE,KAAK;gBAC3B,WAAW,EAAE,KAAK;aACnB;SACF;QACD,kDAAkD,EAAE;YAClD,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,KAAK;aAClB;SACF;QACD,mCAAmC,EAAE,OAAO;QAC5C,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js
index 1ffc87232e..9de45a333c 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js
@@ -25,7 +25,7 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-extra-non-null-assertion': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
- '@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: false }],
+ '@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-for-in-array': 'error',
'no-implied-eval': 'off',
'@typescript-eslint/no-implied-eval': 'error',
@@ -42,8 +42,6 @@ module.exports = {
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-redundant-type-constituents': 'error',
'@typescript-eslint/no-this-alias': 'error',
- 'no-throw-literal': 'off',
- '@typescript-eslint/no-throw-literal': 'error',
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
@@ -62,6 +60,8 @@ module.exports = {
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/no-useless-template-literals': 'error',
'@typescript-eslint/no-var-requires': 'error',
+ 'no-throw-literal': 'off',
+ '@typescript-eslint/only-throw-error': 'error',
'@typescript-eslint/prefer-as-const': 'error',
'@typescript-eslint/prefer-includes': 'error',
'@typescript-eslint/prefer-literal-enum-member': 'error',
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map
index 53b946498d..15cb430a17 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js.map
@@ -1 +1 @@
-{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,w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-type-imports.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js
index 85f2b95a1b..67bbcbd830 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js
@@ -11,11 +11,8 @@ exports.default = (0, util_1.createRule)({
},
messages: {
typeOverValue: 'All imports in the declaration are only used as types. Use `import type`.',
- someImportsAreOnlyTypes: 'Imports {{typeImports}} are only used as types.',
- aImportIsOnlyTypes: 'Import {{typeImports}} is only used as types.',
- someImportsInDecoMeta: 'Type imports {{typeImports}} are used by decorator metadata.',
- aImportInDecoMeta: 'Type import {{typeImports}} is used by decorator metadata.',
- valueOverType: 'Use an `import` instead of an `import type`.',
+ someImportsAreOnlyTypes: 'Imports {{typeImports}} are only used as type.',
+ avoidImportType: 'Use an `import` instead of an `import type`.',
noImportTypeAnnotations: '`import()` type annotations are forbidden.',
},
schema: [
@@ -41,252 +38,273 @@ exports.default = (0, util_1.createRule)({
},
defaultOptions: [
{
+ prefer: 'type-imports',
disallowTypeAnnotations: true,
fixStyle: 'separate-type-imports',
- prefer: 'type-imports',
},
],
create(context, [option]) {
const prefer = option.prefer ?? 'type-imports';
const disallowTypeAnnotations = option.disallowTypeAnnotations !== false;
+ const selectors = {};
+ if (disallowTypeAnnotations) {
+ selectors.TSImportType = (node) => {
+ context.report({
+ node,
+ messageId: 'noImportTypeAnnotations',
+ });
+ };
+ }
+ if (prefer === 'no-type-imports') {
+ return {
+ ...selectors,
+ 'ImportDeclaration[importKind = "type"]'(node) {
+ context.report({
+ node,
+ messageId: 'avoidImportType',
+ fix(fixer) {
+ return fixRemoveTypeSpecifierFromImportDeclaration(fixer, node);
+ },
+ });
+ },
+ 'ImportSpecifier[importKind = "type"]'(node) {
+ context.report({
+ node,
+ messageId: 'avoidImportType',
+ fix(fixer) {
+ return fixRemoveTypeSpecifierFromImportSpecifier(fixer, node);
+ },
+ });
+ },
+ };
+ }
+ // prefer type imports
const fixStyle = option.fixStyle ?? 'separate-type-imports';
+ let hasDecoratorMetadata = false;
const sourceImportsMap = {};
+ const emitDecoratorMetadata = (0, util_1.getParserServices)(context, true).emitDecoratorMetadata ?? false;
+ const experimentalDecorators = (0, util_1.getParserServices)(context, true).experimentalDecorators ?? false;
+ if (experimentalDecorators && emitDecoratorMetadata) {
+ selectors.Decorator = () => {
+ hasDecoratorMetadata = true;
+ };
+ }
return {
- ...(prefer === 'type-imports'
- ? {
- // prefer type imports
- ImportDeclaration(node) {
- const source = node.source.value;
- // sourceImports is the object containing all the specifics for a particular import source, type or value
- sourceImportsMap[source] ??= {
- source,
- reportValueImports: [], // if there is a mismatch where type importKind but value specifiers
- typeOnlyNamedImport: null, // if only type imports
- valueOnlyNamedImport: null, // if only value imports with named specifiers
- valueImport: null, // if only value imports
- };
- const sourceImports = sourceImportsMap[source];
- if (node.importKind === 'type') {
- if (!sourceImports.typeOnlyNamedImport &&
- node.specifiers.every(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier)) {
- // definitely import type { TypeX }
- sourceImports.typeOnlyNamedImport = node;
- }
- }
- else {
- if (!sourceImports.valueOnlyNamedImport &&
- node.specifiers.length &&
- node.specifiers.every(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier)) {
- sourceImports.valueOnlyNamedImport = node;
- sourceImports.valueImport = node;
- }
- else if (!sourceImports.valueImport &&
- node.specifiers.some(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportDefaultSpecifier)) {
- sourceImports.valueImport = node;
- }
- }
- const typeSpecifiers = [];
- const inlineTypeSpecifiers = [];
- const valueSpecifiers = [];
- const unusedSpecifiers = [];
- for (const specifier of node.specifiers) {
- if (specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier &&
- specifier.importKind === 'type') {
- inlineTypeSpecifiers.push(specifier);
- continue;
- }
- const [variable] = context.sourceCode.getDeclaredVariables(specifier);
- if (variable.references.length === 0) {
- unusedSpecifiers.push(specifier);
+ ...selectors,
+ ImportDeclaration(node) {
+ const source = node.source.value;
+ // sourceImports is the object containing all the specifics for a particular import source, type or value
+ sourceImportsMap[source] ??= {
+ source,
+ reportValueImports: [], // if there is a mismatch where type importKind but value specifiers
+ typeOnlyNamedImport: null, // if only type imports
+ valueOnlyNamedImport: null, // if only value imports with named specifiers
+ valueImport: null, // if only value imports
+ };
+ const sourceImports = sourceImportsMap[source];
+ if (node.importKind === 'type') {
+ if (!sourceImports.typeOnlyNamedImport &&
+ node.specifiers.every(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier)) {
+ // definitely import type { TypeX }
+ sourceImports.typeOnlyNamedImport = node;
+ }
+ }
+ else {
+ if (!sourceImports.valueOnlyNamedImport &&
+ node.specifiers.length &&
+ node.specifiers.every(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier)) {
+ sourceImports.valueOnlyNamedImport = node;
+ sourceImports.valueImport = node;
+ }
+ else if (!sourceImports.valueImport &&
+ node.specifiers.some(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportDefaultSpecifier)) {
+ sourceImports.valueImport = node;
+ }
+ }
+ const typeSpecifiers = [];
+ const inlineTypeSpecifiers = [];
+ const valueSpecifiers = [];
+ const unusedSpecifiers = [];
+ for (const specifier of node.specifiers) {
+ if (specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier &&
+ specifier.importKind === 'type') {
+ inlineTypeSpecifiers.push(specifier);
+ continue;
+ }
+ const [variable] = context.sourceCode.getDeclaredVariables(specifier);
+ if (variable.references.length === 0) {
+ unusedSpecifiers.push(specifier);
+ }
+ else {
+ const onlyHasTypeReferences = variable.references.every(ref => {
+ /**
+ * keep origin import kind when export
+ * export { Type }
+ * export default Type;
+ * export = Type;
+ */
+ if (ref.identifier.parent.type === utils_1.AST_NODE_TYPES.ExportSpecifier ||
+ ref.identifier.parent.type ===
+ utils_1.AST_NODE_TYPES.ExportDefaultDeclaration ||
+ ref.identifier.parent.type === utils_1.AST_NODE_TYPES.TSExportAssignment) {
+ if (ref.isValueReference && ref.isTypeReference) {
+ return node.importKind === 'type';
+ }
}
- else {
- const onlyHasTypeReferences = variable.references.every(ref => {
- /**
- * keep origin import kind when export
- * export { Type }
- * export default Type;
- * export = Type;
- */
- if (ref.identifier.parent.type ===
- utils_1.AST_NODE_TYPES.ExportSpecifier ||
- ref.identifier.parent.type ===
- utils_1.AST_NODE_TYPES.ExportDefaultDeclaration ||
- ref.identifier.parent.type ===
- utils_1.AST_NODE_TYPES.TSExportAssignment) {
- if (ref.isValueReference && ref.isTypeReference) {
- return node.importKind === 'type';
- }
- }
- if (ref.isValueReference) {
- let parent = ref.identifier.parent;
- let child = ref.identifier;
- while (parent) {
- switch (parent.type) {
- // CASE 1:
- // `type T = typeof foo` will create a value reference because "foo" must be a value type
- // however this value reference is safe to use with type-only imports
- case utils_1.AST_NODE_TYPES.TSTypeQuery:
- return true;
- case utils_1.AST_NODE_TYPES.TSQualifiedName:
- // TSTypeQuery must have a TSESTree.EntityName as its child, so we can filter here and break early
- if (parent.left !== child) {
- return false;
- }
- child = parent;
- parent = parent.parent;
- continue;
- // END CASE 1
- //////////////
- // CASE 2:
- // `type T = { [foo]: string }` will create a value reference because "foo" must be a value type
- // however this value reference is safe to use with type-only imports.
- // Also this is represented as a non-type AST - hence it uses MemberExpression
- case utils_1.AST_NODE_TYPES.TSPropertySignature:
- return parent.key === child;
- case utils_1.AST_NODE_TYPES.MemberExpression:
- if (parent.object !== child) {
- return false;
- }
- child = parent;
- parent = parent.parent;
- continue;
- // END CASE 2
- default:
- return false;
+ if (ref.isValueReference) {
+ let parent = ref.identifier.parent;
+ let child = ref.identifier;
+ while (parent) {
+ switch (parent.type) {
+ // CASE 1:
+ // `type T = typeof foo` will create a value reference because "foo" must be a value type
+ // however this value reference is safe to use with type-only imports
+ case utils_1.AST_NODE_TYPES.TSTypeQuery:
+ return true;
+ case utils_1.AST_NODE_TYPES.TSQualifiedName:
+ // TSTypeQuery must have a TSESTree.EntityName as its child, so we can filter here and break early
+ if (parent.left !== child) {
+ return false;
+ }
+ child = parent;
+ parent = parent.parent;
+ continue;
+ // END CASE 1
+ //////////////
+ // CASE 2:
+ // `type T = { [foo]: string }` will create a value reference because "foo" must be a value type
+ // however this value reference is safe to use with type-only imports.
+ // Also this is represented as a non-type AST - hence it uses MemberExpression
+ case utils_1.AST_NODE_TYPES.TSPropertySignature:
+ return parent.key === child;
+ case utils_1.AST_NODE_TYPES.MemberExpression:
+ if (parent.object !== child) {
+ return false;
}
- }
+ child = parent;
+ parent = parent.parent;
+ continue;
+ // END CASE 2
+ default:
+ return false;
}
- return ref.isTypeReference;
- });
- if (onlyHasTypeReferences) {
- typeSpecifiers.push(specifier);
- }
- else {
- valueSpecifiers.push(specifier);
}
}
+ return ref.isTypeReference;
+ });
+ if (onlyHasTypeReferences) {
+ typeSpecifiers.push(specifier);
}
- if ((node.importKind === 'value' && typeSpecifiers.length) ||
- (node.importKind === 'type' && valueSpecifiers.length)) {
- sourceImports.reportValueImports.push({
- node,
- typeSpecifiers,
- valueSpecifiers,
- unusedSpecifiers,
- inlineTypeSpecifiers,
- });
+ else {
+ valueSpecifiers.push(specifier);
}
- },
- 'Program:exit'() {
- for (const sourceImports of Object.values(sourceImportsMap)) {
- if (sourceImports.reportValueImports.length === 0) {
- // nothing to fix. value specifiers and type specifiers are correctly written
- continue;
+ }
+ }
+ if (node.importKind === 'value' && typeSpecifiers.length) {
+ sourceImports.reportValueImports.push({
+ node,
+ typeSpecifiers,
+ valueSpecifiers,
+ unusedSpecifiers,
+ inlineTypeSpecifiers,
+ });
+ }
+ },
+ 'Program:exit'() {
+ if (hasDecoratorMetadata) {
+ // Experimental decorator metadata is bowl of poop that cannot be
+ // supported based on pure syntactic analysis.
+ //
+ // So we can do one of two things:
+ // 1) add type-information to the rule in a breaking change and
+ // prevent users from using it so that we can fully support this
+ // case.
+ // 2) make the rule ignore all imports that are used in a file that
+ // might have decorator metadata.
+ //
+ // (1) is has huge impact and prevents the rule from being used by 99%
+ // of users Frankly - it's a straight-up bad option. So instead we
+ // choose with option (2) and just avoid reporting on any imports in a
+ // file with both emitDecoratorMetadata AND decorators
+ //
+ // For more context see the discussion in this issue and its linked
+ // issues:
+ // https://github.com/typescript-eslint/typescript-eslint/issues/5468
+ //
+ //
+ // NOTE - in TS 5.0 `experimentalDecorators` became the legacy option,
+ // replaced with un-flagged, stable decorators and thus the type-aware
+ // emitDecoratorMetadata implementation also became legacy. in TS 5.2
+ // support for the new, stable decorator metadata proposal was added -
+ // however this proposal does not include type information
+ //
+ //
+ // PHEW. So TL;DR what does all this mean?
+ // - if you use experimentalDecorators:true,
+ // emitDecoratorMetadata:true, and have a decorator in the file -
+ // the rule will do nothing in the file out of an abundance of
+ // caution.
+ // - else the rule will work as normal.
+ return;
+ }
+ for (const sourceImports of Object.values(sourceImportsMap)) {
+ if (sourceImports.reportValueImports.length === 0) {
+ // nothing to fix. value specifiers and type specifiers are correctly written
+ continue;
+ }
+ for (const report of sourceImports.reportValueImports) {
+ if (report.valueSpecifiers.length === 0 &&
+ report.unusedSpecifiers.length === 0 &&
+ report.node.importKind !== 'type') {
+ /**
+ * checks if import has type assertions
+ * ```
+ * import * as type from 'mod' assert { type: 'json' };
+ * ```
+ * https://github.com/typescript-eslint/typescript-eslint/issues/7527
+ */
+ if (report.node.attributes.length === 0) {
+ context.report({
+ node: report.node,
+ messageId: 'typeOverValue',
+ *fix(fixer) {
+ yield* fixToTypeImportDeclaration(fixer, report, sourceImports);
+ },
+ });
}
- for (const report of sourceImports.reportValueImports) {
- if (report.valueSpecifiers.length === 0 &&
- report.unusedSpecifiers.length === 0 &&
- report.node.importKind !== 'type') {
- /**
- * checks if import has type assertions
- * ```
- * import * as type from 'mod' assert { type: 'json' };
- * ```
- * https://github.com/typescript-eslint/typescript-eslint/issues/7527
- */
- if (report.node.attributes.length === 0) {
- context.report({
- node: report.node,
- messageId: 'typeOverValue',
- *fix(fixer) {
- yield* fixToTypeImportDeclaration(fixer, report, sourceImports);
- },
- });
- }
- }
- else {
- const isTypeImport = report.node.importKind === 'type';
- // we have a mixed type/value import or just value imports, so we need to split them out into multiple imports if separate-type-imports is configured
- const importNames = (isTypeImport
- ? report.valueSpecifiers // import type { A } from 'roo'; // WHERE A is used in value position
- : report.typeSpecifiers) // import { A, B } from 'roo'; // WHERE A is used in type position and B is in value position
- .map(specifier => `"${specifier.local.name}"`);
- const message = (() => {
- const typeImports = (0, util_1.formatWordList)(importNames);
- if (importNames.length === 1) {
- if (isTypeImport) {
- return {
- messageId: 'aImportInDecoMeta',
- data: { typeImports },
- };
- }
- return {
- messageId: 'aImportIsOnlyTypes',
- data: { typeImports },
- };
- }
- if (isTypeImport) {
- return {
- messageId: 'someImportsInDecoMeta',
- data: { typeImports }, // typeImports are all the value specifiers that are in the type position
- };
- }
- return {
- messageId: 'someImportsAreOnlyTypes',
- data: { typeImports }, // typeImports are all the type specifiers in the value position
- };
- })();
- context.report({
- node: report.node,
- ...message,
- *fix(fixer) {
- if (isTypeImport) {
- // take all the valueSpecifiers and put them on a new line
- yield* fixToValueImportDeclaration(fixer, report, sourceImports);
- }
- else {
- // take all the typeSpecifiers and put them on a new line
- yield* fixToTypeImportDeclaration(fixer, report, sourceImports);
- }
+ }
+ else {
+ // we have a mixed type/value import or just value imports, so we need to split them out into multiple imports if separate-type-imports is configured
+ const importNames = report.typeSpecifiers.map(specifier => `"${specifier.local.name}"`);
+ const message = (() => {
+ const typeImports = (0, util_1.formatWordList)(importNames);
+ if (importNames.length === 1) {
+ return {
+ messageId: 'someImportsAreOnlyTypes',
+ data: {
+ typeImports,
},
- });
+ };
}
- }
+ return {
+ messageId: 'someImportsAreOnlyTypes',
+ data: {
+ typeImports,
+ },
+ };
+ })();
+ context.report({
+ node: report.node,
+ ...message,
+ *fix(fixer) {
+ // take all the typeSpecifiers and put them on a new line
+ yield* fixToTypeImportDeclaration(fixer, report, sourceImports);
+ },
+ });
}
- },
- }
- : {
- // prefer no type imports
- 'ImportDeclaration[importKind = "type"]'(node) {
- context.report({
- node,
- messageId: 'valueOverType',
- fix(fixer) {
- return fixRemoveTypeSpecifierFromImportDeclaration(fixer, node);
- },
- });
- },
- 'ImportSpecifier[importKind = "type"]'(node) {
- context.report({
- node,
- messageId: 'valueOverType',
- fix(fixer) {
- return fixRemoveTypeSpecifierFromImportSpecifier(fixer, node);
- },
- });
- },
- }),
- ...(disallowTypeAnnotations
- ? {
- // disallow `import()` type
- TSImportType(node) {
- context.report({
- node,
- messageId: 'noImportTypeAnnotations',
- });
- },
+ }
}
- : {}),
+ },
};
function classifySpecifier(node) {
const defaultSpecifier = node.specifiers[0].type === utils_1.AST_NODE_TYPES.ImportDefaultSpecifier
@@ -568,54 +586,6 @@ exports.default = (0, util_1.createRule)({
}
}
}
- function* fixToValueImportDeclaration(fixer, report, sourceImports) {
- const { node } = report;
- const { defaultSpecifier, namespaceSpecifier, namedSpecifiers } = classifySpecifier(node);
- if (namespaceSpecifier) {
- // import type * as types from 'foo'
- yield* fixRemoveTypeSpecifierFromImportDeclaration(fixer, node);
- return;
- }
- else if (defaultSpecifier) {
- if (report.valueSpecifiers.includes(defaultSpecifier) &&
- namedSpecifiers.length === 0) {
- // import type Type from 'foo'
- yield* fixRemoveTypeSpecifierFromImportDeclaration(fixer, node);
- return;
- }
- }
- else {
- if (namedSpecifiers.every(specifier => report.valueSpecifiers.includes(specifier))) {
- // import type {Type1, Type2} from 'foo'
- yield* fixRemoveTypeSpecifierFromImportDeclaration(fixer, node);
- return;
- }
- }
- // we have some valueSpecifiers intermixed in types that need to be put on their own line
- // import type { Type1, A } from 'foo'
- // import type { A } from 'foo'
- const valueNamedSpecifiers = namedSpecifiers.filter(specifier => report.valueSpecifiers.includes(specifier));
- const fixesNamedSpecifiers = getFixesNamedSpecifiers(fixer, node, valueNamedSpecifiers, namedSpecifiers);
- const afterFixes = [];
- if (valueNamedSpecifiers.length) {
- if (sourceImports.valueOnlyNamedImport) {
- const insertTypeNamedSpecifiers = fixInsertNamedSpecifiersInNamedSpecifierList(fixer, sourceImports.valueOnlyNamedImport, fixesNamedSpecifiers.typeNamedSpecifiersText);
- if (sourceImports.valueOnlyNamedImport.range[1] <= node.range[0]) {
- yield insertTypeNamedSpecifiers;
- }
- else {
- afterFixes.push(insertTypeNamedSpecifiers);
- }
- }
- else {
- // some are types.
- // Add new value import and later remove those value specifiers from import type
- yield fixer.insertTextBefore(node, `import {${fixesNamedSpecifiers.typeNamedSpecifiersText}} from ${context.sourceCode.getText(node.source)};\n`);
- }
- }
- yield* fixesNamedSpecifiers.removeTypeNamedSpecifiers;
- yield* afterFixes;
- }
function* fixRemoveTypeSpecifierFromImportDeclaration(fixer, node) {
// import type Foo from 'foo'
// ^^^^ remove
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map
index 3f8bc687c9..695f7a89c6 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map
@@ -1 +1 @@
-{"version":3,"file":"consistent-type-imports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-imports.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAUiB;AAuCjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;SACxD;QACD,QAAQ,EAAE;YACR,aAAa,EACX,2EAA2E;YAC7E,uBAAuB,EACrB,iDAAiD;YACnD,kBAAkB,EAAE,+CAA+C;YACnE,qBAAqB,EACnB,8DAA8D;YAChE,iBAAiB,EACf,4DAA4D;YAC9D,aAAa,EAAE,8CAA8C;YAC7D,uBAAuB,EAAE,4CAA4C;SACtE;QACD,MAAM,EAAE;YACN;gBACE,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AAyB,EACzB,IAA8B;YAE9B,iCAAiC;YACjC,uBAAuB;YACvB,MAAM,SAAS,GAAG,IAAA,iBAAU,EAC1B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,oBAAa,CAAC,EACrD,wBAAiB,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAClD,CAAC;YACF,MAAM,UAAU,GAAG,IAAA,iBAAU,EAC3B,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EACtE,wBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"consistent-type-imports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-imports.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAG1D,kCAWiB;AAoCjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;SACxD;QACD,QAAQ,EAAE;YACR,aAAa,EACX,2EAA2E;YAC7E,uBAAuB,EAAE,gDAAgD;YAEzE,eAAe,EAAE,8CAA8C;YAC/D,uBAAuB,EAAE,4CAA4C;SACtE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;qBAChB;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,uBAAuB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/rules/index.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js
index 99ccb4bb9d..cf6bb0d900 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js
@@ -104,6 +104,7 @@ const no_useless_template_literals_1 = __importDefault(require("./no-useless-tem
const no_var_requires_1 = __importDefault(require("./no-var-requires"));
const non_nullable_type_assertion_style_1 = __importDefault(require("./non-nullable-type-assertion-style"));
const object_curly_spacing_1 = __importDefault(require("./object-curly-spacing"));
+const only_throw_error_1 = __importDefault(require("./only-throw-error"));
const padding_line_between_statements_1 = __importDefault(require("./padding-line-between-statements"));
const parameter_properties_1 = __importDefault(require("./parameter-properties"));
const prefer_as_const_1 = __importDefault(require("./prefer-as-const"));
@@ -247,6 +248,7 @@ exports.default = {
'no-var-requires': no_var_requires_1.default,
'non-nullable-type-assertion-style': non_nullable_type_assertion_style_1.default,
'object-curly-spacing': object_curly_spacing_1.default,
+ 'only-throw-error': only_throw_error_1.default,
'padding-line-between-statements': padding_line_between_statements_1.default,
'parameter-properties': parameter_properties_1.default,
'prefer-as-const': prefer_as_const_1.default,
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map
index 37a392bbc9..9523a68ff2 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map
@@ -1 +1 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;AAEA,kGAAwE;AACxE,8DAAqC;AACrC,sEAA6C;AAC7C,sEAA4C;AAC5C,8EAAoD;AACpD,4DAAmC;AACnC,oEAA2C;AAC3C,gEAAuC;AACvC,kGAAuE;AACvE,sFAA2D;AAC3D,kEAAyC;AACzC,oEAA2C;AAC3C,wGAA8E;AAC9E,wGAA6E;AA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CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js
index 3d13ea0991..ac4ad9d855 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js
@@ -39,10 +39,7 @@ exports.default = (0, util_1.createRule)({
meta: {
docs: {
description: 'Require Promise-like statements to be handled appropriately',
- recommended: {
- recommended: true,
- strict: [{ ignoreVoid: false }],
- },
+ recommended: 'recommended',
requiresTypeChecking: true,
},
hasSuggestions: true,
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map
index 6a263074c0..e4b07377b1 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map
@@ -1 +1 @@
-{"version":3,"file":"no-floating-promises.js","sourceRoot":"","sources":["../../src/rules/no-floating-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAmBjB,MAAM,WAAW,GACf,4GAA4G,CAAC;AAE/G,MAAM,eAAe,GACnB,wGAAwG;IACxG,+DAA+D,CAAC;AAElE,MAAM,uBAAuB,GAC3B,6DAA6D,CAAC;AAEhE,MAAM,mBAAmB,GACvB,kIAAkI,CAAC;AAErI,MAAM,uBAAuB,GAC3B,kIAAkI;IAClI,4EAA4E,CAAC;AAE/E,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,WAAW,EAAE;gBACX,WAAW,EAAE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AC;IACjC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,wBAAwB,CAC/B,UAAmC;IAEnC,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC/D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS;QAC7C,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM;QAC1B,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js
index d16247652f..ccb3a837f8 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js
@@ -30,9 +30,10 @@ exports.default = (0, util_1.createRule)({
name: 'no-throw-literal',
meta: {
type: 'problem',
+ deprecated: true,
+ replacedBy: ['@typescript-eslint/only-throw-error'],
docs: {
description: 'Disallow throwing literals as exceptions',
- recommended: 'strict',
extendsBaseRule: true,
requiresTypeChecking: true,
},
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map
index f9852e32cd..203b15e4a0 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map
@@ -1 +1 @@
-{"version":3,"file":"no-throw-literal.js","sourceRoot":"","sources":["../../src/rules/no-throw-literal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAMiB;AAWjB,kBAA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pD,OAAO;YACT,CAAC;YAED,IAAI,OAAO,CAAC,oBAAoB,IAAI,IAAA,wBAAiB,EAAC,IAAI,CAAC,EAAE,CAAC;gBAC5D,OAAO;YACT,CAAC;YAED,IAAI,IAAA,kBAAW,EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAClB,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"no-throw-literal.js","sourceRoot":"","sources":["../../src/rules/no-throw-literal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAMiB;AAWjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,IAAI;QAChB,UAAU,EAAE,CAAC,qCAAqC,CAAC;QACnD,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;YACvD,eAAe,EAAE,IAAI;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,gBAAgB,EAAE;wBAChB,IAAI,EAAE,SAAS;qBAChB;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,wCAAwC;YAChD,KAAK,EAAE,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J,CAAC;CACF,CAAC,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js
index aaf8618955..2a673ae9ed 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js
@@ -111,7 +111,9 @@ function getTypeParametersFromNode(node, checker) {
if (ts.isTypeReferenceNode(node)) {
return getTypeParametersFromType(node.typeName, checker);
}
- if (ts.isCallExpression(node) || ts.isNewExpression(node)) {
+ if (ts.isCallExpression(node) ||
+ ts.isNewExpression(node) ||
+ ts.isTaggedTemplateExpression(node)) {
return getTypeParametersFromCall(node, checker);
}
return undefined;
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map
index b5ba1e1380..f7ce6710e4 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map
@@ -1 +1 @@
-{"version":3,"file":"no-unnecessary-type-arguments.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-arguments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAejB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,uDAAuD;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,0EAA0E;SA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G,EAAE,cAAc,EAAE,CAAC;IACtC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;YAC7B,CAAC,CAAC,yBAAyB,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;YACrD,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,OAAO,OAAO,CAAC,cAAc,CAAC;AAChC,CAAC;AAED,SAAS,gBAAgB,CACvB,MAAiB,EACjB,OAAuB;IAEvB,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;QAC1D,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;QAClC,CAAC,CAAC,MAAM,CAAC;AACb,CAAC"}
\ No newline at end of file
+{"version":3,"file":"no-unnecessary-type-arguments.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-arguments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAKiB;AAejB,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,uDAAuD;YACpE,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,wBAAwB,EACtB,0EAA0E;SAC7E;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;KACnB;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,oBAAoB,CAAC,IAAa;YAIzC,IAAI,IAAA,0BAAmB,EAAC,I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AAC;AAED,SAAS,gBAAgB,CACvB,MAAiB,EACjB,OAAuB;IAEvB,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;QAC1D,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC;QAClC,CAAC,CAAC,MAAM,CAAC;AACb,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js
index 057ea17ddb..fa3ad4832d 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js
@@ -100,9 +100,19 @@ exports.default = (0, util_1.createRule)({
node.typeName.type === utils_1.AST_NODE_TYPES.Identifier &&
node.typeName.name === 'const');
}
- function isConstVariableDeclaration(node) {
- return (node.type === utils_1.AST_NODE_TYPES.VariableDeclaration &&
- node.kind === 'const');
+ function isLiteralVariableDeclarationChangingTypeWithConst(node) {
+ /**
+ * If the type assertion is on a template literal WITH expressions we
+ * should keep the `const` casting
+ * @see https://github.com/typescript-eslint/typescript-eslint/issues/8737
+ */
+ if (node.expression.type === utils_1.AST_NODE_TYPES.TemplateLiteral) {
+ return node.expression.expressions.length === 0;
+ }
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ const maybeDeclarationNode = node.parent.parent;
+ return (maybeDeclarationNode.type === utils_1.AST_NODE_TYPES.VariableDeclaration &&
+ maybeDeclarationNode.kind === 'const');
}
return {
TSNonNullExpression(node) {
@@ -183,8 +193,7 @@ exports.default = (0, util_1.createRule)({
const uncastType = services.getTypeAtLocation(node.expression);
const typeIsUnchanged = uncastType === castType;
const wouldSameTypeBeInferred = castType.isLiteral()
- ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- isConstVariableDeclaration(node.parent.parent)
+ ? isLiteralVariableDeclarationChangingTypeWithConst(node)
: !isConstAssertion(node.typeAnnotation);
if (typeIsUnchanged && wouldSameTypeBeInferred) {
context.report({
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map
index d3e139413c..9baa139631 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map
@@ -1 +1 @@
-{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAUiB;AASjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAClB,oFAAoF;YACtF,uBAAuB,EACrB,+FAA+F;SAClG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,WAAW,EAAE,iCAAiC;wBAC9C,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;QACD,IAAI,EAAE,YAAY;KACnB;IACD,cAAc,EAAE,CAAC,EAAE,CAAC;IACpB,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA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AAC;wBACpE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,qDAAqD;YACvD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAUiB;AASjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAClB,oFAAoF;YACtF,uBAAuB,EACrB,+FAA+F;SAClG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,aAAa,EAAE;wBACb,WAAW,EAAE,iCAAiC;wBAC9C,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;QACD,IAAI,EAAE,YAAY;KACnB;IACD,cAAc,EAAE,CAAC,EAAE,CAAC;IACpB,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAE9D;;WAEG;QACH,SAAS,4BAA4B,CAAC,IAAyB;YAC7D,MAAM,WAAW,GAAG,IAAA,qBAAc,EAA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L,CAAC;gBAED,qDAAqD;YACvD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js
new file mode 100644
index 0000000000..bdd4ca268c
--- /dev/null
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js
@@ -0,0 +1,96 @@
+"use strict";
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ var desc = Object.getOwnPropertyDescriptor(m, k);
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+ desc = { enumerable: true, get: function() { return m[k]; } };
+ }
+ Object.defineProperty(o, k2, desc);
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+ o["default"] = v;
+});
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const utils_1 = require("@typescript-eslint/utils");
+const ts = __importStar(require("typescript"));
+const util_1 = require("../util");
+exports.default = (0, util_1.createRule)({
+ name: 'only-throw-error',
+ meta: {
+ type: 'problem',
+ docs: {
+ description: 'Disallow throwing non-`Error` values as exceptions',
+ recommended: 'strict',
+ extendsBaseRule: 'no-throw-literal',
+ requiresTypeChecking: true,
+ },
+ schema: [
+ {
+ type: 'object',
+ properties: {
+ allowThrowingAny: {
+ type: 'boolean',
+ },
+ allowThrowingUnknown: {
+ type: 'boolean',
+ },
+ },
+ additionalProperties: false,
+ },
+ ],
+ messages: {
+ object: 'Expected an error object to be thrown.',
+ undef: 'Do not throw undefined.',
+ },
+ },
+ defaultOptions: [
+ {
+ allowThrowingAny: true,
+ allowThrowingUnknown: true,
+ },
+ ],
+ create(context, [options]) {
+ const services = (0, util_1.getParserServices)(context);
+ function checkThrowArgument(node) {
+ if (node.type === utils_1.AST_NODE_TYPES.AwaitExpression ||
+ node.type === utils_1.AST_NODE_TYPES.YieldExpression) {
+ return;
+ }
+ const type = services.getTypeAtLocation(node);
+ if (type.flags & ts.TypeFlags.Undefined) {
+ context.report({ node, messageId: 'undef' });
+ return;
+ }
+ if (options.allowThrowingAny && (0, util_1.isTypeAnyType)(type)) {
+ return;
+ }
+ if (options.allowThrowingUnknown && (0, util_1.isTypeUnknownType)(type)) {
+ return;
+ }
+ if ((0, util_1.isErrorLike)(services.program, type)) {
+ return;
+ }
+ context.report({ node, messageId: 'object' });
+ }
+ return {
+ ThrowStatement(node) {
+ if (node.argument) {
+ checkThrowArgument(node.argument);
+ }
+ },
+ };
+ },
+});
+//# sourceMappingURL=only-throw-error.js.map
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js.map
new file mode 100644
index 0000000000..3320a4e917
--- /dev/null
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"only-throw-error.js","sourceRoot":"","sources":["../../src/rules/only-throw-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAMiB;AAWjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,oDAAoD;YACjE,WAAW,EAAE,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EAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;YAED,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,OAAO;YACL,cAAc,CAAC,IAAI;gBACjB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAClB,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js
index 77a72a5910..49cbf74ef4 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js
@@ -342,16 +342,19 @@ function analyzeChain(context, parserServices, options, operator, chain) {
return analyzeOrChainOperand;
}
})();
+ // Things like x !== null && x !== undefined have two nodes, but they are
+ // one logical unit here, so we'll allow them to be grouped.
let subChain = [];
const maybeReportThenReset = (newChainSeed) => {
if (subChain.length > 1) {
+ const subChainFlat = subChain.flat();
context.report({
messageId: 'preferOptionalChain',
loc: {
- start: subChain[0].node.loc.start,
- end: subChain[subChain.length - 1].node.loc.end,
+ start: subChainFlat[0].node.loc.start,
+ end: subChainFlat[subChainFlat.length - 1].node.loc.end,
},
- ...getFixer(context.sourceCode, parserServices, operator, options, subChain),
+ ...getFixer(context.sourceCode, parserServices, operator, options, subChainFlat),
});
}
// we've reached the end of a chain of logical expressions
@@ -366,10 +369,10 @@ function analyzeChain(context, parserServices, options, operator, chain) {
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ first "chain"
// ^^^^^^^^^^^ newChainSeed
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ second chain
- subChain = newChainSeed ? [...newChainSeed] : [];
+ subChain = newChainSeed ? [newChainSeed] : [];
};
for (let i = 0; i < chain.length; i += 1) {
- const lastOperand = subChain[subChain.length - 1];
+ const lastOperand = subChain.flat().at(-1);
const operand = chain[i];
const validatedOperands = analyzeOperand(parserServices, operand, i, chain);
if (!validatedOperands) {
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map
index 1f90fe424a..8006afd501 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map
@@ -1 +1 @@
-{"version":3,"file":"analyzeChain.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/analyzeChain.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAO1D,+CAA8C;AAC9C,+CAAiC;AAEjC,qCAOoB;AACpB,iDAAoE;AAQpE,SAAS,YAAY,CACnB,cAAiD,EACjD,IAAmB,EACnB,UAAwB;IAExB,MAAM,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IACtE,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAA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AA8B;YAC9B,iCAAiC;YACjC,yEAAyE;YACzE,gEAAgE;YAEhE,oBAAoB,EAAE,CAAC;YACvB,SAAS;QACX,CAAC;QACD,uFAAuF;QACvF,CAAC,IAAI,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC;QAElC,MAAM,cAAc,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC;QAC5C,IAAI,WAAW,EAAE,CAAC;YAChB,MAAM,gBAAgB,GAAG,IAAA,2BAAY,EACnC,WAAW,CAAC,YAAY;YACxB,sFAAsF;YACtF,wDAAwD;YACxD,oCAAoC;YACpC,iBAAiB,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,YAAY,CAC7D,CAAC;YACF,IAAI,gBAAgB,+CAAgC,EAAE,CAAC;gBACrD,4DAA4D;gBAC5D,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAChC,CAAC;iBAAM,IAAI,gBAAgB,iDAAiC,EAAE,CAAC;gBAC7D,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;YAC1C,CAAC;iBAAM,CAAC;gBACN,oEAAoE;gBACpE,qDAAqD;gBACrD,aAAa;YACf,CAAC;QACH,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,oBAAoB,EAAE,CAAC;AACzB,CAAC;AAlHD,oCAkHC"}
\ No newline at end of file
+{"version":3,"file":"analyzeChain.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/analyzeChain.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAO1D,+CAA8C;AAC9C,+CAAiC;AAEjC,qCAOoB;AACpB,iDAAoE;AAQpE,SAAS,YAAY,CACnB,cAAiD,EACjD,IAAmB,EACnB,UAAwB;IAExB,MAAM,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,GAA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CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,oBAAoB,EAAE,CAAC;AACzB,CAAC;AAnHD,oCAmHC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js
index cc588472da..02fac18097 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js
@@ -29,11 +29,9 @@ const ts_api_utils_1 = require("ts-api-utils");
const ts = __importStar(require("typescript"));
const util_1 = require("../../util");
const NULLISH_FLAGS = ts.TypeFlags.Null | ts.TypeFlags.Undefined;
-function isValidFalseBooleanCheckType(node, operator, checkType, parserServices, options) {
+function isValidFalseBooleanCheckType(node, disallowFalseyLiteral, parserServices, options) {
const type = parserServices.getTypeAtLocation(node);
const types = (0, ts_api_utils_1.unionTypeParts)(type);
- const disallowFalseyLiteral = (operator === '||' && checkType === 'false') ||
- (operator === '&&' && checkType === 'true');
if (disallowFalseyLiteral) {
/*
```
@@ -81,6 +79,7 @@ function gatherLogicalOperands(node, parserServices, sourceCode, options) {
const result = [];
const { operands, newlySeenLogicals } = flattenLogicalOperands(node);
for (const operand of operands) {
+ const areMoreOperands = operand !== operands.at(-1);
switch (operand.type) {
case utils_1.AST_NODE_TYPES.BinaryExpression: {
// check for "yoda" style logical: null != x
@@ -188,7 +187,7 @@ function gatherLogicalOperands(node, parserServices, sourceCode, options) {
}
case utils_1.AST_NODE_TYPES.UnaryExpression:
if (operand.operator === '!' &&
- isValidFalseBooleanCheckType(operand.argument, node.operator, 'false', parserServices, options)) {
+ isValidFalseBooleanCheckType(operand.argument, areMoreOperands && node.operator === '||', parserServices, options)) {
result.push({
type: "Valid" /* OperandValidity.Valid */,
comparedName: operand.argument,
@@ -205,7 +204,7 @@ function gatherLogicalOperands(node, parserServices, sourceCode, options) {
result.push({ type: "Invalid" /* OperandValidity.Invalid */ });
continue;
default:
- if (isValidFalseBooleanCheckType(operand, node.operator, 'true', parserServices, options)) {
+ if (isValidFalseBooleanCheckType(operand, areMoreOperands && node.operator === '&&', parserServices, options)) {
result.push({
type: "Valid" /* OperandValidity.Valid */,
comparedName: operand,
diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map
index eec6fc1d36..ac335e8aeb 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map
+++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js.map
@@ -1 +1 @@
-{"version":3,"file":"gatherLogicalOperands.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/gatherLogicalOperands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAE1D,+CAMsB;AACtB,+CAAiC;AAEjC,qCAA2C;AA6C3C,MAAM,aAAa,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;AACjE,SAAS,4BAA4B,CACnC,IAAmB,EACnB,QAAgD,EAChD,SAA2B,EAC3B,cAAiD,EACjD,OAAmC;IAEnC,MAAM,IAAI,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IAEnC,MAAM,qBAAqB,GACzB,CAAC,QAAQ,KAAK,IAAI,IAAI,SAAS,KAAK,OAAO,CAAC;QAC5C,CAAC,QAAQ,KAAK,IAAI,IAAI,SAAS,KAAK,MAAM,CAA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IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;oBAC9B,uDAAqC;gBACvC,CAAC;gBACD,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAtQD,sDAsQC"}
\ No newline at end of file
+{"version":3,"file":"gatherLogicalOperands.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/gatherLogicalOperands.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,oDAA0D;AAE1D,+CAMsB;AACtB,+CAAiC;AAEjC,qCAA2C;AA6C3C,MAAM,aAAa,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC;AACjE,SAAS,4BAA4B,CACnC,IAAmB,EACnB,qBAA8B,EAC9B,cAAiD,EACjD,OAAmC;IAEnC,MAAM,IAAI,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IAEnC,IAAI,qBAAqB,EAAE,CAAC;QAC1B;;;;;;;;;;UAUE;QACF,IACE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAoB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,KAAK,OAAO,CAAC;YACvE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;YACzD,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC;YACxD,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,kCAAmB,EAAC,CAAC,CAAC,IAAI,CAAC,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ACjD,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,EAClC,CAAC;gBACD,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBAC/B,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;gBAC1B,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;QAED,OAAO;YACL,QAAQ;YACR,iBAAiB;SAClB,CAAC;IACJ,CAAC;IAED,SAAS,sBAAsB,CAC7B,IAAmB;QAEnB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,sBAAc,CAAC,OAAO;gBACzB,+EAA+E;gBAC/E,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,MAAM,EAAE,CAAC;oBAC/C,6CAAgC;gBAClC,CAAC;gBACD,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;oBAC/B,iFAAkD;gBACpD,CAAC;gBACD,OAAO,IAAI,CAAC;YAEd,KAAK,sBAAc,CAAC,UAAU;gBAC5B,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;oBAC9B,uDAAqC;gBACvC,CAAC;gBACD,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AArQD,sDAqQC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx
index 354b777c66..20ca6c4ff1 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx
+++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.mdx
@@ -93,11 +93,34 @@ type T = import('Foo').Foo;
const x: import('Bar') = 1;
```
-## Usage with `emitDecoratorMetadata`
+## Caveat: `@decorators` + `experimentalDecorators: true` + `emitDecoratorMetadata: true`
-The `emitDecoratorMetadata` compiler option changes the code the TypeScript emits. In short - it causes TypeScript to create references to value imports when they are used in a type-only location. If you are using `emitDecoratorMetadata` then our tooling will require additional information in order for the rule to work correctly.
+:::note
+If you are using `experimentalDecorators: false` (eg [TypeScript v5.0's stable decorators](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#decorators)) then the rule will always report errors as expected.
+This caveat **only** applies to `experimentalDecorators: true`
+:::
-If you are using [type-aware linting](/getting-started/typed-linting), then you just need to ensure that the `tsconfig.json` you've configured for `parserOptions.project` has `emitDecoratorMetadata` turned on. Otherwise you can explicitly tell our tooling to analyze your code as if the compiler option was turned on [by setting `parserOptions.emitDecoratorMetadata` to `true`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/README.md#parseroptionsemitdecoratormetadata).
+The rule will **_not_** report any errors in files _that contain decorators_ when **both** `experimentalDecorators` and `emitDecoratorMetadata` are turned on.
+
+> See [Blog > Changes to consistent-type-imports when used with legacy decorators and decorator metadata](/blog/changes-to-consistent-type-imports-with-decorators) for more details.
+
+If you are using [type-aware linting](https://typescript-eslint.io/linting/typed-linting) then we will automatically infer your setup from your tsconfig and you should not need to configure anything.
+Otherwise you can explicitly tell our tooling to analyze your code as if the compiler option was turned on by setting both [`parserOptions.emitDecoratorMetadata = true`](https://typescript-eslint.io/packages/parser/#emitdecoratormetadata) and [`parserOptions.experimentalDecorators = true`](https://typescript-eslint.io/packages/parser/#experimentaldecorators).
+
+## Comparison with `importsNotUsedAsValues` / `verbatimModuleSyntax`
+
+[`verbatimModuleSyntax`](https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax) was introduced in TypeScript v5.0 (as a replacement for `importsNotUsedAsValues`).
+This rule and `verbatimModuleSyntax` _mostly_ behave in the same way.
+There are a few behavior differences:
+| Situation | `consistent-type-imports` (ESLint) | `verbatimModuleSyntax` (TypeScript) |
+| -------------------------------------------------------------- | --------------------------------------------------------- | ----------------------------------------------------------- |
+| Unused imports | Ignored (consider using [`@typescript-eslint/no-unused-vars`](/rules/no-unused-vars)) | Type error |
+| Usage with `emitDecoratorMetadata` & `experimentalDecorations` | Ignores files that contain decorators | Reports on files that contain decorators |
+| Failures detected | Does not fail `tsc` build; can be auto-fixed with `--fix` | Fails `tsc` build; cannot be auto-fixed on the command-line |
+| `import { type T } from 'T';` | TypeScript will emit nothing (it "elides" the import) | TypeScript emits `import {} from 'T'` |
+
+Because there are some differences, using both this rule and `verbatimModuleSyntax` at the same time can lead to conflicting errors.
+As such we recommend that you only ever use one _or_ the other -- never both.
## When Not To Use It
diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.mdx
index b5d57c5533..d5919b3bdc 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.mdx
+++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.mdx
@@ -12,104 +12,14 @@ import TabItem from '@theme/TabItem';
It is considered good practice to only `throw` the `Error` object itself or an object using the `Error` object as base objects for user-defined exceptions.
The fundamental benefit of `Error` objects is that they automatically keep track of where they were built and originated.
-This rule restricts what can be thrown as an exception. When it was first created, it only prevented literals from being thrown (hence the name), but it has now been expanded to only allow expressions which have a possibility of being an `Error` object. With the `allowThrowingAny` and `allowThrowingUnknown`, it can be configured to only allow throwing values which are guaranteed to be an instance of `Error`.
+This rule restricts what can be thrown as an exception.
-## Examples
+:::warning
+This rule is being renamed to [`only-throw-error`](./only-throw-error.mdx).
+When it was first created, it only prevented literals from being thrown (hence the name), but it has now been expanded to only allow expressions which have a possibility of being an `Error` object.
+With the `allowThrowingAny` and `allowThrowingUnknown` options, it can be configured to only allow throwing values which are guaranteed to be an instance of `Error`.
-This rule is aimed at maintaining consistency when throwing exception by disallowing to throw literals and other expressions which cannot possibly be an `Error` object.
-
-
-
-
-```ts
-throw 'error';
-
-throw 0;
-
-throw undefined;
-
-throw null;
-
-const err = new Error();
-throw 'an ' + err;
-
-const err = new Error();
-throw `${err}`;
-
-const err = '';
-throw err;
-
-function err() {
- return '';
-}
-throw err();
-
-const foo = {
- bar: '',
-};
-throw foo.bar;
-```
-
-
-
-
-```ts
-throw new Error();
-
-throw new Error('error');
-
-const e = new Error('error');
-throw e;
-
-try {
- throw new Error('error');
-} catch (e) {
- throw e;
-}
-
-const err = new Error();
-throw err;
-
-function err() {
- return new Error();
-}
-throw err();
-
-const foo = {
- bar: new Error(),
-};
-throw foo.bar;
-
-class CustomError extends Error {
- // ...
-}
-throw new CustomError();
-```
-
-
-
-
-## Options
-
-This rule adds the following options:
-
-```ts
-interface Options {
- /**
- * Whether to always allow throwing values typed as `any`.
- */
- allowThrowingAny?: boolean;
-
- /**
- * Whether to always allow throwing values typed as `unknown`.
- */
- allowThrowingUnknown?: boolean;
-}
-
-const defaultOptions: Options = {
- allowThrowingAny: false,
- allowThrowingUnknown: false,
-};
-```
+The current name `no-throw-literal` will be removed in a future major version of typescript-eslint.
+:::
{/* Intentionally Omitted: When Not To Use It */}
diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/only-throw-error.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/only-throw-error.mdx
new file mode 100644
index 0000000000..fd9d8f2c4d
--- /dev/null
+++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/only-throw-error.mdx
@@ -0,0 +1,115 @@
+---
+description: 'Disallow throwing non-`Error` values as exceptions.'
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+> 🛑 This file is source code, not the primary documentation location! 🛑
+>
+> See **https://typescript-eslint.io/rules/only-throw-error** for documentation.
+
+It is considered good practice to only `throw` the `Error` object itself or an object using the `Error` object as base objects for user-defined exceptions.
+The fundamental benefit of `Error` objects is that they automatically keep track of where they were built and originated.
+
+This rule restricts what can be thrown as an exception.
+
+## Examples
+
+This rule is aimed at maintaining consistency when throwing exception by disallowing to throw literals and other expressions which cannot possibly be an `Error` object.
+
+
+
+
+```ts
+throw 'error';
+
+throw 0;
+
+throw undefined;
+
+throw null;
+
+const err = new Error();
+throw 'an ' + err;
+
+const err = new Error();
+throw `${err}`;
+
+const err = '';
+throw err;
+
+function err() {
+ return '';
+}
+throw err();
+
+const foo = {
+ bar: '',
+};
+throw foo.bar;
+```
+
+
+
+
+```ts
+throw new Error();
+
+throw new Error('error');
+
+const e = new Error('error');
+throw e;
+
+try {
+ throw new Error('error');
+} catch (e) {
+ throw e;
+}
+
+const err = new Error();
+throw err;
+
+function err() {
+ return new Error();
+}
+throw err();
+
+const foo = {
+ bar: new Error(),
+};
+throw foo.bar;
+
+class CustomError extends Error {
+ // ...
+}
+throw new CustomError();
+```
+
+
+
+
+## Options
+
+This rule adds the following options:
+
+```ts
+interface Options {
+ /**
+ * Whether to always allow throwing values typed as `any`.
+ */
+ allowThrowingAny?: boolean;
+
+ /**
+ * Whether to always allow throwing values typed as `unknown`.
+ */
+ allowThrowingUnknown?: boolean;
+}
+
+const defaultOptions: Options = {
+ allowThrowingAny: false,
+ allowThrowingUnknown: false,
+};
+```
+
+{/* Intentionally Omitted: When Not To Use It */}
diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx
index c37de8fa74..3cf40a6e80 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx
+++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.mdx
@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem';
JavaScript automatically [converts an object to a string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#string_coercion) in a string context, such as when concatenating it with a string using `+` or embedding it in a template literal using `${}`.
The default `toString()` method of objects returns `"[object Object]"`, which is often not what was intended.
-This rule reports on values used in a template literal string that aren't strings, numbers, or BigInts, optionally allowing other data types that provide useful stringification results.
+This rule reports on values used in a template literal string that aren't strings, optionally allowing other data types that provide useful stringification results.
:::note
diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx
index a4de1ae687..f629d8ee53 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx
+++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx
@@ -34,7 +34,7 @@ If your project has many intentionally redundant `default` cases, you may want t
### `requireDefaultForNonUnion`
-Defaults to false. It set to true, this rule will also report when a `switch` statement switches over a non-union type (like a `number` or `string`, for example) and that `switch` statement does not have a `default` case. Thus, by setting this option to true, the rule becomes stricter.
+Defaults to false. If set to true, this rule will also report when a `switch` statement switches over a non-union type (like a `number` or `string`, for example) and that `switch` statement does not have a `default` case. Thus, by setting this option to true, the rule becomes stricter.
This is generally desirable so that `number` and `string` switches will be subject to the same exhaustive checks that your other switches are.
diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.mdx
index 8270bed6fb..87beb12da8 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.mdx
+++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.mdx
@@ -68,8 +68,8 @@ const { logBound } = instance;
logBound();
// .bind and lambdas will also add a correct scope
-const dotBindLog = instance.logBound.bind(instance);
-const innerLog = () => instance.logBound();
+const dotBindLog = instance.logUnbound.bind(instance);
+const innerLog = () => instance.logUnbound();
// arith.double explicitly declares that it does not refer to `this` internally
const arith = {
diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json
index 9f526b25cc..e7954b4b08 100644
--- a/node_modules/@typescript-eslint/eslint-plugin/package.json
+++ b/node_modules/@typescript-eslint/eslint-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/eslint-plugin",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "TypeScript plugin for ESLint",
"files": [
"dist",
@@ -61,10 +61,10 @@
},
"dependencies": {
"@eslint-community/regexpp": "^4.5.1",
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/type-utils": "7.3.0",
- "@typescript-eslint/utils": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/type-utils": "7.4.0",
+ "@typescript-eslint/utils": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4",
"graphemer": "^1.4.0",
"ignore": "^5.2.4",
@@ -76,8 +76,8 @@
"@types/debug": "*",
"@types/marked": "*",
"@types/natural-compare": "*",
- "@typescript-eslint/rule-schema-to-typescript-types": "7.3.0",
- "@typescript-eslint/rule-tester": "7.3.0",
+ "@typescript-eslint/rule-schema-to-typescript-types": "7.3.1",
+ "@typescript-eslint/rule-tester": "7.4.0",
"ajv": "^6.12.6",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
diff --git a/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map b/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map
index 289d1ec7ee..43c295f6b3 100644
--- a/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map
+++ b/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAO,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,aAAa,EA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,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAKtC,UAAU,oBAAoB;IAC5B,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG;QACtB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACzB,MAAM,CAAC,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC;QAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;KAC/B,CAAC;IACF,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAmDD,iBAAS,KAAK,CACZ,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,EAC5B,OAAO,CAAC,EAAE,aAAa,GACtB,oBAAoB,CAAC,KAAK,CAAC,CAE7B;AAED,iBAAS,cAAc,CACrB,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,EAC5B,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,GAC7B,oBAAoB,CAiFtB;AAED,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/parser/dist/parser.js b/node_modules/@typescript-eslint/parser/dist/parser.js
index 8c1fa1709a..e114e533ef 100644
--- a/node_modules/@typescript-eslint/parser/dist/parser.js
+++ b/node_modules/@typescript-eslint/parser/dist/parser.js
@@ -92,7 +92,6 @@ function parseForESLint(code, options) {
}
const { ast, services } = (0, typescript_estree_1.parseAndGenerateServices)(code, parserOptions);
ast.sourceType = options.sourceType;
- let emitDecoratorMetadata = options.emitDecoratorMetadata === true;
if (services.program) {
// automatically apply the options configured for the program
const compilerOptions = services.program.getCompilerOptions();
@@ -116,13 +115,10 @@ function parseForESLint(code, options) {
analyzeOptions.jsxFragmentName = fragFactory;
log('Resolved jsxFragmentName from program: %s', analyzeOptions.jsxFragmentName);
}
- if (compilerOptions.emitDecoratorMetadata === true) {
- emitDecoratorMetadata = true;
- }
- }
- if (emitDecoratorMetadata) {
- analyzeOptions.emitDecoratorMetadata = true;
}
+ // if not defined - override from the parserOptions
+ services.emitDecoratorMetadata ??= options.emitDecoratorMetadata === true;
+ services.experimentalDecorators ??= options.experimentalDecorators === true;
const scopeManager = (0, scope_manager_1.analyze)(ast, analyzeOptions);
return { ast, services, scopeManager, visitorKeys: visitor_keys_1.visitorKeys };
}
diff --git a/node_modules/@typescript-eslint/parser/dist/parser.js.map b/node_modules/@typescript-eslint/parser/dist/parser.js.map
index cee9f1e9db..bf42637d67 100644
--- a/node_modules/@typescript-eslint/parser/dist/parser.js.map
+++ b/node_modules/@typescript-eslint/parser/dist/parser.js.map
@@ -1 +1 @@
-{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;;AAIA,oEAA2D;AAO3D,4EAAgF;AAEhF,kEAA8D;AAC9D,kDAA0B;AAE1B,2CAA0C;AAE1C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,iCAAiC,CAAC,CAAC;AAarD,SAAS,eAAe,CACtB,KAA0B,EAC1B,QAAQ,GAAG,KAAK;IAEhB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;AACpD,SAAS,MAAM,CAAC,eAAmC;IACjD,IAAI,eAAe,CAAC,GAAG,EAAE,CAAC;QACxB,OAAO,eAAe,CAAC,GAAG,CAAC,MAAM,CAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;YACpD,MAAM,KAAK,GAAG,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;YACzD,IAAI,KAAK,EAAE,CAAC;gBACV,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAQ,CAAC,CA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nC,GAAG,CAAC,qCAAqC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;QACvE,CAAC;QACD,IACE,cAAc,CAAC,eAAe,KAAK,SAAS;YAC5C,eAAe,CAAC,kBAAkB,IAAI,IAAI,EAC1C,CAAC;YACD,kEAAkE;YAClE,MAAM,WAAW,GAAG,eAAe,CAAC,kBAAkB;iBACnD,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;iBACb,IAAI,EAAE,CAAC;YACV,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;YAC7C,GAAG,CACD,2CAA2C,EAC3C,cAAc,CAAC,eAAe,CAC/B,CAAC;QACJ,CAAC;IACH,CAAC;IAED,mDAAmD;IACnD,QAAQ,CAAC,qBAAqB,KAAK,OAAO,CAAC,qBAAqB,KAAK,IAAI,CAAC;IAC1E,QAAQ,CAAC,sBAAsB,KAAK,OAAO,CAAC,sBAAsB,KAAK,IAAI,CAAC;IAE5E,MAAM,YAAY,GAAG,IAAA,uBAAO,EAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAX,0BAAW,EAAE,CAAC;AACtD,CAAC;AAEe,wCAAc"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json
index 1b2dc6649b..6b0c88b55f 100644
--- a/node_modules/@typescript-eslint/parser/package.json
+++ b/node_modules/@typescript-eslint/parser/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/parser",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "An ESLint custom parser which leverages TypeScript ESTree",
"files": [
"dist",
@@ -51,10 +51,10 @@
"eslint": "^8.56.0"
},
"dependencies": {
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/typescript-estree": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4"
},
"devDependencies": {
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts
index aac9b53612..9a2c0f5888 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts
+++ b/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts
@@ -6,8 +6,8 @@ import { ClassStaticBlockScope } from './scope/ClassStaticBlockScope';
import type { Variable } from './variable';
interface ScopeManagerOptions {
globalReturn?: boolean;
- sourceType?: SourceType;
impliedStrict?: boolean;
+ sourceType?: SourceType;
}
/**
* @see https://eslint.org/docs/latest/developer-guide/scope-manager-interface#scopemanager-interface
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map
index b1c9011fd8..fec699ccd0 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map
+++ b/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGrE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EACL,UAAU,EACV,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,WAAW,EAEX,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,EACT,SAAS,EACV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,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Ae,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,iBAAiB,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa;IAK9D,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAKlD,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;CAI1D;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts
index 72fdffe552..61226934e1 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts
+++ b/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts
@@ -43,8 +43,7 @@ interface AnalyzeOptions {
*/
sourceType?: SourceType;
/**
- * Emit design-type metadata for decorated declarations in source.
- * Defaults to `false`.
+ * @deprecated This option never did what it was intended for and will be removed in a future major release.
*/
emitDecoratorMetadata?: boolean;
}
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map
index c8d6f27819..840b066556 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map
+++ b/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAG1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC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CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAaD;;GAEG;AACH,iBAAS,OAAO,CACd,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CA2Bd;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/analyze.js b/node_modules/@typescript-eslint/scope-manager/dist/analyze.js
index b8b2d05b24..7159e36625 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/analyze.js
+++ b/node_modules/@typescript-eslint/scope-manager/dist/analyze.js
@@ -28,8 +28,7 @@ function analyze(tree, providedOptions) {
jsxFragmentName: providedOptions?.jsxFragmentName ?? DEFAULT_OPTIONS.jsxFragmentName,
sourceType: providedOptions?.sourceType ?? DEFAULT_OPTIONS.sourceType,
lib: providedOptions?.lib ?? ['esnext'],
- emitDecoratorMetadata: providedOptions?.emitDecoratorMetadata ??
- DEFAULT_OPTIONS.emitDecoratorMetadata,
+ emitDecoratorMetadata: false,
};
// ensure the option is lower cased
options.lib = options.lib.map(l => l.toLowerCase());
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map b/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map
index fe3ea95907..5e56783636 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map
+++ b/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map
@@ -1 +1 @@
-{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;AACA,kEAA8D;AAG9D,6CAA0C;AAC1C,iDAA8C;AA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,CAAC;IAC/C,MAAM,UAAU,GAAG,IAAI,uBAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAEzD,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEvB,OAAO,YAAY,CAAC;AACtB,CAAC;AAEQ,0BAAO"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts
index 978e7becee..d5050ce5cc 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts
@@ -3,17 +3,16 @@ import type { Referencer } from './Referencer';
import { Visitor } from './Visitor';
declare class ClassVisitor extends Visitor {
#private;
- constructor(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression, emitDecoratorMetadata: boolean);
- static visit(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression, emitDecoratorMetadata: boolean): void;
+ constructor(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression);
+ static visit(referencer: Referencer, node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void;
visit(node: TSESTree.Node | null | undefined): void;
protected visitClass(node: TSESTree.ClassDeclaration | TSESTree.ClassExpression): void;
protected visitPropertyDefinition(node: TSESTree.AccessorProperty | TSESTree.PropertyDefinition | TSESTree.TSAbstractAccessorProperty | TSESTree.TSAbstractPropertyDefinition): void;
- protected visitFunctionParameterTypeAnnotation(node: TSESTree.Parameter, withDecorators: boolean): void;
+ protected visitFunctionParameterTypeAnnotation(node: TSESTree.Parameter): void;
protected visitMethodFunction(node: TSESTree.FunctionExpression, methodNode: TSESTree.MethodDefinition): void;
protected visitPropertyBase(node: TSESTree.AccessorProperty | TSESTree.PropertyDefinition | TSESTree.TSAbstractAccessorProperty | TSESTree.TSAbstractMethodDefinition | TSESTree.TSAbstractPropertyDefinition): void;
protected visitMethod(node: TSESTree.MethodDefinition): void;
protected visitType(node: TSESTree.Node | null | undefined): void;
- protected visitMetadataType(node: TSESTree.TSTypeAnnotation | null | undefined, withDecorators: boolean): void;
protected AccessorProperty(node: TSESTree.AccessorProperty): void;
protected ClassBody(node: TSESTree.ClassBody): void;
protected PropertyDefinition(node: TSESTree.PropertyDefinition): void;
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map
index 7fb4167780..949073fa07 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"ClassVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAM,YAAa,SAAQ,OAAO;;gBAM9B,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EAC1D,qBAAqB,EAAE,OAAO;IAQhC,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EAC1D,qBAAqB,EAAE,OAAO,GAC7B,IAAI;IASP,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;IAanD,SAAS,CAAC,UAAU,CAClB,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,GACzD,IA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AAG,IAAI;IAIrD,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAInC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;CAOxD;AAsCD,OAAO,EAAE,YAAY,EAAE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js
index 1b34c961f6..9efd16a48c 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
};
-var _ClassVisitor_classNode, _ClassVisitor_referencer, _ClassVisitor_emitDecoratorMetadata;
+var _ClassVisitor_classNode, _ClassVisitor_referencer;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClassVisitor = void 0;
const types_1 = require("@typescript-eslint/types");
@@ -18,17 +18,15 @@ const definition_1 = require("../definition");
const TypeVisitor_1 = require("./TypeVisitor");
const Visitor_1 = require("./Visitor");
class ClassVisitor extends Visitor_1.Visitor {
- constructor(referencer, node, emitDecoratorMetadata) {
+ constructor(referencer, node) {
super(referencer);
_ClassVisitor_classNode.set(this, void 0);
_ClassVisitor_referencer.set(this, void 0);
- _ClassVisitor_emitDecoratorMetadata.set(this, void 0);
__classPrivateFieldSet(this, _ClassVisitor_referencer, referencer, "f");
__classPrivateFieldSet(this, _ClassVisitor_classNode, node, "f");
- __classPrivateFieldSet(this, _ClassVisitor_emitDecoratorMetadata, emitDecoratorMetadata, "f");
}
- static visit(referencer, node, emitDecoratorMetadata) {
- const classVisitor = new ClassVisitor(referencer, node, emitDecoratorMetadata);
+ static visit(referencer, node) {
+ const classVisitor = new ClassVisitor(referencer, node);
classVisitor.visitClass(node);
}
visit(node) {
@@ -75,18 +73,18 @@ class ClassVisitor extends Visitor_1.Visitor {
* foo: Type;
* }
*/
- this.visitMetadataType(node.typeAnnotation, !!node.decorators.length);
+ this.visitType(node.typeAnnotation);
}
- visitFunctionParameterTypeAnnotation(node, withDecorators) {
+ visitFunctionParameterTypeAnnotation(node) {
switch (node.type) {
case types_1.AST_NODE_TYPES.AssignmentPattern:
- this.visitMetadataType(node.left.typeAnnotation, withDecorators);
+ this.visitType(node.left.typeAnnotation);
break;
case types_1.AST_NODE_TYPES.TSParameterProperty:
- this.visitFunctionParameterTypeAnnotation(node.parameter, withDecorators);
+ this.visitFunctionParameterTypeAnnotation(node.parameter);
break;
default:
- this.visitMetadataType(node.typeAnnotation, withDecorators);
+ this.visitType(node.typeAnnotation);
}
}
visitMethodFunction(node, methodNode) {
@@ -160,10 +158,10 @@ class ClassVisitor extends Visitor_1.Visitor {
.defineIdentifier(pattern, new definition_1.ParameterDefinition(pattern, node, info.rest));
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").referencingDefaultValue(pattern, info.assignments, null, true);
}, { processRightHandNodes: true });
- this.visitFunctionParameterTypeAnnotation(param, withMethodDecorators);
+ this.visitFunctionParameterTypeAnnotation(param);
param.decorators.forEach(d => this.visit(d));
}
- this.visitMetadataType(node.returnType, withMethodDecorators);
+ this.visitType(node.returnType);
this.visitType(node.typeParameters);
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visitChildren(node.body);
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").close(node);
@@ -203,39 +201,6 @@ class ClassVisitor extends Visitor_1.Visitor {
}
TypeVisitor_1.TypeVisitor.visit(__classPrivateFieldGet(this, _ClassVisitor_referencer, "f"), node);
}
- visitMetadataType(node, withDecorators) {
- if (!node) {
- return;
- }
- // emit decorators metadata only work for TSTypeReference in ClassDeclaration
- if (__classPrivateFieldGet(this, _ClassVisitor_classNode, "f").type === types_1.AST_NODE_TYPES.ClassDeclaration &&
- !__classPrivateFieldGet(this, _ClassVisitor_classNode, "f").declare &&
- node.typeAnnotation.type === types_1.AST_NODE_TYPES.TSTypeReference &&
- __classPrivateFieldGet(this, _ClassVisitor_emitDecoratorMetadata, "f")) {
- let entityName;
- if (node.typeAnnotation.typeName.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
- let iter = node.typeAnnotation.typeName;
- while (iter.left.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
- iter = iter.left;
- }
- entityName = iter.left;
- }
- else {
- entityName = node.typeAnnotation.typeName;
- }
- if (withDecorators) {
- if (entityName.type === types_1.AST_NODE_TYPES.Identifier) {
- __classPrivateFieldGet(this, _ClassVisitor_referencer, "f").currentScope().referenceDualValueType(entityName);
- }
- if (node.typeAnnotation.typeArguments) {
- this.visitType(node.typeAnnotation.typeArguments);
- }
- // everything is handled now
- return;
- }
- }
- this.visitType(node);
- }
/////////////////////
// Visit selectors //
/////////////////////
@@ -275,7 +240,7 @@ class ClassVisitor extends Visitor_1.Visitor {
}
}
exports.ClassVisitor = ClassVisitor;
-_ClassVisitor_classNode = new WeakMap(), _ClassVisitor_referencer = new WeakMap(), _ClassVisitor_emitDecoratorMetadata = new WeakMap();
+_ClassVisitor_classNode = new WeakMap(), _ClassVisitor_referencer = new WeakMap();
/**
* Only if key is one of [identifier, string, number], ts will combine metadata of accessors .
* class A {
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map
index e5380133ed..80b9ae348c 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map
@@ -1 +1 @@
-{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;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AC/B,CAAC;CACF;AAsCQ,oCAAY;;AApCrB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAS,uBAAuB,CAC9B,IAA+B;IAE/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE,CAAC;QAC9D,IACE,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ;YAClC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ,EAClC,CAAC;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE,CAAC;QACzE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts
index 5eab4cb5d0..7d3a3844d1 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts
@@ -8,7 +8,6 @@ interface ReferencerOptions extends VisitorOptions {
jsxPragma: string | null;
jsxFragmentName: string | null;
lib: Lib[];
- emitDecoratorMetadata: boolean;
}
declare class Referencer extends Visitor {
#private;
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map
index 90c4b9a20a..0d9b09c1fa 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map
@@ -1 +1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EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI;IAoCvE,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI;IAW3D,SAAS,CAAC,eAAe,IAAI,IAAI;CAGlC;AAED,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js
index 7f6c7e65bc..0624eed971 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
};
-var _Referencer_jsxPragma, _Referencer_jsxFragmentName, _Referencer_hasReferencedJsxFactory, _Referencer_hasReferencedJsxFragmentFactory, _Referencer_lib, _Referencer_emitDecoratorMetadata;
+var _Referencer_jsxPragma, _Referencer_jsxFragmentName, _Referencer_hasReferencedJsxFactory, _Referencer_hasReferencedJsxFragmentFactory, _Referencer_lib;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Referencer = void 0;
const types_1 = require("@typescript-eslint/types");
@@ -33,12 +33,10 @@ class Referencer extends Visitor_1.Visitor {
_Referencer_hasReferencedJsxFactory.set(this, false);
_Referencer_hasReferencedJsxFragmentFactory.set(this, false);
_Referencer_lib.set(this, void 0);
- _Referencer_emitDecoratorMetadata.set(this, void 0);
this.scopeManager = scopeManager;
__classPrivateFieldSet(this, _Referencer_jsxPragma, options.jsxPragma, "f");
__classPrivateFieldSet(this, _Referencer_jsxFragmentName, options.jsxFragmentName, "f");
__classPrivateFieldSet(this, _Referencer_lib, options.lib, "f");
- __classPrivateFieldSet(this, _Referencer_emitDecoratorMetadata, options.emitDecoratorMetadata, "f");
}
currentScope(dontThrowOnNull) {
if (!dontThrowOnNull) {
@@ -107,7 +105,7 @@ class Referencer extends Visitor_1.Visitor {
// Visit helpers //
///////////////////
visitClass(node) {
- ClassVisitor_1.ClassVisitor.visit(this, node, __classPrivateFieldGet(this, _Referencer_emitDecoratorMetadata, "f"));
+ ClassVisitor_1.ClassVisitor.visit(this, node);
}
visitForIn(node) {
if (node.left.type === types_1.AST_NODE_TYPES.VariableDeclaration &&
@@ -294,6 +292,11 @@ class Referencer extends Visitor_1.Visitor {
}
TSExportAssignment(node) {
if (node.expression.type === types_1.AST_NODE_TYPES.Identifier) {
+ // this is a special case - you can `export = T` where `T` is a type OR a
+ // value however `T[U]` is illegal when `T` is a type and `T.U` is illegal
+ // when `T.U` is a type
+ // i.e. if the expression is JUST an Identifier - it could be either ref
+ // kind; otherwise the standard rules apply
this.currentScope().referenceDualValueType(node.expression);
}
else {
@@ -544,5 +547,5 @@ class Referencer extends Visitor_1.Visitor {
}
}
exports.Referencer = Referencer;
-_Referencer_jsxPragma = new WeakMap(), _Referencer_jsxFragmentName = new WeakMap(), _Referencer_hasReferencedJsxFactory = new WeakMap(), _Referencer_hasReferencedJsxFragmentFactory = new WeakMap(), _Referencer_lib = new WeakMap(), _Referencer_emitDecoratorMetadata = new WeakMap();
+_Referencer_jsxPragma = new WeakMap(), _Referencer_jsxFragmentName = new WeakMap(), _Referencer_hasReferencedJsxFactory = new WeakMap(), _Referencer_hasReferencedJsxFragmentFactory = new WeakMap(), _Referencer_lib = new WeakMap();
//# sourceMappingURL=Referencer.js.map
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map
index 8ba2b882cb..e7ee710a26 100644
--- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map
+++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map
@@ -1 +1 @@
-{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAG5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAElD,2CAA4C;AAC5C,+CAA4C;AAE5C,uCAAoC;AASpC,+CAA+C;AAC/C,MAAM,UAAW,SAAQ,iBAAO;IAS9B,YAAY,OAA0B,EAAE,YAA0B;QAChE,KAAK,CAAC,OAAO,CAAC,CAAC;QATjB,wCAA0B;QAC1B,8CAAgC;QAChC,8CAA2B,KAAK,EAAC;QACjC,sDAAmC,KAAK,EAAC;QACzC,kCAAY;QACH,oDAAgC;QAKvC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,uBAAA,IAAI,yBAAc,OAAO,CAAC,SAAS,MAAA,CAAC;QACpC,uBAAA,IAAI,+BAAoB,OAAO,CAAC,eAAe,MAAA,CAAC;QAChD,uBAAA,IAAI,mBAAQ,OAAO,CAAC,GAAG,MAAA,CAAC;QACxB,uBAAA,IAAI,qCAA0B,OAAO,CAAC,qBAAqB,MAAA,CAAC;IAC9D,CAAC;IAIM,YAAY,CAAC,eAAsB;QACxC,IAAI,CAAC,eAAe,EAAE,CAAC;YACrB,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;QAChD,CAAC;QACD,OAAO,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC;IACxC,CAAC;IAEM,KAAK,CAAC,IAAmB;QAC9B,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,KAAK,IAAI,CAAC,YAAY,EAAE,CAAC,KAAK,EAAE,CAAC;YACrE,IAAI,CAAC,YAAY,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,KAAK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AAI,EACJ,IAAI,EACJ,IAAI,CACL,CAAC;gBACJ,CAAC;YACH,CAAC,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAC;YAEF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAExB,qCAAqC;QACrC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAES,eAAe;QACvB,gFAAgF;IAClF,CAAC;CACF;AAEQ,gCAAU"}
\ No newline at end of file
+{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAG5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAElD,2CAA4C;AAC5C,+CAA4C;AAE5C,uCAAoC;AAQpC,+CAA+C;AAC/C,MAAM,UAAW,SAAQ,iBAAO;IAQ9B,YAAY,OAA0B,EAAE,YAA0B;QAChE,KAAK,CAAC,OAAO,CAAC,CAAC;QARjB,wCAA0B;QAC1B,8CAAgC;QAChC,8CAA2B,KAAK,EAAC;QACjC,sDAAmC,KAAK,EAAC;QACzC,kCAAY;QAKV,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,uBAAA,IAAI,yBAAc,OAAO,CAAC,SAAS,MAAA,CAAC;QACpC,uBAAA,IAAI,+BAAoB,OAAO,CAAC,eAAe,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,CAAC,YAAY,EAAE,CAAC;QAE1B,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YACrC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YAEvB,IAAI,CAAC,YAAY,CACf,IAAI,CAAC,EAAE,EACP,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE;gBAChB,mBAAmB,CAAC,gBAAgB,CAClC,OAAO,EACP,IAAI,+BAAkB,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAC5C,CAAC;gBAEF,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;gBACpE,IAAI,IAAI,EAAE,CAAC;oBACT,IAAI,CAAC,YAAY,EAAE,CAAC,cAAc,CAChC,OAAO,EACP,yBAAa,CAAC,KAAK,EACnB,IAAI,EACJ,IAAI,EACJ,IAAI,CACL,CAAC;gBACJ,CAAC;YACH,CAAC,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAC;YAEF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAExB,qCAAqC;QACrC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAES,eAAe;QACvB,gFAAgF;IAClF,CAAC;CACF;AAEQ,gCAAU"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/scope-manager/package.json
index bffde1d03b..a18cb236cd 100644
--- a/node_modules/@typescript-eslint/scope-manager/package.json
+++ b/node_modules/@typescript-eslint/scope-manager/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/scope-manager",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "TypeScript scope analyser for ESLint",
"files": [
"dist",
@@ -45,12 +45,12 @@
"typecheck": "npx nx typecheck"
},
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0"
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0"
},
"devDependencies": {
"@types/glob": "*",
- "@typescript-eslint/typescript-estree": "7.3.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
"glob": "*",
"jest-specific-snapshot": "*",
"make-dir": "*",
diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json
index c2041c6f69..23e55f4323 100644
--- a/node_modules/@typescript-eslint/type-utils/package.json
+++ b/node_modules/@typescript-eslint/type-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/type-utils",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "Type utilities for working with TypeScript + ESLint together",
"files": [
"dist",
@@ -45,13 +45,13 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/typescript-estree": "7.3.0",
- "@typescript-eslint/utils": "7.3.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
+ "@typescript-eslint/utils": "7.4.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.0.1"
},
"devDependencies": {
- "@typescript-eslint/parser": "7.3.0",
+ "@typescript-eslint/parser": "7.4.0",
"ajv": "^6.10.0",
"downlevel-dts": "*",
"jest": "29.7.0",
diff --git a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts b/node_modules/@typescript-eslint/types/dist/parser-options.d.ts
index 029e115fb7..8905e2a969 100644
--- a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts
+++ b/node_modules/@typescript-eslint/types/dist/parser-options.d.ts
@@ -17,6 +17,7 @@ interface ParserOptions {
jsxFragmentName?: string | null;
lib?: Lib[];
emitDecoratorMetadata?: boolean;
+ experimentalDecorators?: boolean;
comment?: boolean;
debugLevel?: DebugLevel;
errorOnTypeScriptSyntacticAndSemanticIssues?: boolean;
diff --git a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map
index 02ef40f491..93e4ac8a35 100644
--- a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map
+++ b/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,KAAK,UAAU,GAAG,CAAC,QAAQ,GAAG,mBAAmB,GAAG,YAAY,CAAC,EAAE,GAAG,OAAO,CAAC;AAC9E,KAAK,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEhD,KAAK,WAAW,GACZ,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,QAAQ,CAAC;AAEb,KAAK,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC7C,KAAK,UAAU,GAAG,iBAAiB,GAAG,UAAU,CAAC;AAEjD,KAAK,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,CAAC;AAGr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AC;IAEF,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC;AAED,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,UAAU,GACX,CAAC"}
\ No newline at end of file
+{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,KAAK,UAAU,GAAG,CAAC,QAAQ,GAAG,mBAAmB,GAAG,YAAY,CAAC,EAAE,GAAG,OAAO,CAAC;AAC9E,KAAK,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEhD,KAAK,WAAW,GACZ,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,QAAQ,CAAC;AAEb,KAAK,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC7C,KAAK,UAAU,GAAG,iBAAiB,GAAG,UAAU,CAAC;AAEjD,KAAK,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,WAAW,CAAC;AAGrD,UAAU,aAAa;IACrB,YAAY,CAAC,EAAE;QACb,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,GAAG,CAAC,EAAE,OAAO,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACF,WAAW,CAAC,EAAE,WAAW,CAAC;IAG1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAGZ,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAGjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,2CAA2C,CAAC,EAAE,OAAO,CAAC;IACtD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,gDAAgD,CAAC,EAAE,OAAO,CAAC;IAC3D,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IAC7C,uBAAuB,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;IAC7C,aAAa,CAAC,EAAE;QACd,IAAI,CAAC,EAAE,oBAAoB,CAAC;KAC7B,CAAC;IAEF,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC;AAED,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,UAAU,GACX,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/types/package.json
index b1ec3380ab..00f97e0557 100644
--- a/node_modules/@typescript-eslint/types/package.json
+++ b/node_modules/@typescript-eslint/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/types",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "Types for the TypeScript-ESTree AST spec",
"files": [
"dist",
diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map
index 86804fda5f..69157f2614 100644
--- a/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map
+++ b/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"createParserServices.d.ts","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,IAAI,GACzB,cAAc,CAkBhB"}
\ No newline at end of file
+{"version":3,"file":"createParserServices.d.ts","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,IAAI,GACzB,cAAc,CA2BhB"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js b/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js
index 49fa99b492..eefc9f54b9 100644
--- a/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js
+++ b/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js
@@ -3,14 +3,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.createParserServices = void 0;
function createParserServices(astMaps, program) {
if (!program) {
- // we always return the node maps because
- // (a) they don't require type info and
- // (b) they can be useful when using some of TS's internal non-type-aware AST utils
- return { program, ...astMaps };
+ return {
+ program,
+ emitDecoratorMetadata: undefined,
+ experimentalDecorators: undefined,
+ // we always return the node maps because
+ // (a) they don't require type info and
+ // (b) they can be useful when using some of TS's internal non-type-aware AST utils
+ ...astMaps,
+ };
}
const checker = program.getTypeChecker();
+ const compilerOptions = program.getCompilerOptions();
return {
program,
+ // not set in the config is the same as off
+ emitDecoratorMetadata: compilerOptions.emitDecoratorMetadata ?? false,
+ experimentalDecorators: compilerOptions.experimentalDecorators ?? false,
...astMaps,
getSymbolAtLocation: node => checker.getSymbolAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)),
getTypeAtLocation: node => checker.getTypeAtLocation(astMaps.esTreeNodeToTSNodeMap.get(node)),
diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map
index 18219a8966..accc38ac10 100644
--- a/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map
+++ b/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map
@@ -1 +1 @@
-{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;;AAKA,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,yCAAyC;QACzC,uCAAuC;QACvC,mFAAmF;QACnF,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC;IACjC,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAEzC,OAAO;QACL,OAAO;QACP,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC;AArBD,oDAqBC"}
\ No newline at end of file
+{"version":3,"file":"createParserServices.js","sourceRoot":"","sources":["../src/createParserServices.ts"],"names":[],"mappings":";;;AAKA,SAAgB,oBAAoB,CAClC,OAAgB,EAChB,OAA0B;IAE1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO;YACL,OAAO;YACP,qBAAqB,EAAE,SAAS;YAChC,sBAAsB,EAAE,SAAS;YACjC,yCAAyC;YACzC,uCAAuC;YACvC,mFAAmF;YACnF,GAAG,OAAO;SACX,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IACzC,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAErD,OAAO;QACL,OAAO;QACP,2CAA2C;QAC3C,qBAAqB,EAAE,eAAe,CAAC,qBAAqB,IAAI,KAAK;QACrE,sBAAsB,EAAE,eAAe,CAAC,sBAAsB,IAAI,KAAK;QACvE,GAAG,OAAO;QACV,mBAAmB,EAAE,IAAI,CAAC,EAAE,CAC1B,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,EAAE,CACxB,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACrE,CAAC;AACJ,CAAC;AA9BD,oDA8BC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts
index 146e7ebdb0..d876df9e3d 100644
--- a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts
+++ b/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts
@@ -197,16 +197,20 @@ export interface ParserWeakMapESTreeToTSNode(key: KeyBase): TSESTreeToTSNode;
has(key: unknown): boolean;
}
+export interface ParserServicesBase {
+ emitDecoratorMetadata: boolean | undefined;
+ experimentalDecorators: boolean | undefined;
+}
export interface ParserServicesNodeMaps {
esTreeNodeToTSNodeMap: ParserWeakMapESTreeToTSNode;
tsNodeToESTreeNodeMap: ParserWeakMap;
}
-export interface ParserServicesWithTypeInformation extends ParserServicesNodeMaps {
+export interface ParserServicesWithTypeInformation extends ParserServicesNodeMaps, ParserServicesBase {
program: ts.Program;
getSymbolAtLocation: (node: TSESTree.Node) => ts.Symbol | undefined;
getTypeAtLocation: (node: TSESTree.Node) => ts.Type;
}
-export interface ParserServicesWithoutTypeInformation extends ParserServicesNodeMaps {
+export interface ParserServicesWithoutTypeInformation extends ParserServicesNodeMaps, ParserServicesBase {
program: null;
}
export type ParserServices = ParserServicesWithoutTypeInformation | ParserServicesWithTypeInformation;
diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map
index 939358a89d..b500e938d8 100644
--- a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map
+++ b/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KA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AM,WAAW,iCACf,SAAQ,sBAAsB;IAC9B,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;IACpB,mBAAmB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC;IACpE,iBAAiB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,CAAC;CACrD;AACD,MAAM,WAAW,oCACf,SAAQ,sBAAsB;IAC9B,OAAO,EAAE,IAAI,CAAC;CACf;AACD,MAAM,MAAM,cAAc,GACtB,oCAAoC,GACpC,iCAAiC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"parser-options.d.ts","sourceRoot":"","sources":["../src/parser-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAM/E,UAAU,YAAY;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;;OASG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAOd,QAAQ,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,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AW,aAAa,CAAC,GAAG,EAAE,SAAS;IAC3C,GAAG,CAAC,KAAK,SAAS,SAAS,EAAE,GAAG,EAAE,GAAG,GAAG,KAAK,CAAC;IAC9C,GAAG,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA2B,CAC1C,GAAG,SAAS,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI;IAEzC,GAAG,CAAC,OAAO,SAAS,GAAG,EAAE,GAAG,EAAE,OAAO,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClE,GAAG,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,qBAAqB,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3C,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C;AACD,MAAM,WAAW,sBAAsB;IACrC,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,GAAG,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CACvE;AACD,MAAM,WAAW,iCACf,SAAQ,sBAAsB,EAC5B,kBAAkB;IACpB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;IACpB,mBAAmB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC;IACpE,iBAAiB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,CAAC;CACrD;AACD,MAAM,WAAW,oCACf,SAAQ,sBAAsB,EAC5B,kBAAkB;IACpB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,MAAM,MAAM,cAAc,GACtB,oCAAoC,GACpC,iCAAiC,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/typescript-estree/package.json
index 7fb3d420e5..0a24c6d669 100644
--- a/node_modules/@typescript-eslint/typescript-estree/package.json
+++ b/node_modules/@typescript-eslint/typescript-estree/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/typescript-estree",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
"files": [
"dist",
@@ -53,8 +53,8 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
diff --git a/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/utils/package.json
index 771f9c409d..c533dd0325 100644
--- a/node_modules/@typescript-eslint/utils/package.json
+++ b/node_modules/@typescript-eslint/utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/utils",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "Utilities for working with TypeScript + ESLint together",
"files": [
"dist",
@@ -69,16 +69,16 @@
"@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0",
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/typescript-estree": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
"semver": "^7.5.4"
},
"peerDependencies": {
"eslint": "^8.56.0"
},
"devDependencies": {
- "@typescript-eslint/parser": "7.3.0",
+ "@typescript-eslint/parser": "7.4.0",
"downlevel-dts": "*",
"jest": "29.7.0",
"prettier": "^3.0.3",
diff --git a/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/visitor-keys/package.json
index 4a682c7418..e92feb9ad9 100644
--- a/node_modules/@typescript-eslint/visitor-keys/package.json
+++ b/node_modules/@typescript-eslint/visitor-keys/package.json
@@ -1,6 +1,6 @@
{
"name": "@typescript-eslint/visitor-keys",
- "version": "7.3.0",
+ "version": "7.4.0",
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
"files": [
"dist",
@@ -46,7 +46,7 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
+ "@typescript-eslint/types": "7.4.0",
"eslint-visitor-keys": "^3.4.1"
},
"devDependencies": {
diff --git a/node_modules/typescript/lib/tsc.js b/node_modules/typescript/lib/tsc.js
index b78d968065..e6dcc303eb 100644
--- a/node_modules/typescript/lib/tsc.js
+++ b/node_modules/typescript/lib/tsc.js
@@ -18,7 +18,7 @@ and limitations under the License.
// src/compiler/corePublic.ts
var versionMajorMinor = "5.4";
-var version = "5.4.2";
+var version = "5.4.3";
// src/compiler/core.ts
var emptyArray = [];
@@ -47517,13 +47517,6 @@ function createTypeChecker(host) {
});
}
function getSymbolIfSameReference(s1, s2) {
- var _a, _b;
- if (s1.flags & 524288 /* TypeAlias */ && ((_a = s2.declarations) == null ? void 0 : _a.find(isTypeAlias))) {
- s2 = getDeclaredTypeOfTypeAlias(s2).aliasSymbol || s2;
- }
- if (s2.flags & 524288 /* TypeAlias */ && ((_b = s1.declarations) == null ? void 0 : _b.find(isTypeAlias))) {
- s1 = getDeclaredTypeOfTypeAlias(s1).aliasSymbol || s1;
- }
if (getMergedSymbol(resolveSymbol(getMergedSymbol(s1))) === getMergedSymbol(resolveSymbol(getMergedSymbol(s2)))) {
return s1;
}
@@ -55321,13 +55314,16 @@ function createTypeChecker(host) {
const constraint = getConstraintTypeFromMappedType(type);
if (constraint.flags & 4194304 /* Index */) {
const baseConstraint = getBaseConstraintOfType(constraint.type);
- if (baseConstraint && everyType(baseConstraint, isArrayOrTupleType)) {
+ if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
}
}
}
return type;
}
+ function isArrayOrTupleOrIntersection(type) {
+ return !!(type.flags & 2097152 /* Intersection */) && every(type.types, isArrayOrTupleType);
+ }
function isMappedTypeGenericIndexedAccess(type) {
let objectType;
return !!(type.flags & 8388608 /* IndexedAccess */ && getObjectFlags(objectType = type.objectType) & 32 /* Mapped */ && !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && !(getMappedTypeModifiers(objectType) & 8 /* ExcludeOptional */) && !objectType.declaration.nameType);
@@ -57966,7 +57962,7 @@ function createTypeChecker(host) {
const typeVarIndex = typeSet[0].flags & 8650752 /* TypeVariable */ ? 0 : 1;
const typeVariable = typeSet[typeVarIndex];
const primitiveType = typeSet[1 - typeVarIndex];
- if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) || includes & 16777216 /* IncludesEmptyObject */)) {
+ if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) && !isGenericStringLikeType(primitiveType) || includes & 16777216 /* IncludesEmptyObject */)) {
const constraint = getBaseConstraintOfType(typeVariable);
if (constraint && everyType(constraint, (t) => !!(t.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */)) || isEmptyAnonymousObjectType(t))) {
if (isTypeStrictSubtypeOf(constraint, primitiveType)) {
@@ -58574,6 +58570,9 @@ function createTypeChecker(host) {
function isPatternLiteralType(type) {
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type);
}
+ function isGenericStringLikeType(type) {
+ return !!(type.flags & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) && !isPatternLiteralType(type);
+ }
function isGenericType(type) {
return !!getGenericObjectFlags(type);
}
@@ -58596,7 +58595,7 @@ function createTypeChecker(host) {
}
return type.objectFlags & 12582912 /* IsGenericType */;
}
- return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && !isPatternLiteralType(type) ? 8388608 /* IsGenericIndexType */ : 0);
+ return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */) || isGenericStringLikeType(type) ? 8388608 /* IsGenericIndexType */ : 0);
}
function getSimplifiedType(type, writing) {
return type.flags & 8388608 /* IndexedAccess */ ? getSimplifiedIndexedAccessType(type, writing) : type.flags & 16777216 /* Conditional */ ? getSimplifiedConditionalType(type, writing) : type;
@@ -59695,29 +59694,28 @@ function createTypeChecker(host) {
if (typeVariable) {
const mappedTypeVariable = instantiateType(typeVariable, mapper);
if (typeVariable !== mappedTypeVariable) {
- return mapTypeWithAlias(
- getReducedType(mappedTypeVariable),
- (t) => {
- if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
- if (!type.declaration.nameType) {
- let constraint;
- if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {
- return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
- }
- if (isTupleType(t)) {
- return instantiateMappedTupleType(t, type, typeVariable, mapper);
- }
- }
- return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));
- }
- return t;
- },
- aliasSymbol,
- aliasTypeArguments
- );
+ return mapTypeWithAlias(getReducedType(mappedTypeVariable), instantiateConstituent, aliasSymbol, aliasTypeArguments);
}
}
return instantiateType(getConstraintTypeFromMappedType(type), mapper) === wildcardType ? wildcardType : instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments);
+ function instantiateConstituent(t) {
+ if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
+ if (!type.declaration.nameType) {
+ let constraint;
+ if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {
+ return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
+ }
+ if (isTupleType(t)) {
+ return instantiateMappedTupleType(t, type, typeVariable, mapper);
+ }
+ if (isArrayOrTupleOrIntersection(t)) {
+ return getIntersectionType(map(t.types, instantiateConstituent));
+ }
+ }
+ return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));
+ }
+ return t;
+ }
}
function getModifiedReadonlyState(state, modifiers) {
return modifiers & 1 /* IncludeReadonly */ ? true : modifiers & 2 /* ExcludeReadonly */ ? false : state;
@@ -65644,7 +65642,7 @@ function createTypeChecker(host) {
function hasMatchingArgument(expression, reference) {
if (expression.arguments) {
for (const argument of expression.arguments) {
- if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference) || getCandidateDiscriminantPropertyAccess(argument, reference)) {
+ if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) {
return true;
}
}
@@ -65654,36 +65652,6 @@ function createTypeChecker(host) {
}
return false;
}
- function getCandidateDiscriminantPropertyAccess(expr, reference) {
- if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {
- if (isIdentifier(expr)) {
- const symbol = getResolvedSymbol(expr);
- const declaration = symbol.valueDeclaration;
- if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {
- return declaration;
- }
- }
- } else if (isAccessExpression(expr)) {
- if (isMatchingReference(reference, expr.expression)) {
- return expr;
- }
- } else if (isIdentifier(expr)) {
- const symbol = getResolvedSymbol(expr);
- if (isConstantVariable(symbol)) {
- const declaration = symbol.valueDeclaration;
- if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {
- return declaration.initializer;
- }
- if (isBindingElement(declaration) && !declaration.initializer) {
- const parent = declaration.parent.parent;
- if (isVariableDeclaration(parent) && !parent.type && parent.initializer && (isIdentifier(parent.initializer) || isAccessExpression(parent.initializer)) && isMatchingReference(reference, parent.initializer)) {
- return declaration;
- }
- }
- }
- }
- return void 0;
- }
function getFlowNodeId(flow) {
if (!flow.id || flow.id < 0) {
flow.id = nextFlowId;
@@ -66783,9 +66751,39 @@ function createTypeChecker(host) {
}
return result;
}
+ function getCandidateDiscriminantPropertyAccess(expr) {
+ if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {
+ if (isIdentifier(expr)) {
+ const symbol = getResolvedSymbol(expr);
+ const declaration = symbol.valueDeclaration;
+ if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {
+ return declaration;
+ }
+ }
+ } else if (isAccessExpression(expr)) {
+ if (isMatchingReference(reference, expr.expression)) {
+ return expr;
+ }
+ } else if (isIdentifier(expr)) {
+ const symbol = getResolvedSymbol(expr);
+ if (isConstantVariable(symbol)) {
+ const declaration = symbol.valueDeclaration;
+ if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {
+ return declaration.initializer;
+ }
+ if (isBindingElement(declaration) && !declaration.initializer) {
+ const parent = declaration.parent.parent;
+ if (isVariableDeclaration(parent) && !parent.type && parent.initializer && (isIdentifier(parent.initializer) || isAccessExpression(parent.initializer)) && isMatchingReference(reference, parent.initializer)) {
+ return declaration;
+ }
+ }
+ }
+ }
+ return void 0;
+ }
function getDiscriminantPropertyAccess(expr, computedType) {
if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) {
- const access = getCandidateDiscriminantPropertyAccess(expr, reference);
+ const access = getCandidateDiscriminantPropertyAccess(expr);
if (access) {
const name = getAccessedPropertyName(access);
if (name) {
@@ -72506,7 +72504,7 @@ function createTypeChecker(host) {
}
return resolveErrorCall(node);
}
- if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunctionOrConstructor)) {
+ if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {
skippedGenericFunction(node, checkMode);
return resolvingSignature;
}
@@ -72516,12 +72514,8 @@ function createTypeChecker(host) {
}
return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags);
}
- function isGenericFunctionReturningFunctionOrConstructor(signature) {
- if (!signature.typeParameters) {
- return false;
- }
- const returnType = getReturnTypeOfSignature(signature);
- return isFunctionType(returnType) || isConstructorType(returnType);
+ function isGenericFunctionReturningFunction(signature) {
+ return !!(signature.typeParameters && isFunctionType(getReturnTypeOfSignature(signature)));
}
function isUntypedFunctionCall(funcType, apparentFuncType, numCallSignatures, numConstructSignatures) {
return isTypeAny(funcType) || isTypeAny(apparentFuncType) && !!(funcType.flags & 262144 /* TypeParameter */) || !numCallSignatures && !numConstructSignatures && !(apparentFuncType.flags & 1048576 /* Union */) && !(getReducedType(apparentFuncType).flags & 131072 /* Never */) && isTypeAssignableTo(funcType, globalFunctionType);
@@ -80678,7 +80672,7 @@ function createTypeChecker(host) {
error(member.name, Diagnostics.Computed_property_names_are_not_allowed_in_enums);
} else {
const text = getTextOfPropertyName(member.name);
- if (isNumericLiteralName(text)) {
+ if (isNumericLiteralName(text) && !isInfinityOrNaNString(text)) {
error(member.name, Diagnostics.An_enum_member_cannot_have_a_numeric_name);
}
}
diff --git a/node_modules/typescript/lib/tsserver.js b/node_modules/typescript/lib/tsserver.js
index dacf281c30..bc0e83fb40 100644
--- a/node_modules/typescript/lib/tsserver.js
+++ b/node_modules/typescript/lib/tsserver.js
@@ -2340,7 +2340,7 @@ module.exports = __toCommonJS(server_exports);
// src/compiler/corePublic.ts
var versionMajorMinor = "5.4";
-var version = "5.4.2";
+var version = "5.4.3";
var Comparison = /* @__PURE__ */ ((Comparison3) => {
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -52261,13 +52261,6 @@ function createTypeChecker(host) {
});
}
function getSymbolIfSameReference(s1, s2) {
- var _a, _b;
- if (s1.flags & 524288 /* TypeAlias */ && ((_a = s2.declarations) == null ? void 0 : _a.find(isTypeAlias))) {
- s2 = getDeclaredTypeOfTypeAlias(s2).aliasSymbol || s2;
- }
- if (s2.flags & 524288 /* TypeAlias */ && ((_b = s1.declarations) == null ? void 0 : _b.find(isTypeAlias))) {
- s1 = getDeclaredTypeOfTypeAlias(s1).aliasSymbol || s1;
- }
if (getMergedSymbol(resolveSymbol(getMergedSymbol(s1))) === getMergedSymbol(resolveSymbol(getMergedSymbol(s2)))) {
return s1;
}
@@ -60065,13 +60058,16 @@ function createTypeChecker(host) {
const constraint = getConstraintTypeFromMappedType(type);
if (constraint.flags & 4194304 /* Index */) {
const baseConstraint = getBaseConstraintOfType(constraint.type);
- if (baseConstraint && everyType(baseConstraint, isArrayOrTupleType)) {
+ if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
}
}
}
return type;
}
+ function isArrayOrTupleOrIntersection(type) {
+ return !!(type.flags & 2097152 /* Intersection */) && every(type.types, isArrayOrTupleType);
+ }
function isMappedTypeGenericIndexedAccess(type) {
let objectType;
return !!(type.flags & 8388608 /* IndexedAccess */ && getObjectFlags(objectType = type.objectType) & 32 /* Mapped */ && !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && !(getMappedTypeModifiers(objectType) & 8 /* ExcludeOptional */) && !objectType.declaration.nameType);
@@ -62710,7 +62706,7 @@ function createTypeChecker(host) {
const typeVarIndex = typeSet[0].flags & 8650752 /* TypeVariable */ ? 0 : 1;
const typeVariable = typeSet[typeVarIndex];
const primitiveType = typeSet[1 - typeVarIndex];
- if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) || includes & 16777216 /* IncludesEmptyObject */)) {
+ if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) && !isGenericStringLikeType(primitiveType) || includes & 16777216 /* IncludesEmptyObject */)) {
const constraint = getBaseConstraintOfType(typeVariable);
if (constraint && everyType(constraint, (t) => !!(t.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */)) || isEmptyAnonymousObjectType(t))) {
if (isTypeStrictSubtypeOf(constraint, primitiveType)) {
@@ -63318,6 +63314,9 @@ function createTypeChecker(host) {
function isPatternLiteralType(type) {
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type);
}
+ function isGenericStringLikeType(type) {
+ return !!(type.flags & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) && !isPatternLiteralType(type);
+ }
function isGenericType(type) {
return !!getGenericObjectFlags(type);
}
@@ -63340,7 +63339,7 @@ function createTypeChecker(host) {
}
return type.objectFlags & 12582912 /* IsGenericType */;
}
- return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && !isPatternLiteralType(type) ? 8388608 /* IsGenericIndexType */ : 0);
+ return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */) || isGenericStringLikeType(type) ? 8388608 /* IsGenericIndexType */ : 0);
}
function getSimplifiedType(type, writing) {
return type.flags & 8388608 /* IndexedAccess */ ? getSimplifiedIndexedAccessType(type, writing) : type.flags & 16777216 /* Conditional */ ? getSimplifiedConditionalType(type, writing) : type;
@@ -64439,29 +64438,28 @@ function createTypeChecker(host) {
if (typeVariable) {
const mappedTypeVariable = instantiateType(typeVariable, mapper);
if (typeVariable !== mappedTypeVariable) {
- return mapTypeWithAlias(
- getReducedType(mappedTypeVariable),
- (t) => {
- if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
- if (!type.declaration.nameType) {
- let constraint;
- if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {
- return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
- }
- if (isTupleType(t)) {
- return instantiateMappedTupleType(t, type, typeVariable, mapper);
- }
- }
- return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));
- }
- return t;
- },
- aliasSymbol,
- aliasTypeArguments
- );
+ return mapTypeWithAlias(getReducedType(mappedTypeVariable), instantiateConstituent, aliasSymbol, aliasTypeArguments);
}
}
return instantiateType(getConstraintTypeFromMappedType(type), mapper) === wildcardType ? wildcardType : instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments);
+ function instantiateConstituent(t) {
+ if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
+ if (!type.declaration.nameType) {
+ let constraint;
+ if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {
+ return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
+ }
+ if (isTupleType(t)) {
+ return instantiateMappedTupleType(t, type, typeVariable, mapper);
+ }
+ if (isArrayOrTupleOrIntersection(t)) {
+ return getIntersectionType(map(t.types, instantiateConstituent));
+ }
+ }
+ return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));
+ }
+ return t;
+ }
}
function getModifiedReadonlyState(state, modifiers) {
return modifiers & 1 /* IncludeReadonly */ ? true : modifiers & 2 /* ExcludeReadonly */ ? false : state;
@@ -70388,7 +70386,7 @@ function createTypeChecker(host) {
function hasMatchingArgument(expression, reference) {
if (expression.arguments) {
for (const argument of expression.arguments) {
- if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference) || getCandidateDiscriminantPropertyAccess(argument, reference)) {
+ if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) {
return true;
}
}
@@ -70398,36 +70396,6 @@ function createTypeChecker(host) {
}
return false;
}
- function getCandidateDiscriminantPropertyAccess(expr, reference) {
- if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {
- if (isIdentifier(expr)) {
- const symbol = getResolvedSymbol(expr);
- const declaration = symbol.valueDeclaration;
- if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {
- return declaration;
- }
- }
- } else if (isAccessExpression(expr)) {
- if (isMatchingReference(reference, expr.expression)) {
- return expr;
- }
- } else if (isIdentifier(expr)) {
- const symbol = getResolvedSymbol(expr);
- if (isConstantVariable(symbol)) {
- const declaration = symbol.valueDeclaration;
- if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {
- return declaration.initializer;
- }
- if (isBindingElement(declaration) && !declaration.initializer) {
- const parent2 = declaration.parent.parent;
- if (isVariableDeclaration(parent2) && !parent2.type && parent2.initializer && (isIdentifier(parent2.initializer) || isAccessExpression(parent2.initializer)) && isMatchingReference(reference, parent2.initializer)) {
- return declaration;
- }
- }
- }
- }
- return void 0;
- }
function getFlowNodeId(flow) {
if (!flow.id || flow.id < 0) {
flow.id = nextFlowId;
@@ -71527,9 +71495,39 @@ function createTypeChecker(host) {
}
return result;
}
+ function getCandidateDiscriminantPropertyAccess(expr) {
+ if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {
+ if (isIdentifier(expr)) {
+ const symbol = getResolvedSymbol(expr);
+ const declaration = symbol.valueDeclaration;
+ if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {
+ return declaration;
+ }
+ }
+ } else if (isAccessExpression(expr)) {
+ if (isMatchingReference(reference, expr.expression)) {
+ return expr;
+ }
+ } else if (isIdentifier(expr)) {
+ const symbol = getResolvedSymbol(expr);
+ if (isConstantVariable(symbol)) {
+ const declaration = symbol.valueDeclaration;
+ if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {
+ return declaration.initializer;
+ }
+ if (isBindingElement(declaration) && !declaration.initializer) {
+ const parent2 = declaration.parent.parent;
+ if (isVariableDeclaration(parent2) && !parent2.type && parent2.initializer && (isIdentifier(parent2.initializer) || isAccessExpression(parent2.initializer)) && isMatchingReference(reference, parent2.initializer)) {
+ return declaration;
+ }
+ }
+ }
+ }
+ return void 0;
+ }
function getDiscriminantPropertyAccess(expr, computedType) {
if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) {
- const access = getCandidateDiscriminantPropertyAccess(expr, reference);
+ const access = getCandidateDiscriminantPropertyAccess(expr);
if (access) {
const name = getAccessedPropertyName(access);
if (name) {
@@ -77250,7 +77248,7 @@ function createTypeChecker(host) {
}
return resolveErrorCall(node);
}
- if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunctionOrConstructor)) {
+ if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {
skippedGenericFunction(node, checkMode);
return resolvingSignature;
}
@@ -77260,12 +77258,8 @@ function createTypeChecker(host) {
}
return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags);
}
- function isGenericFunctionReturningFunctionOrConstructor(signature) {
- if (!signature.typeParameters) {
- return false;
- }
- const returnType = getReturnTypeOfSignature(signature);
- return isFunctionType(returnType) || isConstructorType(returnType);
+ function isGenericFunctionReturningFunction(signature) {
+ return !!(signature.typeParameters && isFunctionType(getReturnTypeOfSignature(signature)));
}
function isUntypedFunctionCall(funcType, apparentFuncType, numCallSignatures, numConstructSignatures) {
return isTypeAny(funcType) || isTypeAny(apparentFuncType) && !!(funcType.flags & 262144 /* TypeParameter */) || !numCallSignatures && !numConstructSignatures && !(apparentFuncType.flags & 1048576 /* Union */) && !(getReducedType(apparentFuncType).flags & 131072 /* Never */) && isTypeAssignableTo(funcType, globalFunctionType);
@@ -85422,7 +85416,7 @@ function createTypeChecker(host) {
error2(member.name, Diagnostics.Computed_property_names_are_not_allowed_in_enums);
} else {
const text = getTextOfPropertyName(member.name);
- if (isNumericLiteralName(text)) {
+ if (isNumericLiteralName(text) && !isInfinityOrNaNString(text)) {
error2(member.name, Diagnostics.An_enum_member_cannot_have_a_numeric_name);
}
}
diff --git a/node_modules/typescript/lib/typescript.js b/node_modules/typescript/lib/typescript.js
index adde21acf1..7014c9a443 100644
--- a/node_modules/typescript/lib/typescript.js
+++ b/node_modules/typescript/lib/typescript.js
@@ -35,7 +35,7 @@ var ts = (() => {
"src/compiler/corePublic.ts"() {
"use strict";
versionMajorMinor = "5.4";
- version = "5.4.2";
+ version = "5.4.3";
Comparison = /* @__PURE__ */ ((Comparison3) => {
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -50016,13 +50016,6 @@ ${lanes.join("\n")}
});
}
function getSymbolIfSameReference(s1, s2) {
- var _a, _b;
- if (s1.flags & 524288 /* TypeAlias */ && ((_a = s2.declarations) == null ? void 0 : _a.find(isTypeAlias))) {
- s2 = getDeclaredTypeOfTypeAlias(s2).aliasSymbol || s2;
- }
- if (s2.flags & 524288 /* TypeAlias */ && ((_b = s1.declarations) == null ? void 0 : _b.find(isTypeAlias))) {
- s1 = getDeclaredTypeOfTypeAlias(s1).aliasSymbol || s1;
- }
if (getMergedSymbol(resolveSymbol(getMergedSymbol(s1))) === getMergedSymbol(resolveSymbol(getMergedSymbol(s2)))) {
return s1;
}
@@ -57820,13 +57813,16 @@ ${lanes.join("\n")}
const constraint = getConstraintTypeFromMappedType(type);
if (constraint.flags & 4194304 /* Index */) {
const baseConstraint = getBaseConstraintOfType(constraint.type);
- if (baseConstraint && everyType(baseConstraint, isArrayOrTupleType)) {
+ if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
}
}
}
return type;
}
+ function isArrayOrTupleOrIntersection(type) {
+ return !!(type.flags & 2097152 /* Intersection */) && every(type.types, isArrayOrTupleType);
+ }
function isMappedTypeGenericIndexedAccess(type) {
let objectType;
return !!(type.flags & 8388608 /* IndexedAccess */ && getObjectFlags(objectType = type.objectType) & 32 /* Mapped */ && !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && !(getMappedTypeModifiers(objectType) & 8 /* ExcludeOptional */) && !objectType.declaration.nameType);
@@ -60465,7 +60461,7 @@ ${lanes.join("\n")}
const typeVarIndex = typeSet[0].flags & 8650752 /* TypeVariable */ ? 0 : 1;
const typeVariable = typeSet[typeVarIndex];
const primitiveType = typeSet[1 - typeVarIndex];
- if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) || includes & 16777216 /* IncludesEmptyObject */)) {
+ if (typeVariable.flags & 8650752 /* TypeVariable */ && (primitiveType.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */) && !isGenericStringLikeType(primitiveType) || includes & 16777216 /* IncludesEmptyObject */)) {
const constraint = getBaseConstraintOfType(typeVariable);
if (constraint && everyType(constraint, (t) => !!(t.flags & (402784252 /* Primitive */ | 67108864 /* NonPrimitive */)) || isEmptyAnonymousObjectType(t))) {
if (isTypeStrictSubtypeOf(constraint, primitiveType)) {
@@ -61073,6 +61069,9 @@ ${lanes.join("\n")}
function isPatternLiteralType(type) {
return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type);
}
+ function isGenericStringLikeType(type) {
+ return !!(type.flags & (134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) && !isPatternLiteralType(type);
+ }
function isGenericType(type) {
return !!getGenericObjectFlags(type);
}
@@ -61095,7 +61094,7 @@ ${lanes.join("\n")}
}
return type.objectFlags & 12582912 /* IsGenericType */;
}
- return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && !isPatternLiteralType(type) ? 8388608 /* IsGenericIndexType */ : 0);
+ return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */) || isGenericStringLikeType(type) ? 8388608 /* IsGenericIndexType */ : 0);
}
function getSimplifiedType(type, writing) {
return type.flags & 8388608 /* IndexedAccess */ ? getSimplifiedIndexedAccessType(type, writing) : type.flags & 16777216 /* Conditional */ ? getSimplifiedConditionalType(type, writing) : type;
@@ -62194,29 +62193,28 @@ ${lanes.join("\n")}
if (typeVariable) {
const mappedTypeVariable = instantiateType(typeVariable, mapper);
if (typeVariable !== mappedTypeVariable) {
- return mapTypeWithAlias(
- getReducedType(mappedTypeVariable),
- (t) => {
- if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
- if (!type.declaration.nameType) {
- let constraint;
- if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {
- return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
- }
- if (isTupleType(t)) {
- return instantiateMappedTupleType(t, type, typeVariable, mapper);
- }
- }
- return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));
- }
- return t;
- },
- aliasSymbol,
- aliasTypeArguments
- );
+ return mapTypeWithAlias(getReducedType(mappedTypeVariable), instantiateConstituent, aliasSymbol, aliasTypeArguments);
}
}
return instantiateType(getConstraintTypeFromMappedType(type), mapper) === wildcardType ? wildcardType : instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments);
+ function instantiateConstituent(t) {
+ if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
+ if (!type.declaration.nameType) {
+ let constraint;
+ if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {
+ return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
+ }
+ if (isTupleType(t)) {
+ return instantiateMappedTupleType(t, type, typeVariable, mapper);
+ }
+ if (isArrayOrTupleOrIntersection(t)) {
+ return getIntersectionType(map(t.types, instantiateConstituent));
+ }
+ }
+ return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));
+ }
+ return t;
+ }
}
function getModifiedReadonlyState(state, modifiers) {
return modifiers & 1 /* IncludeReadonly */ ? true : modifiers & 2 /* ExcludeReadonly */ ? false : state;
@@ -68143,7 +68141,7 @@ ${lanes.join("\n")}
function hasMatchingArgument(expression, reference) {
if (expression.arguments) {
for (const argument of expression.arguments) {
- if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference) || getCandidateDiscriminantPropertyAccess(argument, reference)) {
+ if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) {
return true;
}
}
@@ -68153,36 +68151,6 @@ ${lanes.join("\n")}
}
return false;
}
- function getCandidateDiscriminantPropertyAccess(expr, reference) {
- if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {
- if (isIdentifier(expr)) {
- const symbol = getResolvedSymbol(expr);
- const declaration = symbol.valueDeclaration;
- if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {
- return declaration;
- }
- }
- } else if (isAccessExpression(expr)) {
- if (isMatchingReference(reference, expr.expression)) {
- return expr;
- }
- } else if (isIdentifier(expr)) {
- const symbol = getResolvedSymbol(expr);
- if (isConstantVariable(symbol)) {
- const declaration = symbol.valueDeclaration;
- if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {
- return declaration.initializer;
- }
- if (isBindingElement(declaration) && !declaration.initializer) {
- const parent2 = declaration.parent.parent;
- if (isVariableDeclaration(parent2) && !parent2.type && parent2.initializer && (isIdentifier(parent2.initializer) || isAccessExpression(parent2.initializer)) && isMatchingReference(reference, parent2.initializer)) {
- return declaration;
- }
- }
- }
- }
- return void 0;
- }
function getFlowNodeId(flow) {
if (!flow.id || flow.id < 0) {
flow.id = nextFlowId;
@@ -69282,9 +69250,39 @@ ${lanes.join("\n")}
}
return result;
}
+ function getCandidateDiscriminantPropertyAccess(expr) {
+ if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {
+ if (isIdentifier(expr)) {
+ const symbol = getResolvedSymbol(expr);
+ const declaration = symbol.valueDeclaration;
+ if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {
+ return declaration;
+ }
+ }
+ } else if (isAccessExpression(expr)) {
+ if (isMatchingReference(reference, expr.expression)) {
+ return expr;
+ }
+ } else if (isIdentifier(expr)) {
+ const symbol = getResolvedSymbol(expr);
+ if (isConstantVariable(symbol)) {
+ const declaration = symbol.valueDeclaration;
+ if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {
+ return declaration.initializer;
+ }
+ if (isBindingElement(declaration) && !declaration.initializer) {
+ const parent2 = declaration.parent.parent;
+ if (isVariableDeclaration(parent2) && !parent2.type && parent2.initializer && (isIdentifier(parent2.initializer) || isAccessExpression(parent2.initializer)) && isMatchingReference(reference, parent2.initializer)) {
+ return declaration;
+ }
+ }
+ }
+ }
+ return void 0;
+ }
function getDiscriminantPropertyAccess(expr, computedType) {
if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) {
- const access = getCandidateDiscriminantPropertyAccess(expr, reference);
+ const access = getCandidateDiscriminantPropertyAccess(expr);
if (access) {
const name = getAccessedPropertyName(access);
if (name) {
@@ -75005,7 +75003,7 @@ ${lanes.join("\n")}
}
return resolveErrorCall(node);
}
- if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunctionOrConstructor)) {
+ if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {
skippedGenericFunction(node, checkMode);
return resolvingSignature;
}
@@ -75015,12 +75013,8 @@ ${lanes.join("\n")}
}
return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags);
}
- function isGenericFunctionReturningFunctionOrConstructor(signature) {
- if (!signature.typeParameters) {
- return false;
- }
- const returnType = getReturnTypeOfSignature(signature);
- return isFunctionType(returnType) || isConstructorType(returnType);
+ function isGenericFunctionReturningFunction(signature) {
+ return !!(signature.typeParameters && isFunctionType(getReturnTypeOfSignature(signature)));
}
function isUntypedFunctionCall(funcType, apparentFuncType, numCallSignatures, numConstructSignatures) {
return isTypeAny(funcType) || isTypeAny(apparentFuncType) && !!(funcType.flags & 262144 /* TypeParameter */) || !numCallSignatures && !numConstructSignatures && !(apparentFuncType.flags & 1048576 /* Union */) && !(getReducedType(apparentFuncType).flags & 131072 /* Never */) && isTypeAssignableTo(funcType, globalFunctionType);
@@ -83177,7 +83171,7 @@ ${lanes.join("\n")}
error2(member.name, Diagnostics.Computed_property_names_are_not_allowed_in_enums);
} else {
const text = getTextOfPropertyName(member.name);
- if (isNumericLiteralName(text)) {
+ if (isNumericLiteralName(text) && !isInfinityOrNaNString(text)) {
error2(member.name, Diagnostics.An_enum_member_cannot_have_a_numeric_name);
}
}
diff --git a/node_modules/typescript/lib/typingsInstaller.js b/node_modules/typescript/lib/typingsInstaller.js
index 7790762703..b629c7681e 100644
--- a/node_modules/typescript/lib/typingsInstaller.js
+++ b/node_modules/typescript/lib/typingsInstaller.js
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
// src/compiler/corePublic.ts
var versionMajorMinor = "5.4";
-var version = "5.4.2";
+var version = "5.4.3";
// src/compiler/core.ts
var emptyArray = [];
diff --git a/node_modules/typescript/package.json b/node_modules/typescript/package.json
index 68289e22d6..2ea8bdde53 100644
--- a/node_modules/typescript/package.json
+++ b/node_modules/typescript/package.json
@@ -2,7 +2,7 @@
"name": "typescript",
"author": "Microsoft Corp.",
"homepage": "https://www.typescriptlang.org/",
- "version": "5.4.2",
+ "version": "5.4.3",
"license": "Apache-2.0",
"description": "TypeScript is a language for application scale JavaScript development",
"keywords": [
diff --git a/package-lock.json b/package-lock.json
index 8444171ef2..725cffa690 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "codeql",
- "version": "2.24.9",
+ "version": "2.24.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "codeql",
- "version": "2.24.9",
+ "version": "2.24.10",
"license": "MIT",
"dependencies": {
"@actions/artifact": "^1.1.2",
@@ -45,8 +45,8 @@
"@types/node": "16.11.22",
"@types/semver": "^7.5.8",
"@types/sinon": "^17.0.3",
- "@typescript-eslint/eslint-plugin": "^7.3.0",
- "@typescript-eslint/parser": "^7.3.0",
+ "@typescript-eslint/eslint-plugin": "^7.4.0",
+ "@typescript-eslint/parser": "^7.4.0",
"ava": "^5.3.1",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
@@ -58,7 +58,7 @@
"nock": "^13.5.4",
"removeNPMAbsolutePaths": "3.0.1",
"sinon": "^17.0.1",
- "typescript": "^5.4.2"
+ "typescript": "^5.4.3"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -1014,16 +1014,16 @@
"integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA=="
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.3.0.tgz",
- "integrity": "sha512-e65ii0Y/jkqX3GXSBM7v9qt9ufxd4omcWyPVVC/msq/hP+hYC6CddLRvlvclni+u7UcaNYT/QhBYlaMHaR2ixw==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.4.0.tgz",
+ "integrity": "sha512-yHMQ/oFaM7HZdVrVm/M2WHaNPgyuJH4WelkSVEWSSsir34kxW2kDJCxlXRhhGWEsMN0WAW/vLpKfKVcm8k+MPw==",
"dev": true,
"dependencies": {
"@eslint-community/regexpp": "^4.5.1",
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/type-utils": "7.3.0",
- "@typescript-eslint/utils": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/type-utils": "7.4.0",
+ "@typescript-eslint/utils": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4",
"graphemer": "^1.4.0",
"ignore": "^5.2.4",
@@ -1049,15 +1049,15 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.3.0.tgz",
- "integrity": "sha512-OZcvH8zipGILuxJmtFgzjAJ+bOpWidzEppIRsT2P4ZUrizU0EsPt4hhzDn3lNfM1Hv7slZPTEQGKjUEn/ftQYA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.4.0.tgz",
+ "integrity": "sha512-ZvKHxHLusweEUVwrGRXXUVzFgnWhigo4JurEj0dGF1tbcGh6buL+ejDdjxOQxv6ytcY1uhun1p2sm8iWStlgLQ==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/typescript-estree": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4"
},
"engines": {
@@ -1077,13 +1077,13 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.3.0.tgz",
- "integrity": "sha512-KlG7xH3J/+nHpZRcYeskO5QVJCnnssxYKBlrj3MoyMONihn3P4xu5jIelrS5YWvBjbytgHmFkzjDApranoYkNA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.4.0.tgz",
+ "integrity": "sha512-68VqENG5HK27ypafqLVs8qO+RkNc7TezCduYrx8YJpXq2QGZ30vmNZGJJJC48+MVn4G2dCV8m5ZTVnzRexTVtw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0"
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0"
},
"engines": {
"node": "^18.18.0 || >=20.0.0"
@@ -1094,13 +1094,13 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.3.0.tgz",
- "integrity": "sha512-TyQ19ydo248eFjTfHFSvZbxalFUOxU9o2M6SUk3wOA0yRF1ZiB2VP5iaoLrGKcg7TyUxS4knYIHnE55ih82Cfg==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.4.0.tgz",
+ "integrity": "sha512-247ETeHgr9WTRMqHbbQdzwzhuyaJ8dPTuyuUEMANqzMRB1rj/9qFIuIXK7l0FX9i9FXbHeBQl/4uz6mYuCE7Aw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/typescript-estree": "7.3.0",
- "@typescript-eslint/utils": "7.3.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
+ "@typescript-eslint/utils": "7.4.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.0.1"
},
@@ -1121,9 +1121,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.3.0.tgz",
- "integrity": "sha512-oYCBkD0xVxzmZZmYiIWVewyy/q/ugq7PPm4pHhE1IgcT062i96G0Ww3gd8BvUYpk2yvg95q00Hj2CHRLjAuZBA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.4.0.tgz",
+ "integrity": "sha512-mjQopsbffzJskos5B4HmbsadSJQWaRK0UxqQ7GuNA9Ga4bEKeiO6b2DnB6cM6bpc8lemaPseh0H9B/wyg+J7rw==",
"dev": true,
"engines": {
"node": "^18.18.0 || >=20.0.0"
@@ -1134,13 +1134,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.3.0.tgz",
- "integrity": "sha512-UF85+bInQZ3olhI/zxv0c2b2SMuymn3t6/lkRkSB239HHxFmPSlmcggOKAjYzqRCdtqhPDftpsV1LlDH66AXrA==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.4.0.tgz",
+ "integrity": "sha512-A99j5AYoME/UBQ1ucEbbMEmGkN7SE0BvZFreSnTd1luq7yulcHdyGamZKizU7canpGDWGJ+Q6ZA9SyQobipePg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/visitor-keys": "7.3.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/visitor-keys": "7.4.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -1186,17 +1186,17 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.3.0.tgz",
- "integrity": "sha512-7PKIDoe2ppR1SK56TLv7WQXrdHqEiueVwLVIjdSR4ROY2LprmJenf4+tT8iJIfxrsPzjSJGNeQ7GVmfoYbqrhw==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.4.0.tgz",
+ "integrity": "sha512-NQt9QLM4Tt8qrlBVY9lkMYzfYtNz8/6qwZg8pI3cMGlPnj6mOpRxxAm7BMJN9K0AiY+1BwJ5lVC650YJqYOuNg==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0",
- "@typescript-eslint/scope-manager": "7.3.0",
- "@typescript-eslint/types": "7.3.0",
- "@typescript-eslint/typescript-estree": "7.3.0",
+ "@typescript-eslint/scope-manager": "7.4.0",
+ "@typescript-eslint/types": "7.4.0",
+ "@typescript-eslint/typescript-estree": "7.4.0",
"semver": "^7.5.4"
},
"engines": {
@@ -1211,12 +1211,12 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.3.0.tgz",
- "integrity": "sha512-Gz8Su+QjOI5qP8UQ74VqKaTt/BLy23IhCCHLbYxhmNzHCGFHrvfgq4hISZvuqQ690ubkD0746qLcWC647nScuQ==",
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.4.0.tgz",
+ "integrity": "sha512-0zkC7YM0iX5Y41homUUeW1CHtZR01K3ybjM1l6QczoMuay0XKtrb93kv95AxUGwdjGr64nNqnOCwmEl616N8CA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.3.0",
+ "@typescript-eslint/types": "7.4.0",
"eslint-visitor-keys": "^3.4.1"
},
"engines": {
@@ -6116,9 +6116,9 @@
}
},
"node_modules/typescript": {
- "version": "5.4.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz",
- "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==",
+ "version": "5.4.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz",
+ "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
diff --git a/package.json b/package.json
index 6f50a3807c..7bedb2fa34 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "codeql",
- "version": "2.24.9",
+ "version": "2.24.10",
"private": true,
"description": "CodeQL action",
"scripts": {
@@ -60,8 +60,8 @@
"@types/node": "16.11.22",
"@types/semver": "^7.5.8",
"@types/sinon": "^17.0.3",
- "@typescript-eslint/eslint-plugin": "^7.3.0",
- "@typescript-eslint/parser": "^7.3.0",
+ "@typescript-eslint/eslint-plugin": "^7.4.0",
+ "@typescript-eslint/parser": "^7.4.0",
"ava": "^5.3.1",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
@@ -73,7 +73,7 @@
"nock": "^13.5.4",
"removeNPMAbsolutePaths": "3.0.1",
"sinon": "^17.0.1",
- "typescript": "^5.4.2"
+ "typescript": "^5.4.3"
},
"overrides": {
"@actions/tool-cache": {
diff --git a/pr-checks/sync.py b/pr-checks/sync.py
index 6961c5c07a..5dc176562a 100755
--- a/pr-checks/sync.py
+++ b/pr-checks/sync.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import ruamel.yaml
-from ruamel.yaml.scalarstring import FoldedScalarString
+from ruamel.yaml.scalarstring import FoldedScalarString, SingleQuotedScalarString
import pathlib
import textwrap
@@ -46,6 +46,7 @@ def writeHeader(checkStream):
yaml = ruamel.yaml.YAML()
yaml.Representer = NonAliasingRTRepresenter
+yaml.indent(mapping=2, sequence=4, offset=2)
this_dir = pathlib.Path(__file__).resolve().parent
@@ -157,6 +158,7 @@ def writeHeader(checkStream):
'pull_request': {
'types': ["opened", "synchronize", "reopened", "ready_for_review"]
},
+ 'schedule': [{'cron': SingleQuotedScalarString('0 5 * * *')}],
'workflow_dispatch': {}
},
'jobs': {
diff --git a/src/actions-util.test.ts b/src/actions-util.test.ts
index 00070c978c..be5a686314 100644
--- a/src/actions-util.test.ts
+++ b/src/actions-util.test.ts
@@ -286,14 +286,17 @@ test("determineMergeBaseCommitOid no error", async (t) => {
process.env["GITHUB_EVENT_NAME"] = "pull_request";
process.env["GITHUB_SHA"] = "100912429fab4cb230e66ffb11e738ac5194e73a";
- await actionsUtil.determineMergeBaseCommitOid(path.join(__dirname, "../.."));
+
+ await withTmpDir(async (tmpDir) => {
+ await actionsUtil.determineMergeBaseCommitOid(tmpDir);
+ });
+
t.deepEqual(1, infoStub.callCount);
t.assert(
infoStub.firstCall.args[0].startsWith(
"The checkout path provided to the action does not appear to be a git repository.",
),
);
-
infoStub.restore();
});
diff --git a/src/analyze-action-post.ts b/src/analyze-action-post.ts
index 50a5e1fc30..f6d4d894b1 100644
--- a/src/analyze-action-post.ts
+++ b/src/analyze-action-post.ts
@@ -7,11 +7,18 @@ import * as core from "@actions/core";
import * as analyzeActionPostHelper from "./analyze-action-post-helper";
import * as debugArtifacts from "./debug-artifacts";
+import * as uploadSarifActionPostHelper from "./upload-sarif-action-post-helper";
import { wrapError } from "./util";
async function runWrapper() {
try {
await analyzeActionPostHelper.run(debugArtifacts.uploadSarifDebugArtifact);
+
+ // Also run the upload-sarif post action since we're potentially running
+ // the same steps in the analyze action.
+ await uploadSarifActionPostHelper.uploadArtifacts(
+ debugArtifacts.uploadDebugArtifacts,
+ );
} catch (error) {
core.setFailed(
`analyze post-action step failed: ${wrapError(error).message}`,
diff --git a/src/analyze-action.ts b/src/analyze-action.ts
index 03f02dd70d..5dc96f5e7f 100644
--- a/src/analyze-action.ts
+++ b/src/analyze-action.ts
@@ -74,22 +74,24 @@ async function sendStatusReport(
error?.message,
error?.stack,
);
- const report: FinishStatusReport = {
- ...statusReportBase,
- ...(stats || {}),
- ...(dbCreationTimings || {}),
- };
- if (config && didUploadTrapCaches) {
- const trapCacheUploadStatusReport: FinishWithTrapUploadStatusReport = {
- ...report,
- trap_cache_upload_duration_ms: Math.round(trapCacheUploadTime || 0),
- trap_cache_upload_size_bytes: Math.round(
- await getTotalCacheSize(config.trapCaches, logger),
- ),
+ if (statusReportBase !== undefined) {
+ const report: FinishStatusReport = {
+ ...statusReportBase,
+ ...(stats || {}),
+ ...(dbCreationTimings || {}),
};
- await statusReport.sendStatusReport(trapCacheUploadStatusReport);
- } else {
- await statusReport.sendStatusReport(report);
+ if (config && didUploadTrapCaches) {
+ const trapCacheUploadStatusReport: FinishWithTrapUploadStatusReport = {
+ ...report,
+ trap_cache_upload_duration_ms: Math.round(trapCacheUploadTime || 0),
+ trap_cache_upload_size_bytes: Math.round(
+ await getTotalCacheSize(config.trapCaches, logger),
+ ),
+ };
+ await statusReport.sendStatusReport(trapCacheUploadStatusReport);
+ } else {
+ await statusReport.sendStatusReport(report);
+ }
}
}
@@ -190,16 +192,17 @@ async function run() {
const logger = getActionsLogger();
try {
- await statusReport.sendStatusReport(
- await createStatusReportBase(
- ActionName.Analyze,
- "starting",
- startedAt,
- config,
- await util.checkDiskUsage(logger),
- logger,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.Analyze,
+ "starting",
+ startedAt,
+ config,
+ await util.checkDiskUsage(logger),
+ logger,
);
+ if (statusReportBase !== undefined) {
+ await statusReport.sendStatusReport(statusReportBase);
+ }
config = await getConfig(actionsUtil.getTemporaryDirectory(), logger);
if (config === undefined) {
diff --git a/src/api-compatibility.json b/src/api-compatibility.json
index e8b7157d92..890c05cc1d 100644
--- a/src/api-compatibility.json
+++ b/src/api-compatibility.json
@@ -1 +1 @@
-{"maximumVersion": "3.13", "minimumVersion": "3.8"}
+{"maximumVersion": "3.13", "minimumVersion": "3.9"}
diff --git a/src/autobuild-action.ts b/src/autobuild-action.ts
index 628e8fdf06..a9a90f7d3c 100644
--- a/src/autobuild-action.ts
+++ b/src/autobuild-action.ts
@@ -55,12 +55,14 @@ async function sendCompletedStatusReport(
cause?.message,
cause?.stack,
);
- const statusReport: AutobuildStatusReport = {
- ...statusReportBase,
- autobuild_languages: allLanguages.join(","),
- autobuild_failure: failingLanguage,
- };
- await sendStatusReport(statusReport);
+ if (statusReportBase !== undefined) {
+ const statusReport: AutobuildStatusReport = {
+ ...statusReportBase,
+ autobuild_languages: allLanguages.join(","),
+ autobuild_failure: failingLanguage,
+ };
+ await sendStatusReport(statusReport);
+ }
}
async function run() {
@@ -70,16 +72,17 @@ async function run() {
let currentLanguage: Language | undefined;
let languages: Language[] | undefined;
try {
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.Autobuild,
- "starting",
- startedAt,
- config,
- await checkDiskUsage(logger),
- logger,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.Autobuild,
+ "starting",
+ startedAt,
+ config,
+ await checkDiskUsage(logger),
+ logger,
);
+ if (statusReportBase !== undefined) {
+ await sendStatusReport(statusReportBase);
+ }
const gitHubVersion = await getGitHubVersion();
checkGitHubVersionInRange(gitHubVersion, logger);
diff --git a/src/codeql.test.ts b/src/codeql.test.ts
index d50e769b21..5aab32be1d 100644
--- a/src/codeql.test.ts
+++ b/src/codeql.test.ts
@@ -29,6 +29,7 @@ import {
makeVersionInfo,
createTestConfig,
} from "./testing-utils";
+import { ToolsFeature } from "./tools-features";
import * as util from "./util";
import { initializeEnvironment } from "./util";
@@ -772,33 +773,34 @@ test("does not pass a qlconfig to the CLI when it is undefined", async (t: Execu
const NEW_ANALYSIS_SUMMARY_TEST_CASES = [
{
- codeqlVersion: "2.15.0",
+ codeqlVersion: makeVersionInfo("2.15.0", {
+ [ToolsFeature.AnalysisSummaryV2IsDefault]: true,
+ }),
githubVersion: {
type: util.GitHubVariant.DOTCOM,
},
- flagPassed: true,
+ flagPassed: false,
negativeFlagPassed: false,
},
{
- codeqlVersion: "2.15.0",
+ codeqlVersion: makeVersionInfo("2.15.0"),
githubVersion: {
- type: util.GitHubVariant.GHES,
- version: "3.9.0",
+ type: util.GitHubVariant.DOTCOM,
},
flagPassed: true,
negativeFlagPassed: false,
},
{
- codeqlVersion: "2.15.0",
+ codeqlVersion: makeVersionInfo("2.15.0"),
githubVersion: {
type: util.GitHubVariant.GHES,
- version: "3.8.6",
+ version: "3.9.0",
},
- flagPassed: false,
- negativeFlagPassed: true,
+ flagPassed: true,
+ negativeFlagPassed: false,
},
{
- codeqlVersion: "2.14.6",
+ codeqlVersion: makeVersionInfo("2.14.6"),
githubVersion: {
type: util.GitHubVariant.DOTCOM,
},
@@ -819,14 +821,12 @@ for (const {
: negativeFlagPassed
? "--no-new-analysis-summary"
: "nothing"
- } for CodeQL CLI v${codeqlVersion} and ${
+ } for CodeQL version ${JSON.stringify(codeqlVersion)} and ${
util.GitHubVariant[githubVersion.type]
} ${githubVersion.version ? ` ${githubVersion.version}` : ""}`, async (t) => {
const runnerConstructorStub = stubToolRunnerConstructor();
const codeqlObject = await codeql.getCodeQLForTesting();
- sinon
- .stub(codeqlObject, "getVersion")
- .resolves(makeVersionInfo(codeqlVersion));
+ sinon.stub(codeqlObject, "getVersion").resolves(codeqlVersion);
// safeWhich throws because of the test CodeQL object.
sinon.stub(safeWhich, "safeWhich").resolves("");
await codeqlObject.databaseInterpretResults(
diff --git a/src/codeql.ts b/src/codeql.ts
index a6d203d1c0..927b64d3d7 100644
--- a/src/codeql.ts
+++ b/src/codeql.ts
@@ -50,6 +50,10 @@ interface ExtraOptions {
extractor?: Options;
queries?: Options;
};
+ github?: {
+ "*"?: Options;
+ "merge-results"?: Options;
+ };
}
export interface CodeQL {
@@ -191,6 +195,14 @@ export interface CodeQL {
): Promise;
/** Get the location of an extractor for the specified language. */
resolveExtractor(language: Language): Promise;
+ /**
+ * Run 'codeql github merge-results'.
+ */
+ mergeResults(
+ sarifFiles: string[],
+ outputFile: string,
+ options: { mergeRunsFromEqualCategory?: boolean },
+ ): Promise;
}
export interface VersionInfo {
@@ -268,17 +280,17 @@ const CODEQL_MINIMUM_VERSION = "2.11.6";
/**
* This version will shortly become the oldest version of CodeQL that the Action will run with.
*/
-const CODEQL_NEXT_MINIMUM_VERSION = "2.11.6";
+const CODEQL_NEXT_MINIMUM_VERSION = "2.12.6";
/**
* This is the version of GHES that was most recently deprecated.
*/
-const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.7";
+const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.8";
/**
* This is the deprecation date for the version of GHES that was most recently deprecated.
*/
-const GHES_MOST_RECENT_DEPRECATION_DATE = "2023-11-08";
+const GHES_MOST_RECENT_DEPRECATION_DATE = "2024-03-26";
/** The CLI verbosity level to use for extraction in debug mode. */
const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++";
@@ -489,6 +501,7 @@ export function setCodeQL(partialCodeql: Partial): CodeQL {
),
diagnosticsExport: resolveFunction(partialCodeql, "diagnosticsExport"),
resolveExtractor: resolveFunction(partialCodeql, "resolveExtractor"),
+ mergeResults: resolveFunction(partialCodeql, "mergeResults"),
};
return cachedCodeQL;
}
@@ -877,20 +890,16 @@ export async function getCodeQLForCmd(
codeqlArgs.push("--no-sarif-include-diagnostics");
}
if (
- // Analysis summary v2 links to the status page, so check the GHES version we're running on
- // supports the status page.
- (config.gitHubVersion.type !== util.GitHubVariant.GHES ||
- semver.gte(config.gitHubVersion.version, "3.9.0")) &&
(await util.codeQlVersionAbove(
this,
CODEQL_VERSION_ANALYSIS_SUMMARY_V2,
- ))
+ )) &&
+ !isSupportedToolsFeature(
+ await this.getVersion(),
+ ToolsFeature.AnalysisSummaryV2IsDefault,
+ )
) {
codeqlArgs.push("--new-analysis-summary");
- } else if (
- await util.codeQlVersionAbove(this, CODEQL_VERSION_ANALYSIS_SUMMARY_V2)
- ) {
- codeqlArgs.push("--no-new-analysis-summary");
}
codeqlArgs.push(databasePath);
if (querySuitePaths) {
@@ -1077,6 +1086,31 @@ export async function getCodeQLForCmd(
).exec();
return JSON.parse(extractorPath);
},
+ async mergeResults(
+ sarifFiles: string[],
+ outputFile: string,
+ {
+ mergeRunsFromEqualCategory = false,
+ }: { mergeRunsFromEqualCategory?: boolean },
+ ): Promise {
+ const args = [
+ "github",
+ "merge-results",
+ "--output",
+ outputFile,
+ ...getExtraOptionsFromEnv(["github", "merge-results"]),
+ ];
+
+ for (const sarifFile of sarifFiles) {
+ args.push("--sarif", sarifFile);
+ }
+
+ if (mergeRunsFromEqualCategory) {
+ args.push("--sarif-merge-runs-from-equal-category");
+ }
+
+ await runTool(cmd, args);
+ },
};
// To ensure that status reports include the CodeQL CLI version wherever
// possible, we want to call getVersion(), which populates the version value
@@ -1110,8 +1144,9 @@ export async function getCodeQLForCmd(
"version of the CLI using the 'tools' input to the 'init' Action, you can remove this " +
"input to use the default version.\n\n" +
"Alternatively, if you want to continue using CodeQL CLI version " +
- `${result.version}, you can replace 'github/codeql-action/*@v2' by ` +
- `'github/codeql-action/*@v${getActionVersion()}' in your code scanning workflow to ` +
+ `${result.version}, you can replace 'github/codeql-action/*@v${
+ getActionVersion().split(".")[0]
+ }' by 'github/codeql-action/*@v${getActionVersion()}' in your code scanning workflow to ` +
"continue using this version of the CodeQL Action.",
);
core.exportVariable(EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
diff --git a/src/defaults.json b/src/defaults.json
index be3576afe2..c318f7890e 100644
--- a/src/defaults.json
+++ b/src/defaults.json
@@ -1,6 +1,6 @@
{
- "bundleVersion": "codeql-bundle-v2.16.5",
- "cliVersion": "2.16.5",
- "priorBundleVersion": "codeql-bundle-v2.16.4",
- "priorCliVersion": "2.16.4"
+ "bundleVersion": "codeql-bundle-v2.17.0",
+ "cliVersion": "2.17.0",
+ "priorBundleVersion": "codeql-bundle-v2.16.5",
+ "priorCliVersion": "2.16.5"
}
diff --git a/src/feature-flags.ts b/src/feature-flags.ts
index e95d1737a1..2f4c75d599 100644
--- a/src/feature-flags.ts
+++ b/src/feature-flags.ts
@@ -44,6 +44,7 @@ export interface FeatureEnablement {
* Each value of this enum should end with `_enabled`.
*/
export enum Feature {
+ CliSarifMerge = "cli_sarif_merge_enabled",
CppDependencyInstallation = "cpp_dependency_installation_enabled",
CppTrapCachingEnabled = "cpp_trap_caching_enabled",
DisableJavaBuildlessEnabled = "disable_java_buildless_enabled",
@@ -58,6 +59,12 @@ export const featureConfig: Record<
Feature,
{ envVar: string; minimumVersion: string | undefined; defaultValue: boolean }
> = {
+ [Feature.CliSarifMerge]: {
+ envVar: "CODEQL_ACTION_CLI_SARIF_MERGE",
+ // This is guarded by a `supportsFeature` check rather than by a version check.
+ minimumVersion: undefined,
+ defaultValue: false,
+ },
[Feature.CppDependencyInstallation]: {
envVar: "CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES",
minimumVersion: "2.15.0",
diff --git a/src/fingerprints.ts b/src/fingerprints.ts
index 7b4421cbfe..90d5d83501 100644
--- a/src/fingerprints.ts
+++ b/src/fingerprints.ts
@@ -259,6 +259,9 @@ export async function addFingerprints(
sourceRoot: string,
logger: Logger,
): Promise {
+ logger.info(
+ "Adding fingerprints to SARIF file. For more information, see https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs",
+ );
// Gather together results for the same file and construct
// callbacks to accept hashes for that file and update the location
const callbacksByFile: { [filename: string]: hashCallback[] } = {};
diff --git a/src/init-action-post.ts b/src/init-action-post.ts
index 643f235dbd..19f839030e 100644
--- a/src/init-action-post.ts
+++ b/src/init-action-post.ts
@@ -76,18 +76,19 @@ async function runWrapper() {
const error = wrapError(unwrappedError);
core.setFailed(error.message);
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.InitPost,
- getActionsStatus(error),
- startedAt,
- config,
- await checkDiskUsage(),
- logger,
- error.message,
- error.stack,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.InitPost,
+ getActionsStatus(error),
+ startedAt,
+ config,
+ await checkDiskUsage(),
+ logger,
+ error.message,
+ error.stack,
);
+ if (statusReportBase !== undefined) {
+ await sendStatusReport(statusReportBase);
+ }
return;
}
const jobStatus = initActionPostHelper.getFinalJobStatus();
@@ -101,12 +102,14 @@ async function runWrapper() {
await checkDiskUsage(),
logger,
);
- const statusReport: InitPostStatusReport = {
- ...statusReportBase,
- ...uploadFailedSarifResult,
- job_status: initActionPostHelper.getFinalJobStatus(),
- };
- await sendStatusReport(statusReport);
+ if (statusReportBase !== undefined) {
+ const statusReport: InitPostStatusReport = {
+ ...statusReportBase,
+ ...uploadFailedSarifResult,
+ job_status: initActionPostHelper.getFinalJobStatus(),
+ };
+ await sendStatusReport(statusReport);
+ }
}
void runWrapper();
diff --git a/src/init-action.ts b/src/init-action.ts
index 21982a65fb..b6cd8a477e 100644
--- a/src/init-action.ts
+++ b/src/init-action.ts
@@ -120,6 +120,10 @@ async function sendCompletedStatusReport(
error?.stack,
);
+ if (statusReportBase === undefined) {
+ return;
+ }
+
const workflowLanguages = getOptionalInput("languages");
const initStatusReport: InitStatusReport = {
@@ -226,17 +230,17 @@ async function run() {
core.exportVariable(EnvVar.INIT_ACTION_HAS_RUN, "true");
try {
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.Init,
- "starting",
- startedAt,
- config,
- await checkDiskUsage(logger),
- logger,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.Init,
+ "starting",
+ startedAt,
+ config,
+ await checkDiskUsage(logger),
+ logger,
);
-
+ if (statusReportBase !== undefined) {
+ await sendStatusReport(statusReportBase);
+ }
const codeQLDefaultVersionInfo = await features.getDefaultCliVersion(
gitHubVersion.type,
);
@@ -315,18 +319,19 @@ async function run() {
} catch (unwrappedError) {
const error = wrapError(unwrappedError);
core.setFailed(error.message);
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.Init,
- error instanceof ConfigurationError ? "user-error" : "aborted",
- startedAt,
- config,
- await checkDiskUsage(),
- logger,
- error.message,
- error.stack,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.Init,
+ error instanceof ConfigurationError ? "user-error" : "aborted",
+ startedAt,
+ config,
+ await checkDiskUsage(),
+ logger,
+ error.message,
+ error.stack,
);
+ if (statusReportBase !== undefined) {
+ await sendStatusReport(statusReportBase);
+ }
return;
}
diff --git a/src/resolve-environment-action.ts b/src/resolve-environment-action.ts
index 231809bedb..f5f74957f2 100644
--- a/src/resolve-environment-action.ts
+++ b/src/resolve-environment-action.ts
@@ -34,16 +34,17 @@ async function run() {
let config: Config | undefined;
try {
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.ResolveEnvironment,
- "starting",
- startedAt,
- config,
- await checkDiskUsage(),
- logger,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.ResolveEnvironment,
+ "starting",
+ startedAt,
+ config,
+ await checkDiskUsage(),
+ logger,
);
+ if (statusReportBase !== undefined) {
+ await sendStatusReport(statusReportBase);
+ }
const gitHubVersion = await getGitHubVersion();
checkGitHubVersionInRange(gitHubVersion, logger);
@@ -80,33 +81,35 @@ async function run() {
`Failed to resolve a build environment suitable for automatically building your code. ${error.message}`,
);
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.ResolveEnvironment,
- getActionsStatus(error),
- startedAt,
- config,
- await checkDiskUsage(),
- logger,
- error.message,
- error.stack,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.ResolveEnvironment,
+ getActionsStatus(error),
+ startedAt,
+ config,
+ await checkDiskUsage(),
+ logger,
+ error.message,
+ error.stack,
);
+ if (statusReportBase !== undefined) {
+ await sendStatusReport(statusReportBase);
+ }
}
return;
}
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.ResolveEnvironment,
- "success",
- startedAt,
- config,
- await checkDiskUsage(),
- logger,
- ),
+ const statusReportBase = await createStatusReportBase(
+ ActionName.ResolveEnvironment,
+ "success",
+ startedAt,
+ config,
+ await checkDiskUsage(),
+ logger,
);
+ if (statusReportBase !== undefined) {
+ await sendStatusReport(statusReportBase);
+ }
}
async function runWrapper() {
diff --git a/src/status-report.test.ts b/src/status-report.test.ts
index a0e235b14b..dbe3c7cc75 100644
--- a/src/status-report.test.ts
+++ b/src/status-report.test.ts
@@ -51,32 +51,35 @@ test("createStatusReportBase", async (t) => {
"failure cause",
"exception stack trace",
);
+ t.truthy(statusReport);
- t.is(statusReport.action_name, ActionName.Init);
- t.is(statusReport.action_oid, "unknown");
- t.is(typeof statusReport.action_version, "string");
- t.is(
- statusReport.action_started_at,
- new Date("May 19, 2023 05:19:00").toISOString(),
- );
- t.is(statusReport.actions_event_name, "dynamic");
- t.is(statusReport.analysis_key, "analysis-key");
- t.is(statusReport.build_mode, BuildMode.None);
- t.is(statusReport.cause, "failure cause");
- t.is(statusReport.commit_oid, process.env["GITHUB_SHA"]!);
- t.is(statusReport.exception, "exception stack trace");
- t.is(statusReport.job_name, process.env["GITHUB_JOB"] || "");
- t.is(typeof statusReport.job_run_uuid, "string");
- t.is(statusReport.languages, "java,swift");
- t.is(statusReport.ref, process.env["GITHUB_REF"]!);
- t.is(statusReport.runner_available_disk_space_bytes, 100);
- t.is(statusReport.runner_image_version, process.env["ImageVersion"]);
- t.is(statusReport.runner_os, process.env["RUNNER_OS"]!);
- t.is(statusReport.started_at, process.env[EnvVar.WORKFLOW_STARTED_AT]!);
- t.is(statusReport.status, "failure");
- t.is(statusReport.workflow_name, process.env["GITHUB_WORKFLOW"] || "");
- t.is(statusReport.workflow_run_attempt, 2);
- t.is(statusReport.workflow_run_id, 100);
+ if (statusReport !== undefined) {
+ t.is(statusReport.action_name, ActionName.Init);
+ t.is(statusReport.action_oid, "unknown");
+ t.is(typeof statusReport.action_version, "string");
+ t.is(
+ statusReport.action_started_at,
+ new Date("May 19, 2023 05:19:00").toISOString(),
+ );
+ t.is(statusReport.actions_event_name, "dynamic");
+ t.is(statusReport.analysis_key, "analysis-key");
+ t.is(statusReport.build_mode, BuildMode.None);
+ t.is(statusReport.cause, "failure cause");
+ t.is(statusReport.commit_oid, process.env["GITHUB_SHA"]!);
+ t.is(statusReport.exception, "exception stack trace");
+ t.is(statusReport.job_name, process.env["GITHUB_JOB"] || "");
+ t.is(typeof statusReport.job_run_uuid, "string");
+ t.is(statusReport.languages, "java,swift");
+ t.is(statusReport.ref, process.env["GITHUB_REF"]!);
+ t.is(statusReport.runner_available_disk_space_bytes, 100);
+ t.is(statusReport.runner_image_version, process.env["ImageVersion"]);
+ t.is(statusReport.runner_os, process.env["RUNNER_OS"]!);
+ t.is(statusReport.started_at, process.env[EnvVar.WORKFLOW_STARTED_AT]!);
+ t.is(statusReport.status, "failure");
+ t.is(statusReport.workflow_name, process.env["GITHUB_WORKFLOW"] || "");
+ t.is(statusReport.workflow_run_attempt, 2);
+ t.is(statusReport.workflow_run_id, 100);
+ }
});
});
@@ -96,7 +99,7 @@ test("createStatusReportBase_firstParty", async (t) => {
"failure cause",
"exception stack trace",
)
- ).first_party_analysis,
+ )?.first_party_analysis,
false,
);
@@ -112,7 +115,7 @@ test("createStatusReportBase_firstParty", async (t) => {
"failure cause",
"exception stack trace",
)
- ).first_party_analysis,
+ )?.first_party_analysis,
true,
);
@@ -129,7 +132,7 @@ test("createStatusReportBase_firstParty", async (t) => {
"failure cause",
"exception stack trace",
)
- ).first_party_analysis,
+ )?.first_party_analysis,
false,
);
@@ -145,7 +148,7 @@ test("createStatusReportBase_firstParty", async (t) => {
"failure cause",
"exception stack trace",
)
- ).first_party_analysis,
+ )?.first_party_analysis,
true,
);
@@ -162,7 +165,7 @@ test("createStatusReportBase_firstParty", async (t) => {
"failure cause",
"exception stack trace",
)
- ).first_party_analysis,
+ )?.first_party_analysis,
true,
);
@@ -178,7 +181,7 @@ test("createStatusReportBase_firstParty", async (t) => {
"failure cause",
"exception stack trace",
)
- ).first_party_analysis,
+ )?.first_party_analysis,
true,
);
});
diff --git a/src/status-report.ts b/src/status-report.ts
index fba326a583..dac97b37f0 100644
--- a/src/status-report.ts
+++ b/src/status-report.ts
@@ -233,6 +233,7 @@ export interface EventReport {
* @param startedAt The time this action started executing.
* @param cause Cause of failure (only supply if status is 'failure')
* @param exception Exception (only supply if status is 'failure')
+ * @returns undefined if an exception was thrown.
*/
export async function createStatusReportBase(
actionName: ActionName,
@@ -243,103 +244,112 @@ export async function createStatusReportBase(
logger: Logger,
cause?: string,
exception?: string,
-): Promise {
- const commitOid = getOptionalInput("sha") || process.env["GITHUB_SHA"] || "";
- const ref = await getRef();
- const jobRunUUID = process.env[EnvVar.JOB_RUN_UUID] || "";
- const workflowRunID = getWorkflowRunID();
- const workflowRunAttempt = getWorkflowRunAttempt();
- const workflowName = process.env["GITHUB_WORKFLOW"] || "";
- const jobName = process.env["GITHUB_JOB"] || "";
- const analysis_key = await getAnalysisKey();
- let workflowStartedAt = process.env[EnvVar.WORKFLOW_STARTED_AT];
- if (workflowStartedAt === undefined) {
- workflowStartedAt = actionStartedAt.toISOString();
- core.exportVariable(EnvVar.WORKFLOW_STARTED_AT, workflowStartedAt);
- }
- const runnerOs = getRequiredEnvParam("RUNNER_OS");
- const codeQlCliVersion = getCachedCodeQlVersion();
- const actionRef = process.env["GITHUB_ACTION_REF"];
- const testingEnvironment = process.env[EnvVar.TESTING_ENVIRONMENT] || "";
- // re-export the testing environment variable so that it is available to subsequent steps,
- // even if it was only set for this step
- if (testingEnvironment !== "") {
- core.exportVariable(EnvVar.TESTING_ENVIRONMENT, testingEnvironment);
- }
+): Promise {
+ try {
+ const commitOid =
+ getOptionalInput("sha") || process.env["GITHUB_SHA"] || "";
+ const ref = await getRef();
+ const jobRunUUID = process.env[EnvVar.JOB_RUN_UUID] || "";
+ const workflowRunID = getWorkflowRunID();
+ const workflowRunAttempt = getWorkflowRunAttempt();
+ const workflowName = process.env["GITHUB_WORKFLOW"] || "";
+ const jobName = process.env["GITHUB_JOB"] || "";
+ const analysis_key = await getAnalysisKey();
+ let workflowStartedAt = process.env[EnvVar.WORKFLOW_STARTED_AT];
+ if (workflowStartedAt === undefined) {
+ workflowStartedAt = actionStartedAt.toISOString();
+ core.exportVariable(EnvVar.WORKFLOW_STARTED_AT, workflowStartedAt);
+ }
+ const runnerOs = getRequiredEnvParam("RUNNER_OS");
+ const codeQlCliVersion = getCachedCodeQlVersion();
+ const actionRef = process.env["GITHUB_ACTION_REF"] || "";
+ const testingEnvironment = process.env[EnvVar.TESTING_ENVIRONMENT] || "";
+ // re-export the testing environment variable so that it is available to subsequent steps,
+ // even if it was only set for this step
+ if (testingEnvironment !== "") {
+ core.exportVariable(EnvVar.TESTING_ENVIRONMENT, testingEnvironment);
+ }
- const statusReport: StatusReportBase = {
- action_name: actionName,
- action_oid: "unknown", // TODO decide if it's possible to fill this in
- action_ref: actionRef,
- action_started_at: actionStartedAt.toISOString(),
- action_version: getActionVersion(),
- analysis_key,
- build_mode: config?.buildMode,
- commit_oid: commitOid,
- first_party_analysis: isFirstPartyAnalysis(actionName),
- job_name: jobName,
- job_run_uuid: jobRunUUID,
- ref,
- runner_os: runnerOs,
- started_at: workflowStartedAt,
- status,
- testing_environment: testingEnvironment,
- workflow_name: workflowName,
- workflow_run_attempt: workflowRunAttempt,
- workflow_run_id: workflowRunID,
- };
+ const statusReport: StatusReportBase = {
+ action_name: actionName,
+ action_oid: "unknown", // TODO decide if it's possible to fill this in
+ action_ref: actionRef,
+ action_started_at: actionStartedAt.toISOString(),
+ action_version: getActionVersion(),
+ analysis_key,
+ build_mode: config?.buildMode,
+ commit_oid: commitOid,
+ first_party_analysis: isFirstPartyAnalysis(actionName),
+ job_name: jobName,
+ job_run_uuid: jobRunUUID,
+ ref,
+ runner_os: runnerOs,
+ started_at: workflowStartedAt,
+ status,
+ testing_environment: testingEnvironment,
+ workflow_name: workflowName,
+ workflow_run_attempt: workflowRunAttempt,
+ workflow_run_id: workflowRunID,
+ };
- try {
- statusReport.actions_event_name = getWorkflowEventName();
- } catch (e) {
- logger.warning(`Could not determine the workflow event name: ${e}.`);
- }
+ try {
+ statusReport.actions_event_name = getWorkflowEventName();
+ } catch (e) {
+ logger.warning(`Could not determine the workflow event name: ${e}.`);
+ }
- if (config) {
- statusReport.languages = config.languages.join(",");
- }
+ if (config) {
+ statusReport.languages = config.languages.join(",");
+ }
- if (diskInfo) {
- statusReport.runner_available_disk_space_bytes = diskInfo.numAvailableBytes;
- statusReport.runner_total_disk_space_bytes = diskInfo.numTotalBytes;
- }
+ if (diskInfo) {
+ statusReport.runner_available_disk_space_bytes =
+ diskInfo.numAvailableBytes;
+ statusReport.runner_total_disk_space_bytes = diskInfo.numTotalBytes;
+ }
- // Add optional parameters
- if (cause) {
- statusReport.cause = cause;
- }
- if (exception) {
- statusReport.exception = exception;
- }
- if (
- status === "success" ||
- status === "failure" ||
- status === "aborted" ||
- status === "user-error"
- ) {
- statusReport.completed_at = new Date().toISOString();
- }
- const matrix = getRequiredInput("matrix");
- if (matrix) {
- statusReport.matrix_vars = matrix;
- }
- if ("RUNNER_ARCH" in process.env) {
- // RUNNER_ARCH is available only in GHES 3.4 and later
- // Values other than X86, X64, ARM, or ARM64 are discarded server side
- statusReport.runner_arch = process.env["RUNNER_ARCH"];
- }
- if (runnerOs === "Windows" || runnerOs === "macOS") {
- statusReport.runner_os_release = os.release();
- }
- if (codeQlCliVersion !== undefined) {
- statusReport.codeql_version = codeQlCliVersion.version;
- }
- const imageVersion = process.env["ImageVersion"];
- if (imageVersion) {
- statusReport.runner_image_version = imageVersion;
- }
+ // Add optional parameters
+ if (cause) {
+ statusReport.cause = cause;
+ }
+ if (exception) {
+ statusReport.exception = exception;
+ }
+ if (
+ status === "success" ||
+ status === "failure" ||
+ status === "aborted" ||
+ status === "user-error"
+ ) {
+ statusReport.completed_at = new Date().toISOString();
+ }
+ const matrix = getRequiredInput("matrix");
+ if (matrix) {
+ statusReport.matrix_vars = matrix;
+ }
+ if ("RUNNER_ARCH" in process.env) {
+ // RUNNER_ARCH is available only in GHES 3.4 and later
+ // Values other than X86, X64, ARM, or ARM64 are discarded server side
+ statusReport.runner_arch = process.env["RUNNER_ARCH"];
+ }
+ if (runnerOs === "Windows" || runnerOs === "macOS") {
+ statusReport.runner_os_release = os.release();
+ }
+ if (codeQlCliVersion !== undefined) {
+ statusReport.codeql_version = codeQlCliVersion.version;
+ }
+ const imageVersion = process.env["ImageVersion"];
+ if (imageVersion) {
+ statusReport.runner_image_version = imageVersion;
+ }
- return statusReport;
+ return statusReport;
+ } catch (e) {
+ logger.warning(
+ `Caught an exception while gathering information for telemetry: ${e}. Will skip sending status report.`,
+ );
+ return undefined;
+ }
}
const OUT_OF_DATE_MSG =
diff --git a/src/tools-features.ts b/src/tools-features.ts
index d26e052c54..2a068e8a9e 100644
--- a/src/tools-features.ts
+++ b/src/tools-features.ts
@@ -1,11 +1,13 @@
import type { VersionInfo } from "./codeql";
export enum ToolsFeature {
+ AnalysisSummaryV2IsDefault = "analysisSummaryV2Default",
BuildModeOption = "buildModeOption",
IndirectTracingSupportsStaticBinaries = "indirectTracingSupportsStaticBinaries",
InformsAboutUnsupportedPathFilters = "informsAboutUnsupportedPathFilters",
SetsCodeqlRunnerEnvVar = "setsCodeqlRunnerEnvVar",
TraceCommandUseBuildMode = "traceCommandUseBuildMode",
+ SarifMergeRunsFromEqualCategory = "sarifMergeRunsFromEqualCategory",
}
/**
diff --git a/src/upload-lib.test.ts b/src/upload-lib.test.ts
index cb3e1bdfa3..460e9065d7 100644
--- a/src/upload-lib.test.ts
+++ b/src/upload-lib.test.ts
@@ -42,6 +42,7 @@ test("validate correct payload used for push, PR merge commit, and PR head", asy
undefined,
["CodeQL", "eslint"],
"mergeBaseCommit",
+ getRunnerLogger(true),
);
// Not triggered by a pull request
t.falsy(pushPayload.base_ref);
@@ -65,6 +66,7 @@ test("validate correct payload used for push, PR merge commit, and PR head", asy
undefined,
["CodeQL", "eslint"],
"mergeBaseCommit",
+ getRunnerLogger(true),
);
// Uploads for a merge commit use the merge base
t.deepEqual(prMergePayload.base_ref, "refs/heads/master");
@@ -82,6 +84,7 @@ test("validate correct payload used for push, PR merge commit, and PR head", asy
undefined,
["CodeQL", "eslint"],
"mergeBaseCommit",
+ getRunnerLogger(true),
);
// Uploads for the head use the PR base
t.deepEqual(prHeadPayload.base_ref, "refs/heads/master");
@@ -317,9 +320,9 @@ test("accept results with invalid artifactLocation.uri value", (t) => {
const sarifFile = `${__dirname}/../src/testdata/with-invalid-uri.sarif`;
uploadLib.validateSarifFileSchema(sarifFile, mockLogger);
- t.deepEqual(loggedMessages.length, 1);
+ t.deepEqual(loggedMessages.length, 2);
t.deepEqual(
- loggedMessages[0],
+ loggedMessages[1],
"Warning: 'not a valid URI' is not a valid URI in 'instance.runs[0].results[0].locations[0].physicalLocation.artifactLocation.uri'.",
);
});
diff --git a/src/upload-lib.ts b/src/upload-lib.ts
index cdd3e7d513..cc104e057d 100644
--- a/src/upload-lib.ts
+++ b/src/upload-lib.ts
@@ -8,13 +8,26 @@ import fileUrl from "file-url";
import * as jsonschema from "jsonschema";
import * as actionsUtil from "./actions-util";
+import { getOptionalInput, getRequiredInput } from "./actions-util";
import * as api from "./api-client";
+import { getGitHubVersion } from "./api-client";
+import { CodeQL, getCodeQL } from "./codeql";
+import { getConfig } from "./config-utils";
import { EnvVar } from "./environment";
+import { Feature, Features } from "./feature-flags";
import * as fingerprints from "./fingerprints";
+import { initCodeQL } from "./init";
import { Logger } from "./logging";
import { parseRepositoryNwo, RepositoryNwo } from "./repository";
+import { ToolsFeature } from "./tools-features";
import * as util from "./util";
-import { SarifFile, ConfigurationError, wrapError } from "./util";
+import {
+ ConfigurationError,
+ getRequiredEnvParam,
+ GitHubVersion,
+ SarifFile,
+ wrapError,
+} from "./util";
const GENERIC_403_MSG =
"The repo on which this action is running has not opted-in to CodeQL code scanning.";
@@ -23,13 +36,15 @@ const GENERIC_404_MSG =
// Takes a list of paths to sarif files and combines them together,
// returning the contents of the combined sarif file.
-function combineSarifFiles(sarifFiles: string[]): SarifFile {
+function combineSarifFiles(sarifFiles: string[], logger: Logger): SarifFile {
+ logger.info(`Loading SARIF file(s)`);
const combinedSarif: SarifFile = {
version: null,
runs: [],
};
for (const sarifFile of sarifFiles) {
+ logger.debug(`Loading SARIF file: ${sarifFile}`);
const sarifObject = JSON.parse(
fs.readFileSync(sarifFile, "utf8"),
) as SarifFile;
@@ -48,6 +63,108 @@ function combineSarifFiles(sarifFiles: string[]): SarifFile {
return combinedSarif;
}
+/**
+ * Checks whether all the runs in the given SARIF files were produced by CodeQL.
+ * @param sarifFiles The list of SARIF files to check.
+ */
+function areAllRunsProducedByCodeQL(sarifFiles: string[]): boolean {
+ return sarifFiles.every((sarifFile) => {
+ const sarifObject = JSON.parse(
+ fs.readFileSync(sarifFile, "utf8"),
+ ) as SarifFile;
+
+ return sarifObject.runs?.every(
+ (run) => run.tool?.driver?.name === "CodeQL",
+ );
+ });
+}
+
+// Takes a list of paths to sarif files and combines them together using the
+// CLI `github merge-results` command when all SARIF files are produced by
+// CodeQL. Otherwise, it will fall back to combining the files in the action.
+// Returns the contents of the combined sarif file.
+async function combineSarifFilesUsingCLI(
+ sarifFiles: string[],
+ gitHubVersion: GitHubVersion,
+ features: Features,
+ logger: Logger,
+): Promise {
+ logger.info("Combining SARIF files using the CodeQL CLI");
+ if (sarifFiles.length === 1) {
+ return JSON.parse(fs.readFileSync(sarifFiles[0], "utf8")) as SarifFile;
+ }
+
+ if (!areAllRunsProducedByCodeQL(sarifFiles)) {
+ logger.debug(
+ "Not all SARIF files were produced by CodeQL. Merging files in the action.",
+ );
+
+ // If not, use the naive method of combining the files.
+ return combineSarifFiles(sarifFiles, logger);
+ }
+
+ // Initialize CodeQL, either by using the config file from the 'init' step,
+ // or by initializing it here.
+ let codeQL: CodeQL;
+ let tempDir: string = actionsUtil.getTemporaryDirectory();
+
+ const config = await getConfig(tempDir, logger);
+ if (config !== undefined) {
+ codeQL = await getCodeQL(config.codeQLCmd);
+ tempDir = config.tempDir;
+ } else {
+ logger.info(
+ "Initializing CodeQL since the 'init' Action was not called before this step.",
+ );
+
+ const apiDetails = {
+ auth: getRequiredInput("token"),
+ externalRepoAuth: getOptionalInput("external-repository-token"),
+ url: getRequiredEnvParam("GITHUB_SERVER_URL"),
+ apiURL: getRequiredEnvParam("GITHUB_API_URL"),
+ };
+
+ const codeQLDefaultVersionInfo = await features.getDefaultCliVersion(
+ gitHubVersion.type,
+ );
+
+ const initCodeQLResult = await initCodeQL(
+ undefined, // There is no tools input on the upload action
+ apiDetails,
+ tempDir,
+ gitHubVersion.type,
+ codeQLDefaultVersionInfo,
+ logger,
+ );
+
+ codeQL = initCodeQLResult.codeql;
+ }
+
+ if (
+ !(await codeQL.supportsFeature(
+ ToolsFeature.SarifMergeRunsFromEqualCategory,
+ ))
+ ) {
+ logger.warning(
+ "The CodeQL CLI does not support merging SARIF files. Merging files in the action.",
+ );
+
+ return combineSarifFiles(sarifFiles, logger);
+ }
+
+ const baseTempDir = path.resolve(tempDir, "combined-sarif");
+ fs.mkdirSync(baseTempDir, { recursive: true });
+ const outputDirectory = fs.mkdtempSync(path.resolve(baseTempDir, "output-"));
+
+ const outputFile = path.resolve(outputDirectory, "combined-sarif.sarif");
+
+ await codeQL.mergeResults(sarifFiles, outputFile, {
+ mergeRunsFromEqualCategory: true,
+ });
+
+ return JSON.parse(fs.readFileSync(outputFile, "utf8")) as SarifFile;
+}
+
// Populates the run.automationDetails.id field using the analysis_key and environment
// and return an updated sarif file contents.
export function populateRunAutomationDetails(
@@ -242,6 +359,7 @@ function countResultsInSarif(sarif: string): number {
// Validates that the given file path refers to a valid SARIF file.
// Throws an error if the file is invalid.
export function validateSarifFileSchema(sarifFilePath: string, logger: Logger) {
+ logger.info(`Validating ${sarifFilePath}`);
let sarif;
try {
sarif = JSON.parse(fs.readFileSync(sarifFilePath, "utf8")) as SarifFile;
@@ -301,7 +419,9 @@ export function buildPayload(
environment: string | undefined,
toolNames: string[],
mergeBaseCommitOid: string | undefined,
+ logger: Logger,
) {
+ logger.info(`Combining SARIF files using CLI`);
const payloadObj = {
commit_oid: commitOid,
ref,
@@ -363,12 +483,27 @@ async function uploadFiles(
logger.startGroup("Uploading results");
logger.info(`Processing sarif files: ${JSON.stringify(sarifFiles)}`);
+ const gitHubVersion = await getGitHubVersion();
+ const features = new Features(
+ gitHubVersion,
+ repositoryNwo,
+ actionsUtil.getTemporaryDirectory(),
+ logger,
+ );
+
// Validate that the files we were asked to upload are all valid SARIF files
for (const file of sarifFiles) {
validateSarifFileSchema(file, logger);
}
- let sarif = combineSarifFiles(sarifFiles);
+ let sarif = (await features.getValue(Feature.CliSarifMerge))
+ ? await combineSarifFilesUsingCLI(
+ sarifFiles,
+ gitHubVersion,
+ features,
+ logger,
+ )
+ : combineSarifFiles(sarifFiles, logger);
sarif = await fingerprints.addFingerprints(sarif, sourceRoot, logger);
sarif = populateRunAutomationDetails(
@@ -380,8 +515,11 @@ async function uploadFiles(
const toolNames = util.getToolNames(sarif);
+ logger.debug(`Validating that each SARIF run has a unique category`);
validateUniqueCategory(sarif);
+ logger.debug(`Serializing SARIF for upload`);
const sarifPayload = JSON.stringify(sarif);
+ logger.debug(`Compressing serialized SARIF`);
const zippedSarif = zlib.gzipSync(sarifPayload).toString("base64");
const checkoutURI = fileUrl(sourceRoot);
@@ -397,6 +535,7 @@ async function uploadFiles(
environment,
toolNames,
await actionsUtil.determineMergeBaseCommitOid(),
+ logger,
);
// Log some useful debug info about the info
diff --git a/src/upload-sarif-action-post-helper.ts b/src/upload-sarif-action-post-helper.ts
new file mode 100644
index 0000000000..0a9034906b
--- /dev/null
+++ b/src/upload-sarif-action-post-helper.ts
@@ -0,0 +1,49 @@
+import * as fs from "fs";
+import * as path from "path";
+
+import * as core from "@actions/core";
+
+import * as actionsUtil from "./actions-util";
+
+export async function uploadArtifacts(
+ uploadDebugArtifacts: (
+ toUpload: string[],
+ rootDir: string,
+ artifactName: string,
+ ) => Promise,
+) {
+ const tempDir = actionsUtil.getTemporaryDirectory();
+
+ // Upload Actions SARIF artifacts for debugging when environment variable is set
+ if (process.env["CODEQL_ACTION_DEBUG_COMBINED_SARIF"] === "true") {
+ core.info(
+ "Uploading available combined SARIF files as Actions debugging artifact...",
+ );
+
+ const baseTempDir = path.resolve(tempDir, "combined-sarif");
+
+ const toUpload: string[] = [];
+
+ if (fs.existsSync(baseTempDir)) {
+ const outputDirs = fs.readdirSync(baseTempDir);
+
+ for (const outputDir of outputDirs) {
+ const sarifFiles = fs
+ .readdirSync(path.resolve(baseTempDir, outputDir))
+ .filter((f) => f.endsWith(".sarif"));
+
+ for (const sarifFile of sarifFiles) {
+ toUpload.push(path.resolve(baseTempDir, outputDir, sarifFile));
+ }
+ }
+ }
+
+ if (toUpload.length > 0) {
+ await uploadDebugArtifacts(
+ toUpload,
+ baseTempDir,
+ "upload-debug-artifacts",
+ );
+ }
+ }
+}
diff --git a/src/upload-sarif-action-post.ts b/src/upload-sarif-action-post.ts
new file mode 100644
index 0000000000..6ddee543c6
--- /dev/null
+++ b/src/upload-sarif-action-post.ts
@@ -0,0 +1,24 @@
+/**
+ * This file is the entry point for the `post:` hook of `upload-sarif-action.yml`.
+ * It will run after the all steps in this job, in reverse order in relation to
+ * other `post:` hooks.
+ */
+import * as core from "@actions/core";
+
+import * as debugArtifacts from "./debug-artifacts";
+import * as uploadSarifActionPostHelper from "./upload-sarif-action-post-helper";
+import { wrapError } from "./util";
+
+async function runWrapper() {
+ try {
+ await uploadSarifActionPostHelper.uploadArtifacts(
+ debugArtifacts.uploadDebugArtifacts,
+ );
+ } catch (error) {
+ core.setFailed(
+ `upload-sarif post-action step failed: ${wrapError(error).message}`,
+ );
+ }
+}
+
+void runWrapper();
diff --git a/src/upload-sarif-action.ts b/src/upload-sarif-action.ts
index 71ce81c817..386e583fa2 100644
--- a/src/upload-sarif-action.ts
+++ b/src/upload-sarif-action.ts
@@ -41,11 +41,13 @@ async function sendSuccessStatusReport(
await checkDiskUsage(),
logger,
);
- const statusReport: UploadSarifStatusReport = {
- ...statusReportBase,
- ...uploadStats,
- };
- await sendStatusReport(statusReport);
+ if (statusReportBase !== undefined) {
+ const statusReport: UploadSarifStatusReport = {
+ ...statusReportBase,
+ ...uploadStats,
+ };
+ await sendStatusReport(statusReport);
+ }
}
async function run() {
@@ -56,16 +58,17 @@ async function run() {
const gitHubVersion = await getGitHubVersion();
checkActionVersion(getActionVersion(), gitHubVersion);
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.UploadSarif,
- "starting",
- startedAt,
- undefined,
- await checkDiskUsage(),
- logger,
- ),
+ const startingStatusReportBase = await createStatusReportBase(
+ ActionName.UploadSarif,
+ "starting",
+ startedAt,
+ undefined,
+ await checkDiskUsage(),
+ logger,
);
+ if (startingStatusReportBase !== undefined) {
+ await sendStatusReport(startingStatusReportBase);
+ }
try {
const uploadResult = await upload_lib.uploadFromActions(
@@ -96,18 +99,20 @@ async function run() {
const message = error.message;
core.setFailed(message);
console.log(error);
- await sendStatusReport(
- await createStatusReportBase(
- ActionName.UploadSarif,
- getActionsStatus(error),
- startedAt,
- undefined,
- await checkDiskUsage(),
- logger,
- message,
- error.stack,
- ),
+
+ const errorStatusReportBase = await createStatusReportBase(
+ ActionName.UploadSarif,
+ getActionsStatus(error),
+ startedAt,
+ undefined,
+ await checkDiskUsage(),
+ logger,
+ message,
+ error.stack,
);
+ if (errorStatusReportBase !== undefined) {
+ await sendStatusReport(errorStatusReportBase);
+ }
return;
}
}
diff --git a/upload-sarif/action.yml b/upload-sarif/action.yml
index cd747f44f4..100d24ecfd 100644
--- a/upload-sarif/action.yml
+++ b/upload-sarif/action.yml
@@ -38,3 +38,4 @@ outputs:
runs:
using: node16
main: '../lib/upload-sarif-action.js'
+ post: '../lib/upload-sarif-action-post.js'