-
Notifications
You must be signed in to change notification settings - Fork 731
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
[bug] Symlinks are preserved by default #590
Comments
Action `action/upload-artifact` with new release no longer dereferences symlinks by default. See actions/upload-artifact#590 for details.
Action `action/upload-artifact` with new release no longer dereferences symlinks by default. See actions/upload-artifact#590 for details.
This also affected us. Thanks @daskol for reporting this issue. |
#589 Seems the same issue. |
Hi there! Riccardo from Meta, working in the React team and taking care of the React Native build pipeline on GH. |
@robherley Could we revert the changes in the latest release 4.3.5 and create a new release 4.3.6? After that, we can continue working on this issue. |
Summary: We had CI on main failing consistently the past couple of days. The problem is that the hermes pipeline is failing to create the iOS XCFramework with the error: > unable to create a Mach-O from the binary at '/Users/runner/work/react-native/react-native/packages/react-native/sdks/hermes/destroot/Library/Frameworks/catalyst/hermes.framework/hermes' The main cause is this upgrade of [upload-artifacts](actions/upload-artifact#590) which breaks symlinks. The solution is to bump the caches and downgrade the `upload-artifact` actions. ## Changelog: [Internal] - Try to fix CI for Hermes Pull Request resolved: #45908 Test Plan: GHA must be green Reviewed By: cortinico Differential Revision: D60828616 Pulled By: cipolleschi fbshipit-source-id: 6976b86dd67e2fd9d806ebaa62f47e39dc44b30d
Hey folks, we reverted & released a new version for v4.3.6 to address the regression. |
@robherley It seems that from the original issue steps 1. and 2. have been completed
Is there any timeline for delivery on step 3? |
My action builds a Linux library and uploads it to a tarball. The library consists of a |
@icfaust I don't believe we're going to specifically work on (3) at this time, we were only focused on the regression |
@teo-tsirpanis Do you have an example or a minimum way to reproduce? I've added a symlink test to upload-artifact's workflow, as well as toolkit too. |
The job in question is |
@teo-tsirpanis is it a relative symlink? Could you Looks like this job is failing to
The relative link might not be getting resolved 🤔 |
We have the same issue as @teo-tsirpanis including the |
It seems to be a relative symlink: teo@theodore-tiledb:~/code/TileDB$ ls -la build/Default/tiledb/libtiledb.so
lrwxrwxrwx 1 teo teo 17 Sep 19 03:25 build/Default/tiledb/libtiledb.so -> libtiledb.so.2.27 |
Okay, I'll look into a fix. For now feel free to pin to 4.4.0 if you are using relative symlinks. |
I made a PR for toolkit, I'll have my team take a look: @teo-tsirpanis @FreyJo do y'all want to test with the changes? You can try uploading with my branch version: uses: actions/upload-artifact@robherley/v4.4.2 |
The workflow succeeded, thanks! |
|
And |
You can still use |
Currently our CI is failing because the upload artifacts does not upload the link files somehow. This would be one fix. Related issue that caused the breaking change: actions/upload-artifact#590
Closing this out, we preserve both relative and absolute symlinks and have added integrations test to prevent a regression. All versions |
Revert "Use actions/[email protected] to fix artifact symlinks" This reverts commit 82bd3e7. xref: actions/upload-artifact#590 (comment)
What happened?
Transition from v4.3.4 to v4.3.5 broke regular building pipelines because
actions/upload-artifact
does not derefernce symlink anymore by default and upload symlinks as is but not target files.See "Upload StarPU libraries" job for details.
What did you expect to happen?
How can we reproduce it?
You can fork repo or create pull request and trigger pipeline on push event.
Anything else we need to know?
No response
What version of the action are you using?
v4.3.5 (no issue with the previous v4.3.4)
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
No response
The text was updated successfully, but these errors were encountered: