Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Determine caching state and calculate cache key in execution engine

This also moves logging while building the cache key to the execution engine. As a consequence transforms can also log how their cache keys are being built.

    • -87
    • +0
    ./DebuggingTaskOutputCachingBuildCacheKeyBuilder.java
    • -71
    • +0
    ./DefaultTaskCacheKeyCalculator.java
    • -142
    • +0
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
    • -33
    • +0
    ./TaskOutputCachingBuildCacheKey.java
    • -39
    • +0
    ./TaskOutputCachingBuildCacheKeyBuilder.java
  1. … 51 more files in changeset.
Remove unused method

    • -17
    • +4
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
  1. … 1 more file in changeset.
Remove unused method

    • -17
    • +4
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
  1. … 1 more file in changeset.
Undo rename of TaskProperties

  1. … 22 more files in changeset.
Move more things to properties package

  1. … 34 more files in changeset.
Some polishing

  1. … 24 more files in changeset.
Get rid of TaskPropertySpecs in property package

  1. … 55 more files in changeset.
Move persistNewOutput() out to TaskExecution

    • -0
    • +71
    ./DefaultTaskCacheKeyCalculator.java
  1. … 9 more files in changeset.
Calculate cache key where we need it

  1. … 8 more files in changeset.
Use BeforeExecutionState

Instead of CurrentTaskWExecution, as the distinction is not needed anymore.

  1. … 9 more files in changeset.
Move change detection to execution project

  1. … 65 more files in changeset.
Remove remaining task-related utils class

  1. … 4 more files in changeset.
Move build cache packaging and execution to build-cache-packaging

With this change the build cache becomes independent of tasks, so that in future it can be used to cache things like artifact transforms and Kotlin build scripts via a unified interface.

    • -249
    • +0
    ./TaskOutputCacheCommandFactory.java
    • -32
    • +0
    ./UnrecoverableTaskOutputUnpackingException.java
    • -120
    • +0
    ./origin/TaskOutputOriginFactory.java
    • -25
    • +0
    ./origin/TaskOutputOriginReader.java
    • -23
    • +0
    ./origin/TaskOutputOriginWriter.java
  1. … 62 more files in changeset.
Move value snapshot implementations to snapshots project

    • -1
    • +1
    ./DebuggingTaskOutputCachingBuildCacheKeyBuilder.java
    • -1
    • +1
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
    • -1
    • +1
    ./TaskOutputCachingBuildCacheKeyBuilder.java
  1. … 93 more files in changeset.
Move ValueSnapshotter and friends to snapshots project

  1. … 54 more files in changeset.
Break up FingerprintingStrategy.Identifier

  1. … 13 more files in changeset.
Replace deprectated `IOUtils.closeQuietly` uses with `IoActions.closeQuietly`

  1. … 19 more files in changeset.
Propagate input hashes as byte arrays to the build scan plugin (#6937)

    • -0
    • +5
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
  1. … 3 more files in changeset.
Better reporting on non-cacheable inputs (#6872)

    • -3
    • +3
    ./DebuggingTaskOutputCachingBuildCacheKeyBuilder.java
    • -21
    • +11
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
    • -1
    • +1
    ./TaskOutputCachingBuildCacheKeyBuilder.java
  1. … 14 more files in changeset.
Use MD5 as the default hashing function

    • -1
    • +1
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
  1. … 37 more files in changeset.
Move all hashing-related stuff to base-services

- Renamed existing Hasher -> PrimitiveHasher

- Renamed BuildCacheHasher -> Hasher (this is the one that prefixes hashed data with the length of the data to avoid collisions)

    • -3
    • +3
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
  1. … 71 more files in changeset.
Use separate types for implementation snapshots

    • -6
    • +2
    ./DebuggingTaskOutputCachingBuildCacheKeyBuilder.java
    • -4
    • +2
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
  1. … 5 more files in changeset.
Disable caching when lambda is used as input

We disable caching an up-to-date checks whenever a lambda is used as

input.

    • -3
    • +3
    ./DebuggingTaskOutputCachingBuildCacheKeyBuilder.java
    • -25
    • +10
    ./DefaultTaskOutputCachingBuildCacheKeyBuilder.java
    • -1
    • +1
    ./TaskOutputCachingBuildCacheKeyBuilder.java
  1. … 20 more files in changeset.
Some more renames

  1. … 24 more files in changeset.
Rename PhysicalSnapshot -> FileSystemLocationSnapshot

So the naming is similar to what we use in the Provider domain.

  1. … 35 more files in changeset.
Remove FileSystemSnapshotter.exists

We can now directly use the FileCollectionFingerprints to determine

the declared output paths for `TaskOutputFilesRepository`, so no need

to re-check if a file exists - we directly use the output snapshots.

  1. … 16 more files in changeset.
Drop Physical from Physical*Snapshot

  1. … 39 more files in changeset.
Move snapshotting files to own package

  1. … 131 more files in changeset.
Track less state in MerkleTreeSnapshotBuilder

  1. … 10 more files in changeset.
Keep empty fingerprint instance in Identifier

  1. … 5 more files in changeset.