Skip to content

refactor(pm): share the native binary download for bun and pnpm - #3583

Open
jong-kyung wants to merge 1 commit into
voidzero-dev:mainfrom
jong-kyung:refactor/pm-native-download
Open

jong-kyung wants to merge 1 commit into
voidzero-dev:mainfrom
jong-kyung:refactor/pm-native-download

Conversation

@jong-kyung

Copy link
Copy Markdown
Collaborator

Bun and pnpm 12+ both install a native binary from a platform package, and their two download functions repeated the same steps. They now share download_native_package_manager, which handles the only differences: the platform package name, the binary location in the tarball, and the shim writer.

Bun and pnpm 12+ both download a native binary from a platform package. Their two download functions differed only in the platform package name, the binary location in the tarball, and the shim writer, so they now share one function.
@jong-kyung jong-kyung self-assigned this Nov 26, 2026
@jong-kyung jong-kyung added test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: create-e2e Run `vp create` e2e tests labels Nov 26, 2026
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T00:09:02.884925Z 909bf91 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 909bf91c95

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jong-kyung
jong-kyung marked this pull request as ready for review November 26, 2026 00:07
@jong-kyung
jong-kyung requested a review from fengmk2 November 26, 2026 00:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: sfw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant