Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[pantsd] Clear the global state of subsystems earlier, plus refactorings #8130
In DaemonPantsRunner, we were clearing the global options state after we had warmed the v1 graph and ran every v2 rule. This means that those runs were running with potentially old state.
Move the clearing of
Commits should be independently reviewable. The first commit are some refactorings unrelated to this change, the second one is the actual change. I deemed this a small enough change to bunch them together.