-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Enable pantsd by default #4438
Comments
I think #5046 is the last blocker for this, afaict. |
I think #5567 is now the last blocker here. |
Coming back to this ticket, I think these are the blockers now:
|
I'm going to leave #6574 open for a bit (especially because I need to respond to some review comments), and before trying to merge it I will look at the open issues above and see if it might fix any of them (and add tests if so). |
I would actually recommend adding #7080 as a blocker as well, as we do not have exception sink/logging testing for the pantsd case right now. |
#7220 is relevant, not sure if it is a blocker because the failure went unnoticed for a very long time but it is a pretty important function, I just found some difficulty trying to test it then. |
After #7596 and some cleanup of very pressing bugs, the tasks for having a solid daemon seem to be:
Feel free to add to this list. |
The issues mentioned in #4438 (comment) should be resolved in #9722: a followup change will enable pantsd by default. |
### Problem Pants' runtime overhead is influenced by multiple factors: 1) packaging overhead in virtualenvs and pexes 2) import time for python code 3) time to walk the filesystem and (re)fingerprint inputs 4) time to run `@rule`s with unchanged inputs Pantsd helps to address all of these issues, and has just (re-)reached maturity. ### Solution Prepare to enable `pantsd` by default by deprecating not setting the `enable_pantsd` flag. Also, set the flag for pantsbuild/pants. ### Result noop time when running in a virtualenv (such as in [github.com/pantsbuild/example-python](https://github.com/pantsbuild/example-python)) drops from `~2.4s` to `~1.6s`. Followup work (moving fingerprinting to the server, porting the client to rust) is expected to push this below `500ms`. There are a collection of known issues that might impact users tracked in https://github.com/pantsbuild/pants/projects/5, some of which we will address via dogfooding. Others are matters of expectation: "I wouldn't expect that to work". One of the most significant issues though is #7654: we should consider making a push before `1.29.0` to remove use of global mutable state to allow for concurrent pants runs with pantsd under v2. Fixes #4438.
This is done for real in #9935. Thank you everyone! |
This is blocked on a bunch of 1.3.0 issues, but primarily by #3941 and #3774: it should likely happen shortly into the 1.4.0.dev cycle, after #3941 is completed.
The text was updated successfully, but these errors were encountered: