Stabilize unresolved symbolic links (--experimental_allow_unresolved_symlinks)
See original GitHub issueDescription of the problem / feature request:
https://github.com/bazelbuild/bazel/issues/9075 added support for unresolved symlinks, via the actions.declare_symlink()
and actions.symlink()
functions. That functionality is currently gated by --experimental_allow_unresolved_symlinks
.
I’ve discovered that unresolved symlinks are critical for supporting hermetic Node.JS builds. Specifically, Node’s use of symlinks for module resolution semantics mean that we need to be able to create symlink artifacts that reference dependencies and can be used as runfiles, but exist outside the runfiles root.
What are the current blockers to stabilizing unresolved symlinks? Is there a list of known remaining work to get them enabled by default?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:43 (41 by maintainers)
Top Results From Across the Web
How can I find broken symlinks - Unix & Linux Stack Exchange
will give me all symbolic links, but makes no distinction between links that go somewhere and links that don't. I'm currently doing: find...
Read more >Delete all broken symbolic links with a line? - Stack Overflow
Here's a POSIX way of deleting all broken symbolic links in the current directory, without recursion. It works by telling find to traverse...
Read more >Linux Commands – Find Broken Symlinks | Baeldung on Linux
In this tutorial, we'll see how to find broken symlinks using the find command in different forms. 2. Symlinks.
Read more >FIX ERROR OF INCORRECTLY RESOLVED SYMBOLIC LINK ...
APAR status. Closed as program error. Error description. Error Message: A symbolic link is not resolved to a real path. . Stack Trace:...
Read more >How to find and remove broken symlinks on Linux
A symlink or "symbolic link" is a Linux file that simply points at another file. If the referenced file is removed, the symlink...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
AFAIK this has been experimental since Bazel 1.0.
Is progress likely?
This seems to be failing on macOS if paired with remote caching;