Skip to content

fix(ci): workaround by using hoisted Bun linker on Windows#17751

Merged
Hona merged 1 commit intoanomalyco:devfrom
Hona:fix/bun-hoisted-worakround
Mar 16, 2026
Merged

fix(ci): workaround by using hoisted Bun linker on Windows#17751
Hona merged 1 commit intoanomalyco:devfrom
Hona:fix/bun-hoisted-worakround

Conversation

@Hona
Copy link
Member

@Hona Hona commented Mar 16, 2026

Summary

  • switch Windows CI installs to bun install --linker hoisted
  • document this as a temporary workaround for patched peer variants in ./patches/
  • reference the upstream Bun bug affecting patched packages like standard-openapi

Testing

  • not run (workflow-only change)

Upstream: oven-sh/bun#28147

Copilot AI review requested due to automatic review settings March 16, 2026 08:27
@Hona Hona changed the title fix(ci): use hoisted Bun linker on Windows fix(ci): workaround by using hoisted Bun linker on Windows Mar 16, 2026
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

Updates the repo’s shared “setup-bun” composite GitHub Action to apply a Windows-specific Bun install workaround for an upstream issue affecting patched dependencies (e.g., entries under ./patches/ like standard-openapi).

Changes:

  • Run bun install --linker hoisted on Windows runners while keeping the default bun install behavior for other OSes.
  • Add inline documentation in the action pointing to the upstream Bun issue (oven-sh/bun#28147) and the patched-dependency context.

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

@Hona Hona enabled auto-merge (squash) March 16, 2026 08:31
@Hona Hona merged commit 4d7cbdc into anomalyco:dev Mar 16, 2026
17 checks passed
ConanXu-math pushed a commit to ConanXu-math/opencode that referenced this pull request Mar 17, 2026
AvatarGanymede pushed a commit to AvatarGanymede/opencode-dev that referenced this pull request Mar 19, 2026
demostanis pushed a commit to demostanis/opencode that referenced this pull request Mar 19, 2026
demostanis pushed a commit to demostanis/opencode that referenced this pull request Mar 20, 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