Skip to content

fix(packagebundler): filter out dangling symlinks#143

Merged
nkottary merged 7 commits into
mainfrom
nk/fix
Apr 30, 2026
Merged

fix(packagebundler): filter out dangling symlinks#143
nkottary merged 7 commits into
mainfrom
nk/fix

Conversation

@nkottary
Copy link
Copy Markdown
Member

cp errors out in libuv when it encounters dangling symlinks and follow_symlinks is set to true. In this PR, instead of calling cp directly on the directory we walk the directory tree copying files one by one and ignoring dangling symlinks.

@pfitzseb
Copy link
Copy Markdown
Member

Can you add a regression test for this please?

@nkottary
Copy link
Copy Markdown
Member Author

CI failure is unrelated to the changes in this PR.

Looks like AWS keys have expired:

2026/04/27 09:02:59 CRITICAL: Failed to create file system for destination "juliahub_remote:internaljuilahubdatasets/datasets/c5e39542-9110-4347-82ce-e96ea01626fc/u1": operation error S3: HeadObject, https response error StatusCode: 403, RequestID: DHVRZPYDSAM8D3NE, HostID: YTDvSqNaTPVPc3lDIACLoDcX4y39vJ2xoFqJ9oVzFHHdlawfB01+xPS40c+0EnMHmXk+lQGhpWF6Xt4DqY070t8q6l7MpNWO, api error Forbidden: Forbidden

@nkottary nkottary marked this pull request as ready for review April 27, 2026 09:35
@nkottary nkottary requested a review from mortenpi April 27, 2026 09:35
@nkottary nkottary enabled auto-merge (squash) April 27, 2026 10:19
@nkottary nkottary removed the request for review from mortenpi April 29, 2026 06:43
@nkottary nkottary disabled auto-merge April 29, 2026 06:44
@nkottary nkottary enabled auto-merge (squash) April 29, 2026 06:44
@nkottary nkottary merged commit 78028db into main Apr 30, 2026
11 of 14 checks passed
@nkottary nkottary deleted the nk/fix branch April 30, 2026 08:32
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