Pants: Enable pantsd by default

Created on 7 Apr 2017  路  11Comments  路  Source: pantsbuild/pants

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.

blocked engine pantsd

Most helpful comment

This is done for real in #9935. Thank you everyone!

All 11 comments

I think https://github.com/pantsbuild/pants/issues/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:

  • [x] #5567, which remains open.
  • [x] #6574, which has had tremendous progress recently.
  • [x] #7320, and then fixing any hangs that occur.
  • [x] #7301, Ctrl-C deadlock, possibly dependent on #6579
  • [x] #5220, Another Ctrl-C issue

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.

7330 and #7331 are also relevant to strengthening integration testing.

I am going to add #5220 and #7301 to the TODO to fix with #6579 if possible. As I just now noted on #7301, I believe that ticket may be very closely related to #5220 / the same cause, although the behavior is different.

After #7596 and some cleanup of very pressing bugs, the tasks for having a solid daemon seem to be:

  • [x] The behaviour of exiters in the new multithreaded world is not well-defined. In particular, if we have a thread that wants to exit a pants invocation through the DaemonExiter in DaemonPantsRunner and the main thread is also trying to exit through the PantsDaemon exiter, it's unclear which one should prevail. Some (but not all) context: #7597
  • [x] The precomputing code in DaemonPantsRunner.create() should be moved, as described in #8002. This will make exception handling and the exit conditions so much easier.
  • [x] Remote exception fetching needs to be better, now that we don't have a PID per pants invocation: #7810.

Feel free to add to this list.

The issues mentioned in https://github.com/pantsbuild/pants/issues/4438#issuecomment-509589275 should be resolved in #9722: a followup change will enable pantsd by default.

This is done for real in #9935. Thank you everyone!

Was this page helpful?
0 / 5 - 0 ratings