Skip to content

fix(opencode): serialize config bun installs - #17342

Merged
nexxeln merged 2 commits into
devfrom
fix/windows-bun-install-lock
Mar 13, 2026
Merged

nexxeln merged 2 commits into
devfrom
fix/windows-bun-install-lock

Conversation

@nexxeln

@nexxeln nexxeln commented Mar 13, 2026

Copy link
Copy Markdown
Member

Summary

  • serialize config dependency installs with the existing bun-install lock so .opencode and temp config dirs do not run bun install --no-cache concurrently
  • add a regression test that verifies concurrent config installs are executed one at a time
  • fixes the intermittent windows e2e failure where Bun errored with ENOENT for zod during concurrent installs

Testing

  • bun test test/config/config.test.ts --test-name-pattern 'serializes concurrent config dependency installs|installs dependencies in writable OPENCODE_CONFIG_DIR'
  • bun typecheck

@nexxeln
nexxeln merged commit d4ae13f into dev Mar 13, 2026
6 checks passed
@nexxeln
nexxeln deleted the fix/windows-bun-install-lock branch March 13, 2026 12:28
demostanis pushed a commit to demostanis/opencode that referenced this pull request Mar 20, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 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.

1 participant