Skip to content

fix: cache Windows npm command shims - #15

Merged
elrrrrrrr merged 1 commit into
mainfrom
codex/fix-windows-npm-shims
Jul 28, 2026
Merged

elrrrrrrr merged 1 commit into
mainfrom
codex/fix-windows-npm-shims

Conversation

@elrrrrrrr

Copy link
Copy Markdown
Contributor

Summary

  • cache npm-generated Windows shims for utoo, ut, and utx
  • retain legacy .exe entries while adding extensionless, .cmd, and .ps1 paths
  • validate restored caches by executing utoo --version
  • use a v2 cache key and add a Windows cache-restore CI job

Root cause

setup-utoo cached utoo.exe and ut.exe, but current Utoo packages expose JavaScript bin entries. npm generates .cmd and .ps1 shims on Windows, so a cache hit restored the package manifest without restoring an invokable command. The manifest-only validation then treated that incomplete cache as valid.

Validation

  • npx tsc --noEmit
  • npm run build
  • Prettier check for changed source, workflow, action metadata, and docs
  • cache layout assertions for Windows and Unix paths

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@elrrrrrrr
elrrrrrrr marked this pull request as ready for review July 28, 2026 10:33
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@elrrrrrrr
elrrrrrrr merged commit e7aa4d7 into main Jul 28, 2026
13 checks passed
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