-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix in-process materialization of unresolved symlinks in runfiles #23328
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fmeum
force-pushed
the
23327-inprocess-unresolved-symlink
branch
from
August 18, 2024 18:58
ff8c1fe
to
07b5275
Compare
fmeum
force-pushed
the
23327-inprocess-unresolved-symlink
branch
from
August 18, 2024 18:58
07b5275
to
161c61f
Compare
github-actions
bot
added
the
awaiting-review
PR is awaiting review from an assigned reviewer
label
Aug 18, 2024
@bazel-io fork 7.4.0 |
iancha1992
added
the
team-Local-Exec
Issues and PRs for the Execution (Local) team
label
Aug 19, 2024
tjgq
approved these changes
Aug 20, 2024
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.
Thanks for the fix!
tjgq
added
awaiting-PR-merge
PR has been approved by a reviewer and is ready to be merge internally
and removed
awaiting-review
PR is awaiting review from an assigned reviewer
labels
Aug 20, 2024
github-actions
bot
removed
the
awaiting-PR-merge
PR has been approved by a reviewer and is ready to be merge internally
label
Aug 21, 2024
fmeum
added a commit
to fmeum/bazel
that referenced
this pull request
Aug 22, 2024
Unresolved symlinks, when consumed as runfiles with `--experimental_inprocess_symlink_creation`, are now created as symlinks directly pointing to their target path instead of to the absolute path of the unresolved symlink artifact under the execroot, just like with out-of-process symlink creation. Along the way, fix the propagation of `--experimental_inprocess_symlink_creation` to the exec configuration, which previously would have caused the new test cases to fail open. Fixes bazelbuild#23327 Closes bazelbuild#23328. PiperOrigin-RevId: 665754549 Change-Id: I6b240ca27dac513738056b015c97baec91677c4e
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 22, 2024
…iles (#23391) Unresolved symlinks, when consumed as runfiles with `--experimental_inprocess_symlink_creation`, are now created as symlinks directly pointing to their target path instead of to the absolute path of the unresolved symlink artifact under the execroot, just like with out-of-process symlink creation. Along the way, fix the propagation of `--experimental_inprocess_symlink_creation` to the exec configuration, which previously would have caused the new test cases to fail open. Fixes #23327 Closes #23328. PiperOrigin-RevId: 665754549 Change-Id: I6b240ca27dac513738056b015c97baec91677c4e Closes #23329
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Unresolved symlinks, when consumed as runfiles with
--experimental_inprocess_symlink_creation
, are now created as symlinks directly pointing to their target path instead of to the absolute path of the unresolved symlink artifact under the execroot, just like with out-of-process symlink creation.Along the way, fix the propagation of
--experimental_inprocess_symlink_creation
to the exec configuration, which previously would have caused the new test cases to fail open.Fixes #23327