From 1d231ad0021a6e4085290ae26d087d8582771e30 Mon Sep 17 00:00:00 2001 From: Nathan Randall Date: Mon, 23 Mar 2026 10:31:59 -0600 Subject: [PATCH 1/2] Update actions versions to latest Updates the commit reference for the `softprops/action-gh-release` action to point to the latest released version. Fixes an outdated "actions/checkout" version reference in an agent skill definition, for consistency. --- .github/actions/setup-codeql-environment/action.yml | 8 ++++---- .../workflow-template.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-codeql-environment/action.yml b/.github/actions/setup-codeql-environment/action.yml index cd0a734b..780d7dd1 100644 --- a/.github/actions/setup-codeql-environment/action.yml +++ b/.github/actions/setup-codeql-environment/action.yml @@ -82,7 +82,7 @@ runs: - name: Cache `gh-codeql` extension and CodeQL packages (Unix) id: cache-codeql-unix if: runner.os != 'Windows' - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.local/share/gh-codeql @@ -94,7 +94,7 @@ runs: - name: Cache `gh-codeql` extension and CodeQL packages (Windows) id: cache-codeql-windows if: runner.os == 'Windows' - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~\AppData\Local\GitHub\gh-codeql @@ -330,7 +330,7 @@ runs: - name: Cache language runtimes id: cache-runtimes if: inputs.install-language-runtimes == 'true' - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/go/pkg/mod @@ -388,7 +388,7 @@ runs: - name: Cache .NET packages if: inputs.install-language-runtimes == 'true' && contains(inputs.languages, 'csharp') id: cache-dotnet-packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.nuget/packages diff --git a/.github/skills/add-mcp-support-for-new-language/workflow-template.yml b/.github/skills/add-mcp-support-for-new-language/workflow-template.yml index 5e48a380..1f0482ec 100644 --- a/.github/skills/add-mcp-support-for-new-language/workflow-template.yml +++ b/.github/skills/add-mcp-support-for-new-language/workflow-template.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up CodeQL CLI uses: github/codeql-action/init@v3 From b5cf7461d5e9850309679b876c3615955dae8a9f Mon Sep 17 00:00:00 2001 From: Nathan Randall Date: Mon, 23 Mar 2026 10:35:35 -0600 Subject: [PATCH 2/2] Fix build-and-test in update-codeql.yml workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit is an attempt to fix the "build-and-test" step of the update-codeql.yml actions workflow, which has been failing due to missing dev/test dependencies on "ubuntu-latest" actions runner: - New step "Update - Install xvfb and VS Code dependencies" - Installs xvfb (virtual framebuffer) and system libraries VS Code needs (matching the pattern from copilot-setup-steps.yml). - Wrapped npm run build-and-test with xvfb-run -a to provide a virtual display — matching how build-and-test-extension.yml runs integration tests. --- .github/workflows/update-codeql.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-codeql.yml b/.github/workflows/update-codeql.yml index 2fce99ff..06a8d733 100644 --- a/.github/workflows/update-codeql.yml +++ b/.github/workflows/update-codeql.yml @@ -134,8 +134,14 @@ jobs: - name: Update - Upgrade CodeQL pack dependencies run: server/scripts/upgrade-packs.sh + - name: Update - Install xvfb and VS Code dependencies + run: | + sudo apt-get update + sudo apt-get install -y xvfb libgbm1 libgtk-3-0 libxshmfence1 + sudo apt-get install -y libasound2t64 || sudo apt-get install -y libasound2 + - name: Update - Build and test - run: npm run build-and-test + run: xvfb-run -a npm run build-and-test - name: Update - Create Pull Request uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0