Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use Deleter when removing outputs before execution

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

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

  1. … 5 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. … 6 more files in changeset.
Use Deleter to remove local state when loading from cache

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

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

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

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

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

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

  1. … 2 more files 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. … 4 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. … 2 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. … 6 more files in changeset.
Better names for execution state-related steps

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

    • -0
    • +56
    ./gradle/internal/execution/steps/LoadExecutionStateStep.java
    • -0
    • +86
    ./gradle/internal/execution/steps/StoreExecutionStateStep.java
  1. … 6 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. … 5 more files in changeset.
Interrupt task workers when build is cancelled

This allows arbitrary tasks to respond to cancellation, the same

way that task timouts are handled. The task only needs to respond

to interrupts in order to be cancellable. No additional public API

is required.

  1. … 1 more file in changeset.
Interrupt task workers when build is cancelled

This allows arbitrary tasks to respond to cancellation, the same

way that task timouts are handled. The task only needs to respond

to interrupts in order to be cancellable. No additional public API

is required.

  1. … 1 more file in changeset.
Remove unnecessary import

How did this end up there?

Add comment about the operations being temporary only

Add test for new snapshotting operations

  1. … 1 more file in changeset.
Capture output snapshotting after execution as build operation

(Need to add tests)

  1. … 4 more files in changeset.
Capture output snapshotting after execution as build operation

(Need to add tests)

  1. … 4 more files in changeset.
Capture input/output snapshotting before execution as build operation

  1. … 6 more files in changeset.
Capture input/output snapshotting before execution as build operation

  1. … 6 more files in changeset.
First variant of capturing execution time

  1. … 8 more files in changeset.
First variant of capturing execution time

    • -0
    • +49
    ./gradle/internal/execution/steps/BuildOperationStep.java
  1. … 8 more files in changeset.
First variant of capturing execution time

  1. … 8 more files in changeset.