Skip to content

fix: use RUNNER_TEMP instead of /tmp for CLI web assets on Windows#119

Merged
linroid merged 1 commit intomainfrom
fix/cli-windows-tmp-path
Feb 24, 2026
Merged

fix: use RUNNER_TEMP instead of /tmp for CLI web assets on Windows#119
linroid merged 1 commit intomainfrom
fix/cli-windows-tmp-path

Conversation

@linroid
Copy link
Owner

@linroid linroid commented Feb 24, 2026

Summary

  • Replace hard-coded /tmp with ${{ runner.temp }} / $RUNNER_TEMP in the CLI build job's web asset download and unpack steps
  • Fixes CLI (Windows-x64) build failure (run #22351257812)

Root Cause

On Windows, actions/download-artifact (Node.js) resolves /tmp to C:\tmp, while Git Bash resolves /tmp to a different temp directory. The unzip command couldn't find the downloaded file, failing with exit code 9 ("specified zipfiles were not found").

Test plan

  • Re-run the release workflow and verify CLI (Windows-x64) passes the "Unpack web assets" step

On Windows, actions/download-artifact (Node.js) resolves /tmp to C:\tmp,
while Git Bash resolves /tmp to a different location. This caused unzip
to fail with exit code 9 (zipfiles not found). Using RUNNER_TEMP provides
a consistent cross-platform temporary directory.
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 24, 2026

Test Results

945 tests  ±0   945 ✅ ±0   13s ⏱️ -1s
 82 suites ±0     0 💤 ±0 
 82 files   ±0     0 ❌ ±0 

Results for commit 10ea42f. ± Comparison against base commit 94cfbe9.

♻️ This comment has been updated with latest results.

@linroid linroid merged commit 7cadcb8 into main Feb 24, 2026
10 of 11 checks passed
@linroid linroid deleted the fix/cli-windows-tmp-path branch February 24, 2026 13:59
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.

1 participant