Repository navigation
Conversation
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
Contributor
|
Adopted in v1.91.89.0 (e6edff0, #3140). The Bun path mapping and your spaces-plus-syntax-error test landed (the test is adapted to assert the exact file:line). Root canonicalization goes through the shared |
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.
Git Bash converts hook entry arguments from
/c/...toC:/...before starting native Bun. Successful build rows therefore fail the checker's shell-path lookup and setup refuses valid TypeScript hooks as "bun could not bundle the TypeScript entry".Normalize Bun's entry, input and diagnostic paths back to shell spelling. Canonicalize Git Bash mount aliases such as
/tmpthrough their native drive path so temporary installations use the same lookup keys. Add a regression that checks a healthy installation with spaces and then injects a syntax error, which must still be rejected with a real diagnostic.Validation on Windows 11, Git Bash and Bun 1.3.14:
git diff --checkpasses.Focused command:
bun test test/setup-hook-syntax-gate.test.ts --timeout 90000 --test-name-pattern "native Windows drive|every shipped hook|healthy fixture passes|root with spaces".