Skip to content

fix: most segfaults on windows with Bun v1.3.10 stable#15181

Merged
Hona merged 4 commits intoanomalyco:devfrom
Hona:chore/bun-1.3.10-stable
Feb 26, 2026
Merged

fix: most segfaults on windows with Bun v1.3.10 stable#15181
Hona merged 4 commits intoanomalyco:devfrom
Hona:chore/bun-1.3.10-stable

Conversation

@Hona
Copy link
Member

@Hona Hona commented Feb 26, 2026

Summary

  • bump the repo to stable bun@1.3.10 while keeping @types/bun on 1.3.9 because 1.3.10 is not published yet
  • remove the canary-only setup logic and go back to stable baseline release downloads in .github/actions/setup-bun/action.yml
  • drop the CI cross-compile workarounds and restore the baseline darwin x64 desktop sidecar/build target

Context

This removes the canary support introduced across bf57596ae, 13973dd19, d250de632, 61547f478, fe0c3ca82, d9ee41a56, e08bdeb65, 4285c5018, and cf5cfb48c.

Verification

  • bun install
  • ./script/build.ts --single --skip-install currently stops immediately on local Bun 1.3.9 because the build script now requires ^1.3.10

Copilot AI review requested due to automatic review settings February 26, 2026 07:21
@Hona Hona requested a review from adamdotdevin as a code owner February 26, 2026 07:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR transitions the repository from using Bun canary builds to stable release artifacts for Bun 1.3.10. It removes the canary-specific infrastructure that was added across multiple previous commits and restores the darwin x64 baseline build target for desktop sidecars.

Changes:

  • Bump Bun version from 1.3.9 to 1.3.10 in package.json (keeping @types/bun at 1.3.9 until types are published)
  • Remove canary-specific logic from GitHub Actions setup-bun action and switch to stable release downloads
  • Simplify build script by removing CI-specific conditional logic for target selection
  • Restore darwin x64 baseline target in build configuration and update desktop sidecar to use baseline binary

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Bumps packageManager from bun@1.3.9 to bun@1.3.10
packages/opencode/script/build.ts Removes CI environment check from singleFlag logic and adds darwin-x64-baseline target back to allTargets array
packages/desktop/scripts/utils.ts Changes darwin x64 sidecar binary reference from opencode-darwin-x64 to opencode-darwin-x64-baseline
.github/workflows/sign-cli.yml Removes cross-compile input from setup-bun action and --all flag from build command
.github/workflows/publish.yml Removes cross-compile input from setup-bun action and --all flag from build command
.github/actions/setup-bun/action.yml Removes cross-compile input parameter and related canary binary pre-caching logic, updates to stable release URL construction

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Hona Hona changed the title ci: switch Bun 1.3.10 back to stable release artifacts fix: most segfaults on windows with Bun v1.3.10 stable Feb 26, 2026
@Hona Hona merged commit fce811b into anomalyco:dev Feb 26, 2026
9 checks passed
sebishogun pushed a commit to sebishogun/opencode that referenced this pull request Feb 26, 2026
figloalds pushed a commit to figloalds/opencode that referenced this pull request Feb 27, 2026
jonathanmiddleton pushed a commit to jonathanmiddleton/opencode that referenced this pull request Mar 10, 2026
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