[engine] Introduce ProductGraph invalidation.

Review Request #3578 - Created March 17, 2016 and submitted

Information
Kris Wilson
pants
kwlzn/engine/invalidation
2970, 3046
Reviewers
pants-reviews
peiyu, stuhood
  • Initial pass at ProductGraph invalidation using a predicate-based matching approach as the assumed coupling.
  • Add a dependents= flag to ProductGraph.walk for reusability in backwards (dependents_of()) graph walks for invalidation.
  • Add basic re-entrant locking of ProductGraph instance method calls using @wrapt.synchronized.
  • Eliminate ProductGraph.clear() in favor of ProductGraph.invalidate().
  • Test coverage.

https://travis-ci.org/pantsbuild/pants/builds/116519119

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Stu Hood
Kris Wilson
Stu Hood
Peiyu Wang
Kris Wilson
Kris Wilson
Review request changed

Status: Closed (submitted)

Change Summary:

thanks Stu & Peiyu! submitted @ c406bb70ccbceb0d4e24d90db5f5dbd21589a6d1

Loading...