Repository navigation
[9.1.0] Materialize RRCC symlinks via prefetching (https://github.com/bazelbuild/bazel/pull/28683) - #29197
Merged
iancha1992 merged 1 commit intoApr 8, 2026
Conversation
Member
|
This requires #28962 to be resolved first |
iancha1992
enabled auto-merge
April 2, 2026 21:11
Collaborator
|
@iancha1992 Could you rebase this PR now that ff56bc1 has been merged? |
### Description When using the remote repo contents cache, repo materialization now uses the same code path as local action input prefetching for symlinks. This ensures that each symlink is only materialized once and that there are no races in case symlinking is not atomic (on Windows with default settings). Along the way, remove unreachable code from `UploadManifest`. ### Motivation Fixes bazelbuild#28575 ### 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: None Closes bazelbuild#28683. PiperOrigin-RevId: 893359962 Change-Id: If0eb64e41858a4b9298c2609d83160b0ecbfd451
iancha1992
force-pushed
the
cp28683-9.1.0-083546
branch
from
April 7, 2026 19:11
fd483d0 to
60b267f
Compare
Contributor
|
@Wyverald @meteorcloudy @fmeum Ready now. |
Wyverald
approved these changes
Apr 8, 2026
iancha1992
added this pull request to the merge queue
Apr 8, 2026
modularbot
pushed a commit
to modular/modular
that referenced
this pull request
Apr 27, 2026
This pulls in bazelbuild/bazel#29197, which fixes an "error replanting symlinks" error we see fairly frequently in CI. MODULAR_ORIG_COMMIT_REV_ID: 1700a313af432cd859fff75da2001305dbf034b5
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
When using the remote repo contents cache, repo materialization now uses the same code path as local action input prefetching for symlinks. This ensures that each symlink is only materialized once and that there are no races in case symlinking is not atomic (on Windows with default settings).
Along the way, remove unreachable code from
UploadManifest.Motivation
Fixes #28575
Build API Changes
No
Checklist
Release Notes
RELNOTES: None
Closes #28683.
PiperOrigin-RevId: 893359962
Change-Id: If0eb64e41858a4b9298c2609d83160b0ecbfd451
Commit 90eb56e