Skip to content
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

Closed
wants to merge 5 commits into from

Conversation

k1nkreet
Copy link

Here is #14126 rebased on HEAD to include RewindingTest.java which was opensourced recently and introduce some limitations for #14126

@k1nkreet k1nkreet requested a review from a team as a code owner October 13, 2022 16:59
@google-cla
Copy link

google-cla bot commented Oct 13, 2022

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.

@k1nkreet k1nkreet force-pushed the rewind-pr-5.0-rebased branch from c745cac to 6fa3ad1 Compare October 13, 2022 17:01
@ShreeM01 ShreeM01 added team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-user-response Awaiting a response from the author labels Oct 13, 2022
illicitonion and others added 2 commits October 28, 2022 18:18
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]>
@k1nkreet k1nkreet force-pushed the rewind-pr-5.0-rebased branch from c019af0 to 929e2c6 Compare October 28, 2022 16:22
@sgowroji sgowroji added awaiting-review PR is awaiting review from an assigned reviewer and removed awaiting-user-response Awaiting a response from the author labels Nov 3, 2022
passing graphInconsistencyReceiver to SkyframeExecutor from
WorkspaceBuilder
@k1nkreet k1nkreet force-pushed the rewind-pr-5.0-rebased branch 2 times, most recently from a101efa to 225c56b Compare November 3, 2022 17:55
@k1nkreet k1nkreet force-pushed the rewind-pr-5.0-rebased branch from a56b8b1 to 7d6c15e Compare November 7, 2022 18:30
@benjaminp
Copy link
Collaborator

8b75e0b

@coeuvre
Copy link
Member

coeuvre commented Oct 5, 2023

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.

@coeuvre coeuvre closed this Oct 5, 2023
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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