execution

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use Deleter in cleaning stale outputs, take 2

This covers the remaining use cases:

- stale class cleanup for compilers

- stale overlapping output cleanup

  1. … 29 more files in changeset.
Simplify CleanupOutputsStep

Simplify CleanupOutputsStep

Move Deleter interface out of impl package

  1. … 39 more files in changeset.
Move Deleter interface out of impl package

  1. … 36 more files in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

  1. … 9 more files in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

  1. … 9 more files in changeset.
Use Deleter when removing outputs before execution

  1. … 3 more files in changeset.
Use Deleter when removing outputs before execution

  1. … 3 more files in changeset.
Use Deleter when removing outputs before execution

  1. … 3 more files in changeset.
Make FingerprinterFixture#outputFingerprinter private

Rework FingerprinterFixture trait to not contain public fields

See: http://docs.groovy-lang.org/next/html/documentation/core-traits.html#_public_fields

  1. … 2 more files in changeset.
Rework FingerprinterFixture to not contain public fields

See: http://docs.groovy-lang.org/next/html/documentation/core-traits.html#_public_fields

  1. … 2 more files in changeset.
Rework FingerprinterFixture trait to not contain public fields

See: http://docs.groovy-lang.org/next/html/documentation/core-traits.html#_public_fields

  1. … 2 more files in changeset.
Throw IOException and expose simple delete() method on Deleter

This is the prime usage for IOException, so let's use it. Also expose another method that tries to delete a single file.

  1. … 4 more files in changeset.
Simplify Deleter API even more

  1. … 5 more files in changeset.
Use Deleter to remove local state when loading from cache

  1. … 1 more file in changeset.
Maintain history if and only if an execution history store is available

  1. … 1 more file in changeset.
Maintain history if and only if an execution history store is available

  1. … 1 more file in changeset.
Maintain history if and only if an execution history store is available

  1. … 1 more file in changeset.
Allow UnitOfWork to not specify an ExecutionHistoryStore

Non-incremental work won't benefit from this anyway.

  1. … 2 more files in changeset.
Fail build on cache entry packing errors, too

  1. … 1 more file in changeset.
Fail build on cache entry packing errors, too

  1. … 1 more file in changeset.
Tidy up Try

- map() and flatMap() now both throw exceptions that happen during the execution of the given function

- tryMap() is introduced to turn any exception thrown during the given function's invocation into a failed Try

- orElseMapFailure() is renamed to getOrMapFailure()

- getSuccessfulOrElse() is replaced with tryMap().orElseMapFailure()

Plus a few bits of polish.

Added Javadoc.

  1. … 7 more files in changeset.
Fix integration test

  1. … 3 more files in changeset.
Fail on unpack failure

Previously we used to try a complicated dance to continue even if unpacking a cached result failed. We did this because wanted to avoid a corrupted cache entry breaking a build. However, with real-world usage it looks like hiding these problems causes more grief, and adds quite some complexity to the process. So we are removing this mitigation now.

  1. … 1 more file in changeset.
Merge branch 'master' into lptr/execution/introduce-build-operations

  1. … 1 more file in changeset.
Better names for execution state-related steps

Using LoadExecutionState and StoreExecutionState reflects the symmetry better than what we had before.

  1. … 3 more files in changeset.
Better names for execution state-related steps

Using LoadExecutionState and StoreExecutionState reflects the symmetry better than what we had before.

  1. … 3 more files in changeset.
Remove build operation around ExecutionStep for now

This messes up our test event detection currently, the fix is a bit more elaborate, so we backtrack here temporarily.

  1. … 3 more files in changeset.