-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
process_executor accepts action digests and buildbarn links #11283
Conversation
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.
This looks pretty nice!
Also FYI, I'm finishing up the Tonic/gRPC refactor this week. This PR does not look like it will cause much of a merge conflict. (Although I will need to port the BuildBarn proto generation to Prost.) Will tag you as a reviewer of the Tonic PR once I have it submitted in next day or so.
Also the |
Amazing, thanks for the review @tdyas! I'll definitely wait for your tonic stuff to land, I don't want to make that any harder for you than it already is! Will address all comments, and split off a separate |
Split off structopt changes in #11306 |
4f327d8
to
b031ca2
Compare
All addressed :) Still very happy to wait for your prost/tonic migration to land first, though! |
Tonic/Prost refactor is in #11307. |
b031ca2
to
1590e46
Compare
Congrats! Glad it got in! I've rebased this onto Tonic/Prost - do you want to take another look, or shall I just merge @tdyas? :) |
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.
lgtm
This allows you to take an action which ran (perhaps because you have metadata from the remote cluster) and reproduce it, locally or remotely. It also: * Allows specifying prefixes for commands, so you can run under `strace` or similar. * Allows specifying a CAS server without an execution server, so that you can fetch remote digests but perform execution locally. * Broadens `expand_local_digests` to `expand_digests` with a local-only mode, so that if you're fetching the digest from a remote CAS, you don't get errors complaining that things it references aren't available locally.
1590e46
to
4b6f4ac
Compare
This allows you to take an action which ran (perhaps because you have metadata from the remote cluster) and reproduce it, locally or remotely. It also:
process_executor
to usestructopt
instead ofclap
directly, allowing for cleaner arg parsing.strace
or similar.expand_local_digests
toexpand_digests
with a local-only mode, so that if you're fetching the digest from a remote CAS, you don't get errors complaining that things it references aren't available locally.I strongly recommend reviewing commits separately :)