Skip to content

fix(install): select baseline Bun builds without AVX2 - #2179

Merged
fengmk2 merged 6 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/fix-bun-baseline
Aug 6, 2026
Merged

fix(install): select baseline Bun builds without AVX2#2179
fengmk2 merged 6 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/fix-bun-baseline

Conversation

@liangmiQwQ

@liangmiQwQ liangmiQwQ commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Close #2041

Bun's standard x64 builds require AVX2. This PR detects AVX2 before a fresh managed Bun download and selects Bun's baseline package on older x64 CPUs.

This is an intentionally scoped temporary fix. Existing cached Bun installations keep using their current files and are not replaced or migrated.

🤖 Generated with Codex

@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 750a631
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a74420b0b92db0009ff0404

@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: c46b34c00f

ℹ️ 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".

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: e90995c236

ℹ️ 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".

@liangmiQwQ
liangmiQwQ marked this pull request as ready for review July 15, 2026 12:37
@liangmiQwQ

liangmiQwQ commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator Author

The same problem as #2151, the fix cannot influence the already installed Buns. I don't add a legacy refresh logic in this PR, Maybe just let users run our new vp env clean?

…-baseline

# Conflicts:
#	crates/vite_pm_cli/src/package_manager.rs
@fengmk2

fengmk2 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Sorry, I rename vite_pm_cli crate to vp_pm_cli, need to fix conflicts again.

@fengmk2 fengmk2 added preview-build Publish this PR's commits to the registry bridge as preview builds and removed preview-build Publish this PR's commits to the registry bridge as preview builds labels Aug 6, 2026
@fengmk2 fengmk2 removed the preview-build Publish this PR's commits to the registry bridge as preview builds label Aug 6, 2026
@fengmk2 fengmk2 self-assigned this Aug 6, 2026
@fengmk2
fengmk2 merged commit 1e2c5a2 into voidzero-dev:main Aug 6, 2026
58 checks passed
@liangmiQwQ
liangmiQwQ deleted the liang/codex/fix-bun-baseline branch August 6, 2026 08:29
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.

Bundled bun.native binary crashes with SIGILL on CPUs without AVX2

2 participants