Skip to content

Fix symlink issues when resolving @source directives #17391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 26, 2025
Merged

Conversation

RobinMalfait
Copy link
Member

This PR fixes some issues related to symlinks when using them in the @source directive.

Fixes: #16765
Fixes: #16038

Test plan

  1. Added tests to prove this works
    • Added a recursive symlink test as well to make sure we don't hang
  2. Existing tests still pass

[ci-all]

@RobinMalfait RobinMalfait requested a review from a team as a code owner March 26, 2025 11:53
@RobinMalfait RobinMalfait enabled auto-merge (squash) March 26, 2025 12:11
@RobinMalfait RobinMalfait merged commit b0c48c3 into main Mar 26, 2025
18 checks passed
@RobinMalfait RobinMalfait deleted the fix/issue-16038 branch March 26, 2025 12:11
philipp-spiess pushed a commit that referenced this pull request Mar 28, 2025
This PR fixes some issues related to symlinks when using them in the
`@source` directive.

Fixes: #16765
Fixes: #16038

## Test plan

1. Added tests to prove this works
   - Added a recursive symlink test as well to make sure we don't hang
2. Existing tests still pass


[ci-all]
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.

@source directive does not glob across symlink directories @source directive not working with pnpm
2 participants