-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Avoid two stats for non-directory symlinks created remotely #25986
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
Conversation
| && symlink.path().isDirectory(Symlinks.NOFOLLOW)) { | ||
| // If a directory output is being materialized as a symlink, creating the symlink fails as we | ||
| // must first delete the preexisting empty directory. Since this is rare (and in the future | ||
| // BwoB may no longer eagerly create these directories), we don't delete the directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This refers to #25976. I can update the comment depending on which PR is merged first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get #25976 merged first (it needs a rebase).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving since #25976 can't yet be merged.
|
Can we cherry-pick this into 8.x/7.x? |
|
@bazel-io fork 8.3.0 |
Closes bazelbuild#25986. PiperOrigin-RevId: 762397218 Change-Id: I60c231934becdb620dadc3bec878d828abe450b8
…26184) Closes #25986. PiperOrigin-RevId: 762397218 Change-Id: I60c231934becdb620dadc3bec878d828abe450b8 Commit c1165a6 Co-authored-by: Fabian Meumertzheim <[email protected]>
No description provided.