Lóránt Pintér

Improve upgrade documentation

Clean local state in CacheStep

Clean local state in CacheStep

Actually enforce rebuilding the work

Previously we removed the history, too, which is incorrect.

Further simplify CacheHandler

CacheHandler doesn't need to be concerned with errors at all.

Further simplify CacheHandler

CacheHandler doesn't need to be concerned with errors at all.

Handle all load failures as recoverable

Rename method

Merge branch 'master' into lptr/execution/cleanup-after-failed-unpack-from-cache

Address review comments

Remove now-incorrect `@Nullable` annotations

Remove now-incorrect `@Nullable` annotations

Fix test

Migrate remaining tests from SkipCachedTaskExecuterTest to CacheStepTest

Force non-incremental execution after cache load failure

Previously when handling a failed load we did clean the outputs of the work, but ended up allowing incremental execution nevertheless. This is now fixed.

  1. … 9 more files in changeset.
Remove unnecessary listener

Use optional in CacheHandler.load()

Fix tests

Add Try.getSuccessfulOrElse()

Deprecate the use of custom local build caches

We are removing this option because custom local caches complicate the architecture unnecessarily. By always expecting a DirectoryBuildCache we can simplify things a lot. We'll remove the option completely in 6.0.

    • -0
    • +6
    /subprojects/docs/src/docs/release/notes.md
Force non-incremental execution after cache load failure

  1. … 8 more files in changeset.
Force non-incremental execution after cache load failure

  1. … 8 more files in changeset.
Force non-incremental execution after cache load failure

  1. … 8 more files in changeset.
Notify about changing outputs early

We can do this as soon as we've decided that the outputs will change, i.e. when we already know that we can't entirely skip executing the work. This removes some duplicate code, too.

Notify about changing outputs early

We can do this as soon as we've decided that the outputs will change, i.e. when we already know that we can't entirely skip executing the work. This removes some duplicate code, too.

Merge pull request #8730 from gradle/lptr/execution/simplify-prepare-cache-step

Simplify preparing caching

Simplify preparing caching

Merge pull request #8729 from gradle/lptr/execution/incrementality-integrationn-tests

Move only execution integration test to integTest source set

Move only execution integration test to integTest source set

Merge pull request #8711 from gradle/lptr/execution/incrementality-followup

Incremental execution follow-up