-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Treat download error during input prefetching as lost input. #25929
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
... so that bazel can correctly rewind the build.
580e673
to
e06dd19
Compare
@@ -569,26 +570,33 @@ private Completable downloadFileNoCheckRx( | |||
} | |||
|
|||
Path finalPath = path; | |||
PathFragment execPath = finalPath.relativeTo(execRoot); |
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.
Does this handle symlinks correctly? We need the path of the artifact, not the download exec path.
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.
Symlink is handled by the call site as the form of downloadFileNoCheckRx().onErrorResumeNext(...)
.
... so that bazel can correctly rewind the build. Fixes bazelbuild#25860. Closes bazelbuild#25929. PiperOrigin-RevId: 750917248 Change-Id: I8a278a36bb6565e1d7204eb1a0d8a800abd845bd
…25942) ... so that bazel can correctly rewind the build. Fixes #25860. Closes #25929. PiperOrigin-RevId: 750917248 Change-Id: I8a278a36bb6565e1d7204eb1a0d8a800abd845bd Commit ba6f6f7 Co-authored-by: Chi Wang <[email protected]>
... so that bazel can correctly rewind the build. Fixes bazelbuild#25860. Closes bazelbuild#25929. PiperOrigin-RevId: 750917248 Change-Id: I8a278a36bb6565e1d7204eb1a0d8a800abd845bd
... so that bazel can correctly rewind the build.
Fixes #25860.