VerifyNoInputChangesTaskExecuterTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Support rich task inputs (#3720)

@Nested inputs are now discovered based on the runtime type instead of the static type.

    • -145
    • +0
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 150 more files in changeset.
Add task path to task output build cache key (#2668)

    • -2
    • +18
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 18 more files in changeset.
Revert "Log the task when there’s an uncaught exception during execution"

This reverts commit d3790d4f63c484447487b2fbe41fdc907665d41d.

    • -5
    • +7
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 4 more files in changeset.
Log the task when there’s an uncaught exception during execution

Previously if there was an exception during task execution, we didn’t always log the task name with the exception.

    • -7
    • +5
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 4 more files in changeset.
Make task path computation lazy

The task path is only used when a task is executed. We can make task

creation cheaper by not computing paths up-front.

    • -1
    • +1
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 6 more files in changeset.
Remove InvalidTaskOutputCachingBuildCacheKey

+review REVIEW-6435

    • -4
    • +7
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 9 more files in changeset.
Move caching related classes to caching.internal

+review REVIEW-6435

    • -0
    • +1
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 15 more files in changeset.
Report task input hashes when caching (#1175)

Add a listener which can be used to capture input hashes created by task caching. We use that listener to log the hashes on the info log level.

We also retire BuildCacheKeyBuilder. Instead, we introduce BuildCacheHasher, which should be used to calculate hashes which are part of the BuildCacheKey. Since BuildCacheHasher only does the hashing now in a well defined way when calculating hashes for the BuildCacheKey this seemed like the right direction to go.

Now, the build cache key is calculated before the inputs are saved into the repository, therefore the error when unable to serialize task input properties happens while calculating the hash key.

+review REVIEW-6435

    • -9
    • +36
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 37 more files in changeset.
Remove unused import

+review REVIEW-6402

    • -1
    • +0
    ./VerifyNoInputChangesTaskExecuterTest.groovy
Show task which changed inputs during execution

+review REVIEW-6402

    • -2
    • +4
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 2 more files in changeset.
Move everything build cache related to `org.gradle.caching`

+review REVIEW-6396

    • -1
    • +1
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 89 more files in changeset.
Move public build cache API to public packages

+review REVIEW-6392

    • -1
    • +1
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 48 more files in changeset.
Rename TaskCacheKey to BuildCacheKey

+review REVIEW-6392

    • -3
    • +3
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 30 more files in changeset.
Rename VerifyNoInputChangesDuringExecutionTE

+review REVIEW-6383

    • -0
    • +97
    ./VerifyNoInputChangesTaskExecuterTest.groovy
  1. … 4 more files in changeset.