controller

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename FileSystemAccess.{update -> write}

    • -4
    • +4
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 15 more files in changeset.
Rename FileSystemAccess.{update -> write}

    • -4
    • +4
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 15 more files in changeset.
Rename FileSystemAccess.{update -> write}

    • -4
    • +4
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 15 more files in changeset.
Rename FileSystemAccess.{update -> write}

    • -4
    • +4
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 15 more files in changeset.
Rename VirtualFileSystem -> FileSystemAccess

    • -7
    • +7
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 53 more files in changeset.
Rename VirtualFileSystem -> FileSystemAccess

    • -7
    • +7
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 53 more files in changeset.
Rename VirtualFileSystem -> FileSystemAccess

    • -7
    • +7
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 53 more files in changeset.
Rename VirtualFileSystem -> FileSystemAccess

    • -7
    • +7
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 53 more files in changeset.
Rename FileMetadata{Snapshot -> }

Snapshot doesn't add anything to the name.

    • -4
    • +4
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 50 more files in changeset.
Replace FileMetadata by FileMetadataSnapshot

    • -3
    • +3
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 16 more files in changeset.
Introduce access type on FileSystemLocationSnapshot

but don't fill it, yet.

    • -2
    • +3
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 23 more files in changeset.
Introduce access type on FileSystemLocationSnapshot

but don't fill it, yet.

    • -2
    • +3
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 23 more files in changeset.
Introduce access type on FileSystemLocationSnapshot

but don't fill it, yet.

    • -2
    • +3
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 23 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

    • -1
    • +1
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 407 more files in changeset.
Fix tests

    • -1
    • +1
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 372 more files in changeset.
Make Groovy happy

    • -1
    • +1
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 1 more file in changeset.
Move BuildCacheCommandFactory to :build-cache

And its implementation to :core (though it should end up in some build-cache-related subproject eventually).

    • -0
    • +171
    ./impl/DefaultBuildCacheCommandFactoryTest.groovy
  1. … 16 more files in changeset.
Remove legacy local cache option

    • -0
    • +258
    ./BuildCacheControllerFactoryTest.groovy
  1. … 9 more files in changeset.
Move BuildCacheControllerFactory to build-cache project

+review REVIEW-6562

    • -261
    • +0
    ./BuildCacheControllerFactoryTest.groovy
  1. … 4 more files in changeset.
Move 'org.gradle.caching' to build-cache

+review REVIEW-6562

    • -340
    • +0
    ./DefaultBuildCacheControllerTest.groovy
  1. … 148 more files in changeset.
Improve error feedback for build cache errors (#2473)

We shouldn't fail the build when we can't package a task's outputs. We should also not fail the build when unpacking some already downloaded outputs.

If there was a failure during unpacking, we can expect the task's output files to be in a messed up state. If this happens, we explicitly clean all of the task's outputs, update the pre-execution output file snapshots, and force the task to execute in non-incremental mode.

This commit also removes the retry logic we had previously when "recoverable" errors were encountered while downloading or uploading cached results. Instead, all errors (except for the aforementioned failed unpacking cleanup errors) are recoverable, and we simply switch off the cache for the build after the first such error.

    • -17
    • +45
    ./DefaultBuildCacheControllerTest.groovy
  1. … 26 more files in changeset.
Fix typos in test

Copy remote cache artifacts into local cache 2

Fixes some issues and improves test coverage

    • -2
    • +0
    ./BuildCacheControllerFactoryTest.groovy
    • -5
    • +27
    ./DefaultBuildCacheControllerTest.groovy
    • -0
    • +86
    ./service/LoadTargetTest.groovy
    • -0
    • +84
    ./service/StoreTargetTest.groovy
  1. … 9 more files in changeset.
Fix/ignore failing tests

    • -0
    • +2
    ./DefaultBuildCacheControllerTest.groovy
  1. … 2 more files in changeset.
Store artifacts from the remote cache in the local cache

When the default local directory build cache is used, we use an optimized

way to store the downloaded artifact in the cache. Using a custom local

cache, or with the local cache disabled, a temporary file will be used

to store the downloaded artifact.

Packing is also separated from uploading to the remote cache. Again,

when the default directory cache is used to store the cached artifact in

the local cache before uploading it to the remote cache. With a custom

local cache, or when a local cache is not enabled, task outputs will be

stored in a temporary file before uploading.

Build operations are emitted separately for packing, unpacking,

uploading and downloading the cache artifact.

    • -9
    • +75
    ./BuildCacheControllerFactoryTest.groovy
    • -61
    • +170
    ./DefaultBuildCacheControllerTest.groovy
  1. … 55 more files in changeset.
Expose rich build operations for build cache activities (#2227)

    • -0
    • +197
    ./BuildCacheControllerFactoryTest.groovy
    • -0
    • +179
    ./DefaultBuildCacheControllerTest.groovy
  1. … 55 more files in changeset.