pants icon indicating copy to clipboard operation
pants copied to clipboard

Enable crossplatform speculation of requests and their inputs.

Open hrfuller opened this issue 6 years ago • 3 comments

As follow up work to #8090 we want to improve concurrency of multi-platform request speculation. Requests configured for different platforms may well have dependencies on different inputs, platform specific compiler binaries for instance. In situation like this the time needed to build the input binaries could vary greatly, say if one was cached while the other needed to be generated. In our current model of speculation all inputs to a rule would have to complete before speculation could begin. We would like to create a new syntax for declaring process requests and their input_files so that request speculation time can include the time needed to generate inputs. This probably relates to being able to push multiple params into the build graph with one Get (#7490)

hrfuller avatar Sep 27 '19 18:09 hrfuller

This was designed in https://docs.google.com/document/d/1hS0n6vp-hBxy4Xo-q9QA_elofzQtOubjfN4nSeIgp90/edit: #11148 covers cross-platform remote execution without speculation, and will be closed soon via the environments work from #7735 and #13682.

stuhood avatar Oct 04 '22 20:10 stuhood

Also relates to https://github.com/pantsbuild/pants/issues/16873, which is about platform-agnostic process outputs.

stuhood avatar Oct 27 '22 23:10 stuhood

This issue has been open for over one year without activity and is not labeled as a bug. It has been labeled as stale to invite any further updates. If you can confirm whether the issue is still applicable to the latest version of Pants, appears in other contexts, or its priority has changed, please let us know. Please feel free to close this issue if it is no longer relevant.

github-actions[bot] avatar Dec 03 '25 04:12 github-actions[bot]