From 431270e33feb6c0e1fe4f5850683d816b8bb588d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 20:02:25 +0000 Subject: [PATCH 1/2] Initial plan From ba213dd59a3cc13167387bed8b602c013602d64f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 20:07:35 +0000 Subject: [PATCH 2/2] fix: Fix VSCode build GitHub Action workflow failures - Add fetch-depth: 0 to checkout step to ensure full git history is available, preventing 'ambiguous argument main' errors in git diff - Add dependency-graph: disabled to setup-node step to stop dependency snapshot submission to GitHub's Dependency Snapshot API - Add 'mkdir -p dist' step before VSIX packaging to create the output directory, fixing ENOENT error when vsce tries to write the .vsix file Agent-Logs-Url: https://github.com/alxayo/sec-check/sessions/42e7b353-3419-4602-a7c9-1ac7c7a38a5c Co-authored-by: alxayo <2588978+alxayo@users.noreply.github.com> --- .github/workflows/build-vsix.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-vsix.yml b/.github/workflows/build-vsix.yml index edf7de9..fd899e1 100644 --- a/.github/workflows/build-vsix.yml +++ b/.github/workflows/build-vsix.yml @@ -24,11 +24,14 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v5 + with: + fetch-depth: 0 - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: "20" + dependency-graph: disabled - name: Install extension dependencies working-directory: vscode-extension @@ -47,6 +50,9 @@ jobs: echo "version=${VERSION}" >> "$GITHUB_OUTPUT" echo "Extension version: ${VERSION}" + - name: Create dist directory + run: mkdir -p dist + - name: Package VSIX working-directory: vscode-extension run: npx @vscode/vsce package --no-dependencies --allow-missing-repository --skip-license --out "../dist/agentsec-${VERSION}.vsix"