Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Refactor the transformation node codecs to reuse the binding infrastructure for writing the state of the node.

  1. … 16 more files in changeset.
Create a new set of bindings to use for serializing the work graph nodes to the instant execution cache.

Also allow a codec to create a nested context with a new isolate and codec to use for serializing nested objects. Use this to maintain a single isolate for all work nodes with nested isolates for each task instance.

  1. … 7 more files in changeset.
Ensure that non-task node instances read from the instant execution cache are reused when referenced from a file collection read from the cache.

  1. … 9 more files in changeset.
Serialize non-task work nodes to the instant execution cache as dummy `ActionNode` implementations, along with the edges between nodes.

  1. … 2 more files in changeset.
Change instant execution serialization to write the edges between work nodes to the cache, instead of the dependencies between tasks.

This will allow nodes other than tasks to be deserialized and added back to the work graph. Also short-circuit the node dependency calculation when reading nodes back from the cache, as the calculation has already been done.

  1. … 5 more files in changeset.
Change instant execution to serialize all work nodes to the cache, rather than just the task nodes.

In this change, only a placeholder is written to the cache for node that are not task nodes, and this are discarded on read.

    • -0
    • +401
    ./WorkNodeCodec.kt
  1. … 10 more files in changeset.