Repository navigation
fix(client): resolve import-boundary failures under bun workspaces (Refs #724) - #741
Closed
agenteinstinct1-max wants to merge 2 commits into
Closed
agenteinstinct1-max wants to merge 2 commits into
agenteinstinct1-max wants to merge 2 commits into
Conversation
invoke Bun build instead of Bun work in the import-boundary test. bun work is not a valid command, so bundling each public entrypoint failed with 'Script not found work'. bun build supports the --target/--format/--packages/ --metafile/--outdir flags the test relies on. Refs #724 Co-authored-by: arena-agent <[email protected]>
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
…f3-silvercode Co-authored-by: arena-agent <[email protected]>
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Refs #724. DRAFT - do not auto-close, no GitHub comments, no workflow edits.
Type of change
What does this PR do?
Refs #724. The public import-boundary test in packages/client invoked
bun workto bundle each entrypoint, but
bun workis not a valid Bun command, so bundlingfailed with "Script not found work" before any assertion ran. Switch the
invocation to
bun build, which supports the --target/--format/--packages/--metafile/--outdir flags the test relies on.
This carries the one-line fix from the compliance-closed PR #727 forward on a fresh
branch. The change is isolated to packages/client/test/import-boundaries.test.ts and
does not touch packages/opencode or the permission system.
How did you verify your code works?
Ran
bun testfrom packages/client:bun work)bun typecheckin packages/client: passThe outstanding unit(linux) failure in packages/opencode/test/permission/timeout.test.ts
(reported as 2 fails at the old head) is a separate, pre-existing timing-sensitive
flake: it is not reproduced locally (17 pass, 0 fail across 3 runs, including under
4-way CPU burn) and is not caused by this change, which is confined to the client
import-boundaries test. Reported as unresolved / not mine; no assertions or timeouts
were weakened.
Screenshots / recordings
Not a UI change; none.
Checklist