Skip to content

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

Open
liangmiQwQ wants to merge 2 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/fix-bun-baseline
Open

fix(install): select baseline Bun builds without AVX2#2179
liangmiQwQ wants to merge 2 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 e90995c
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a577d8b239e92000800cf81

@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

Copy link
Copy Markdown
Collaborator Author

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

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

1 participant