Repository navigation
Conversation
fmeum
marked this pull request as draft
July 7, 2026 16:07
fmeum
force-pushed
the
fix-30149-exclude-external-symlinks
branch
from
July 7, 2026 17:05
5cd69bf to
524ce68
Compare
fmeum
marked this pull request as ready for review
July 7, 2026 17:51
Contributor
|
@fmeum Can you please rebase? |
Member
|
@iancha1992 This is a legit Windows failure, not one of the previous ones that requried retrying/rebasing. |
fmeum
force-pushed
the
fix-30149-exclude-external-symlinks
branch
from
July 7, 2026 19:20
524ce68 to
07630cf
Compare
…cache This is meant as a temporary stopgap for the many symlink-related issues found with the remote repo contents cache and includes tests found while debugging bazelbuild#30149. The new and old tests are parameterized in a test suite variable to keep the diff small and enable future experimentation with improved symlink support. As part of bazelbuild#30160, I'll investigate a more conceptual approach to symlink resolution that unifies the logic with that in RemoteActionFileSystem. Fixes bazelbuild#30149
fmeum
force-pushed
the
fix-30149-exclude-external-symlinks
branch
from
July 7, 2026 19:20
07630cf to
f4d7fcd
Compare
Wyverald
approved these changes
Jul 7, 2026
1 of 2 tasks
bazel-io
added a commit
to bazel-io/bazel
that referenced
this pull request
Jul 9, 2026
…ontents cache (bazelbuild#30161) (bazelbuild#30190) ### Description This is meant as a temporary stopgap for the many symlink-related issues found with the remote repo contents cache and includes tests found while debugging bazelbuild#30149. The new and old tests are parameterized in a test suite variable to keep the diff small and enable future experimentation with improved symlink support. As part of bazelbuild#30160, I'll investigate a more conceptual approach to symlink resolution that unifies the logic with that in RemoteActionFileSystem. ### Motivation Fixes bazelbuild#30149 ### Build API Changes No ### Checklist - [x] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). ### Release Notes RELNOTES: The remote repo contents cache no longer caches or restores repos with cross-repo symlinks, thus avoiding a large surface area for bugs. The effort to reenable this support is tracked by bazelbuild#30160. Closes bazelbuild#30161. PiperOrigin-RevId: 944468477 Change-Id: I4a435beaadb7c2df3e11acd910814736d2fb32c0 Commit bazelbuild@e65fe06 Co-authored-by: Fabian Meumertzheim <[email protected]>
fmeum
added a commit
to fmeum/bazel
that referenced
this pull request
Jul 14, 2026
…cache (bazelbuild#30161) This is meant as a temporary stopgap for the many symlink-related issues found with the remote repo contents cache and includes tests found while debugging bazelbuild#30149. The new and old tests are parameterized in a test suite variable to keep the diff small and enable future experimentation with improved symlink support. As part of bazelbuild#30160, I'll investigate a more conceptual approach to symlink resolution that unifies the logic with that in RemoteActionFileSystem. Fixes bazelbuild#30149 No - [x] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). RELNOTES: The remote repo contents cache no longer caches or restores repos with cross-repo symlinks, thus avoiding a large surface area for bugs. The effort to reenable this support is tracked by bazelbuild#30160. Closes bazelbuild#30161. PiperOrigin-RevId: 944468477 Change-Id: I4a435beaadb7c2df3e11acd910814736d2fb32c0
iancha1992
pushed a commit
to iancha1992/bazel
that referenced
this pull request
Jul 14, 2026
…ontents cache (bazelbuild#30252) This is meant as a temporary stopgap for the many symlink-related issues found with the remote repo contents cache and includes tests found while debugging bazelbuild#30149. The new and old tests are parameterized in a test suite variable to keep the diff small and enable future experimentation with improved symlink support. As part of bazelbuild#30160, I'll investigate a more conceptual approach to symlink resolution that unifies the logic with that in RemoteActionFileSystem. 8.x adaptation: `RepositoryUtils` doesn't exist on 8.x, so the `replantSymlinks` changes are applied to `RepositoryFunction#replantSymlinks`, where this method lives on the release branch (see bazelbuild#30034). All other changes apply as is. Fixes bazelbuild#30149. RELNOTES: The remote repo contents cache no longer caches or restores repos with cross-repo symlinks, thus avoiding a large surface area for bugs. The effort to reenable this support is tracked by bazelbuild#30160. Closes bazelbuild#30161. PiperOrigin-RevId: 944468477 Change-Id: I4a435beaadb7c2df3e11acd910814736d2fb32c0 (cherry picked from commit e65fe06)
This file contains hidden or 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
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.
Description
This is meant as a temporary stopgap for the many symlink-related issues found with the remote repo contents cache and includes tests found while debugging #30149.
The new and old tests are parameterized in a test suite variable to keep the diff small and enable future experimentation with improved symlink support. As part of #30160, I'll investigate a more conceptual approach to symlink resolution that unifies the logic with that in RemoteActionFileSystem.
Motivation
Fixes #30149
Build API Changes
No
Checklist
Release Notes
RELNOTES: The remote repo contents cache no longer caches or restores repos with cross-repo symlinks, thus avoiding a large surface area for bugs. The effort to reenable this support is tracked by #30160.