Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'master' into eskatos/ie/rework-error-problem-handling

Add more test coverage for using CopySpec with instant execution.

Reduce the verbosity of some instant execution logging.

  1. … 13 more files in changeset.
Serialize the result of `Provider.flatMap()` to the instant execution cache when the value to be mapped is produced by a task.

  1. … 13 more files in changeset.
Move some `FileTree` construction behind a factory interface.

  1. … 13 more files in changeset.
Simplify visiting filtered file trees to serialize their contents to the instant execution cache.

  1. … 2 more files in changeset.
Serialize the result of `FileCollection.filter()` to the instant execution cache.

  1. … 7 more files in changeset.
Refine InstantExecutionProblemsException message

as it now covers problems happening in the whole build

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1 more file in changeset.
Polish `InstantExecutionProjectAccessListener`

by extracting explaining functions

Signed-off-by: Paul Merlin <paul@gradle.com>

Remove dead code

Signed-off-by: Paul Merlin <paul@gradle.com>

Fix error trace in InstantExecutionError message

aligned with reported problems

Signed-off-by: Paul Merlin <paul@gradle.com>

Extract problems collection and handling from report

and simplify build finished problems handling

Signed-off-by: Paul Merlin <paul@gradle.com>

Discard state when build fails because of state serialization problems

that is when `failOnProblems=true`, the default, and problems are found

when serializing causing the build to fail

when failOnProblems=false the state is not discarded

and simplify InstantExecutionReport exception handling

Signed-off-by: Paul Merlin <paul@gradle.com>

Serialize the result of `FileCollection.minus()` to the instant execution cache.

Rework the visiting of the structure of a `FileCollection` so that intermediate children (for example a `SubtractingFileCollection`) are exposed to the visitor and the visitor can make a decision whether to continue with the visiting or not.

  1. … 14 more files in changeset.
Simplify InstantExecutionProblemsFixture

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1 more file in changeset.
Make ktlint happy

Signed-off-by: Paul Merlin <paul@gradle.com>

Merge branch 'master' into eskatos/ie/rework-error-problem-handling

  1. … 1 more file in changeset.
Refine InstantExecutionProblemsFixture

by simplifying its usage from tests

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1 more file in changeset.
Let `InstantExecutionCacheFingerprintController` decide which file collection fingerprinter

Simplify BeanPropertyWriter and TaskNodeCodec

by removing boolean return based error handling when writing

because it is not needed anymore

since store now fails fast on state serialization errors

Signed-off-by: Paul Merlin <paul@gradle.com>

Simplify PropertyProblem

by conflating the sealed class hierarchy that now has a single concrete

member into a simple data class

Signed-off-by: Paul Merlin <paul@gradle.com>

Polish `InstantExecutionCacheFingerprintController`

- remove unnecessary `inner` modifier

- throw exceptions with an easily recognisable message

- better names

Rename `InstantExecution{FingerprintChecker => CacheFingerprintChecker}`

For consistency.

Polish `InstantExecutionCacheFingerprintController`

- Model writing state transitions explicitly

- Choose better names

Simplify exception hierarchy

by showing all problems detail in exception message,

removing intermediate exceptions, not discarding stacktraces.

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1 more file in changeset.
Store fails fast on state serialization errors

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1 more file in changeset.
Let only `InstantExecutionCacheFingerprintController` depend on Gradle services

Polish invalidation reason message for buildSrc task input

Extract `InstantExecutionCacheFingerprint` sealed type hierarchy to a separate file

Serialize `CopySpec.rename()` actions to the instant execution cache.

  1. … 6 more files in changeset.
Serialize the actions passed to `CopySpec.eachFile()`, `filesMatching()` and `filesNotMatching()` to the instant execution cache.

  1. … 3 more files in changeset.