Skip to content

Rewind on --remote_download_minimal upload FileNotFounds#15345

Closed
illicitonion wants to merge 1 commit intobazelbuild:masterfrom
illicitonion:rewinding-bulk-upload-exceptions-no-framework
Closed

Rewind on --remote_download_minimal upload FileNotFounds#15345
illicitonion wants to merge 1 commit intobazelbuild:masterfrom
illicitonion:rewinding-bulk-upload-exceptions-no-framework

Conversation

@illicitonion
Copy link
Copy Markdown
Contributor

Currently, when building with --remote_download_minimal, if the remote
storage has evicted an output of a previous action, Bazel will throw a
FileNotFoundException for it.

This change detects that scenario, and re-throws it as a
LostInputsExecException, tracking enough metadata on the way to do so.

If rewinding is enabled for a build, this will cause rewinding to
automatically kick in.

Currently, when building with `--remote_download_minimal`, if the remote
storage has evicted an output of a previous action, Bazel will throw a
FileNotFoundException for it.

This change detects that scenario, and re-throws it as a
LostInputsExecException, tracking enough metadata on the way to do so.

If rewinding is enabled for a build, this will cause rewinding to
automatically kick in.
@illicitonion illicitonion requested a review from a team as a code owner April 26, 2022 15:05
@illicitonion
Copy link
Copy Markdown
Contributor Author

/cc @justinhorvitz

@sgowroji sgowroji added team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels Apr 27, 2022
@brentleyjones
Copy link
Copy Markdown
Contributor

Friendly ping on this @ericfelly.

@ericfelly ericfelly assigned justinhorvitz and unassigned ericfelly Jun 2, 2022
@coeuvre
Copy link
Copy Markdown
Member

coeuvre commented Dec 14, 2022

Closing as we are moving forward with lease service. #16660

@coeuvre coeuvre closed this Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR is awaiting review from an assigned reviewer team-Remote-Exec Issues and PRs for the Execution (Remote) team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants