-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Allow rewinding to re-create lost inputs, rebased to include RewindingTest #16470
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
c745cac
to
6fa3ad1
Compare
This remedies the following sequence of events: 1. Build build_tool (e.g. the go builder) from source with remote execution and `--remote_download_minimal`. 2. Use build_tool to build some_binary with remote execution. 3. Evict `build_tool` from the remote execution system. 4. Edit the sources to some_binary and attempt to build it again with remote execution. Before this change, Bazel would give an FileNotFoundException complaining that build_tool couldn't be found (and so couldn't be uploaded). After this change, Bazel will notice that it knows how to regenerate the missing file, and so rewind the graph and re-perform the actions it needs to be able to build some_binary. Co-authored-by: Ilya Polyakovskiy <[email protected]>
c019af0
to
929e2c6
Compare
passing graphInconsistencyReceiver to SkyframeExecutor from WorkspaceBuilder
a101efa
to
225c56b
Compare
a56b8b1
to
7d6c15e
Compare
As Benjamin pointed out, we are open sourcing more action rewinding code. I don't know where we are landing to, but this PR is now outdated. Closing. |
Here is #14126 rebased on HEAD to include
RewindingTest.java
which was opensourced recently and introduce some limitations for #14126