Clone
Tom Dunstan <tomdcc@users.noreply.github.com>
committed
on 01 Jun 18
Emit build operations for task registration / realization (#5610)
* Wire in op executor to task container

* Add internal task id

* Add bin… Show more
Emit build operations for task registration / realization (#5610)

* Wire in op executor to task container

* Add internal task id

* Add binary compatibility exception

* Add as-light-as-possible build ops for eagerly created tasks

* Use op task ids when creating tasks

* Emit light build ops for lazily realized tasks

* Only fire task creation build ops when collecting task stats

* Provide rich details for task creation build ops

* Use groovy method rather than JDK8 method

* Wire in op executor to task container

* Add internal task id

* Add binary compatibility exception

* Add as-light-as-possible build ops for eagerly created tasks

* Use op task ids when creating tasks

* Emit light build ops for lazily realized tasks

* Only fire task creation build ops when collecting task stats

* Provide rich details for task creation build ops

* Use groovy method rather than JDK8 method

* Change test to use new register method

* Make NullBuildOperationExecutor a singleton

* Add note about opt-in to operations being empty

* Consolidate name/type/uniqueId into TaskIdentity

Reduces the number of args flying around, consolidates how identity paths etc. are calculated and enforces only one instance of such paths.

* Don't nest realize op for eagerly created lazy task

* Add test for nesting of task realize build ops

Show less

master + 367 more