Skip to content

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

Closed
wants to merge 1 commit into from

Conversation

coeuvre
Copy link
Member

@coeuvre coeuvre commented Apr 23, 2025

... so that bazel can correctly rewind the build.

Fixes #25860.

@coeuvre coeuvre requested a review from a team as a code owner April 23, 2025 12:26
@coeuvre coeuvre requested review from fmeum and tjgq and removed request for a team April 23, 2025 12:26
@github-actions github-actions bot added team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels Apr 23, 2025
... so that bazel can correctly rewind the build.
@coeuvre coeuvre force-pushed the push-qykxrosxyxut branch from 580e673 to e06dd19 Compare April 23, 2025 12:28
@@ -569,26 +570,33 @@ private Completable downloadFileNoCheckRx(
}

Path finalPath = path;
PathFragment execPath = finalPath.relativeTo(execRoot);
Copy link
Collaborator

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.

Copy link
Member Author

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(...).

@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Apr 24, 2025
iancha1992 pushed a commit to iancha1992/bazel that referenced this pull request Apr 24, 2025
... so that bazel can correctly rewind the build.

Fixes bazelbuild#25860.

Closes bazelbuild#25929.

PiperOrigin-RevId: 750917248
Change-Id: I8a278a36bb6565e1d7204eb1a0d8a800abd845bd
github-merge-queue bot pushed a commit that referenced this pull request Apr 25, 2025
…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]>
fmeum pushed a commit to fmeum/bazel that referenced this pull request Apr 25, 2025
... so that bazel can correctly rewind the build.

Fixes bazelbuild#25860.

Closes bazelbuild#25929.

PiperOrigin-RevId: 750917248
Change-Id: I8a278a36bb6565e1d7204eb1a0d8a800abd845bd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
potential 8.2.x cherry-picks team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bazel 8.2.0 remote cache timed out regression
3 participants