Skip to content

fix: pin commander tarball URL in bun.lock so CI install succeeds#25

Merged
MagicCube merged 1 commit intoMagicCube:mainfrom
hannah-15:fix/commander-cert-upstream
Apr 11, 2026
Merged

fix: pin commander tarball URL in bun.lock so CI install succeeds#25
MagicCube merged 1 commit intoMagicCube:mainfrom
hannah-15:fix/commander-cert-upstream

Conversation

@hannah-15
Copy link
Copy Markdown
Contributor

@hannah-15 hannah-15 commented Apr 11, 2026

Summary

The commander entry in bun.lock is the only entry pointing at registry.npm.taobao.org, whose TLS cert is currently expired. This causes bun install --frozen-lockfile to fail on GitHub Actions with:

error: CERT_HAS_EXPIRED downloading tarball commander@14.0.3

Every other entry in the lockfile (259 of them) already points to registry.npmmirror.com, which works fine. This PR repoints commander to the same host so the lockfile is internally consistent and CI can install dependencies again.

-    "commander": ["commander@14.0.3", "https://registry.npm.taobao.org/commander/-/commander-14.0.3.tgz", {}, "sha512-..."],
+    "commander": ["commander@14.0.3", "https://registry.npmmirror.com/commander/-/commander-14.0.3.tgz", {}, "sha512-..."],

The commander entry was the only lockfile entry pointing at
registry.npm.taobao.org, whose TLS cert is expired and causes
`bun install --frozen-lockfile` to fail on CI with
`CERT_HAS_EXPIRED downloading tarball commander@14.0.3`.

Repoint it to registry.npmmirror.com to match the other 259
entries in the lockfile.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MagicCube MagicCube merged commit 1e4e29f into MagicCube:main Apr 11, 2026
1 check 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.

2 participants