GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — feat(install): verify bun platform tarball against dist.integrity by jong-kyung · Pull Request #2301 · voidzero-dev/vite-plus Conversation
Collaborator
SummaryBun platform downloads can now detect tarball corruption or mismatches before extraction by using the platform package's registry-provided Related: #2289
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsApply the same registry integrity verification the pnpm 12 native flow uses to bun's @oven/bun-* platform tarball. The metadata fetch is extracted into a shared fetch_platform_integrity helper used by both flows; registries that omit dist.integrity keep the previous unverified behavior.
|
There was an error while loading. Please reload this page.
✅ Deploy Preview for viteplus-preview canceled.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@codex review |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 9ab65d01fb
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Closing this — #2140 moved |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
## Summary Re-does #2301 on top of the pm-cli consolidation (#2140), which moved `vite_install/src/package_manager.rs` into `crates/vite_pm_cli` and made the old branch unrebaseable. - The `packageManager` hash names the main `bun` npm package, so the platform tarball (`@oven/bun-{os}-{arch}`) was downloaded without any verification. - Extracts the registry `dist.integrity` lookup that the pnpm >= 12 native path already implements inline into a shared `fetch_platform_integrity` helper, and applies it to the bun platform tarball as well. - The pnpm >= 12 path now uses the same helper, so its behavior is unchanged. Supersedes #2301. Co-authored-by: MK (fengmk2) <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.