Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 19, 2026

The workflow attempted to move a ZIP file that was never created. The gulp task vscode-win32-x64-min-ci produces only the VSCode-win32-x64 folder; ZIP creation happens separately in Azure Pipelines via codesign.ts.

Changes

Windows x64 job:

  • Replaced Move-Item step with archive creation using 7-Zip
  • Mirrors Azure Pipelines approach: 7z.exe a -tzip with CodeSignSummary exclusion
  • Creates ZIP at .build/win32-x64/archive/VSCode-win32-x64.zip for artifact upload
# Before (broken)
- name: Move archive
  run: Move-Item -Path .build/win32-x64/VSCode-win32-x64.zip ...

# After (fixed)
- name: Create archive
  run: |
    $archivePath = ".build/win32-x64/archive/VSCode-win32-x64.zip"
    7z.exe a -tzip $archivePath ../VSCode-win32-x64/* "-xr!CodeSignSummary*.md"

Linux and Darwin jobs already had correct archive creation steps.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/microsoft/vscode/contents/.github/workflows/oss-build-fast.yml
    • Triggering command: /usr/bin/curl curl -s -H Authorization: token REDACTED /home/REDACTED/work/vscode/vscode/.github/workflows/pr-linux-cli-test.yml /home/REDACTED/work/vscode/vscode/.github/workflows/telemetry.yml (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Fix the failing GitHub Actions workflow Windows x64
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 60776891417
Job URL: https://github.com/microsoft/vscode/actions/runs/21134157573/job/60776891417


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow for Windows x64 Fix Windows x64 build: Create archive instead of moving non-existent file Jan 19, 2026
Copilot AI requested a review from joaomoreno January 19, 2026 12:11
@joaomoreno joaomoreno changed the base branch from main to copilot/add-github-actions-workflow January 19, 2026 14:26
@joaomoreno joaomoreno changed the base branch from copilot/add-github-actions-workflow to main January 19, 2026 14:26
@joaomoreno joaomoreno closed this Jan 19, 2026
Copilot AI added a commit that referenced this pull request Jan 19, 2026
Replace broken Move-Item approach with 7z.exe to create the archive
directly from the built files, excluding CodeSignSummary files.

Fixes issue from #288869

Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants