Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use a relative path to a build script that is used as a the location for a configuration cache problem.

  1. … 25 more files in changeset.
Use the build script or plugin identity as the location for configuration cache problems that happens from within a task action added as a closure.

  1. … 2 more files in changeset.
Use the build script or plugin identity as the location for configuration cache problems that happens from within a task action added as a closure.

  1. … 2 more files in changeset.
Report TaskExecutionListener registrations as configuration cache problems

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

  1. … 4 more files in changeset.
Fix configuration cache cleanup test flakiness

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

Fix previous commit.

  1. … 7 more files in changeset.
Fix previous commit.

  1. … 7 more files in changeset.
Fix previous commit.

  1. … 7 more files in changeset.
Treat the plugin or script where a configuration cache problem happens as the location for the problem and apply this to both undeclared system property reads and listener registrations.

Also capture the location for user code registered for various callbacks.

  1. … 6 more files in changeset.
Treat the plugin or script where a configuration cache problem happens as the location for the problem and apply this to both undeclared system property reads and listener registrations.

Also capture the location for user code registered for various callbacks.

  1. … 6 more files in changeset.
Treat the plugin or script where a configuration cache problem happens as the location for the problem and apply this to both undeclared system property reads and listener registrations.

Also capture the location for user code registered for various callbacks.

  1. … 6 more files in changeset.
Capture the plugin or script location for undeclared system property reads and include in the problem description.

  1. … 4 more files in changeset.
Capture the plugin or script location for undeclared system property reads and include in the problem description.

  1. … 4 more files in changeset.
Capture the plugin or script location for undeclared system property reads and include in the problem description.

  1. … 4 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

  1. … 10 more files in changeset.
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

  1. … 10 more files in changeset.
Introduce InstantExecutionCache with cache cleanup

LRU cleanup with a 7 days max last access time.

File locks required on LOAD because cleanup or a matching STORE could be

running in another daemon.

File locks required on STORE because a matching STORE could be running

in another daemon.

This commit doesn't change the fact that two separate operations are

required on LOAD, first for the fingerprint check, second for loading

the state.

It means two file locks on LOAD. The cached entry (fingerprint + file)

is marked as accessed under their respective file lock. This prevents a

cleanup running in another daemon to delete the cached entry between the

two cache operations.

In the same vein, this commit doesn't change the fact that the cache is

not additive. In other words, it is still possible that entries get

overwritten: same cache key, different fingerprint.

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

Polish DefaultInstantExecution

by tightening member visibility

by adding missing TODO keyword to existing comment

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

Move GradleVersion from cache path to configuration cache key

in order to simplify cleanup, manual or automatic

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<hash>/state.bin

.gradle/configuration-cache/<hash>/fingerprint.bin

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

Change cache layout to group state & fingerprint in a directory

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<gradle-version>/<hash>/state.bin

.gradle/configuration-cache/<gradle-version>/<hash>/fingerprint.bin

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

Merge branch 'release'

  1. … 1 more file in changeset.
Let problem for ref to other task link to corresponding doc section

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

Let composite builds problem link to corresponding documentation section

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

  1. … 1 more file in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

  1. … 1 more file in changeset.
Some edits of the configuration cache chapter.

  1. … 1 more file in changeset.
Fixes for fixture changes.

  1. … 2 more files in changeset.
More checks.

  1. … 5 more files in changeset.
Coverage for configuration cache self-disable

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

Let configuration cache disable itself on unsupported tasks

denoted with an annotation on the task

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

  1. … 1 more file in changeset.