Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Software Model @UnsupportedWithInstantExecution

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

    • -7
    • +2
    ./RuleTaskCreationIntegrationTest.groovy
  1. … 76 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -7
    • +7
    ./RuleTaskCreationIntegrationTest.groovy
  1. … 872 more files in changeset.
Move the functional tests for concurrent usage of build services into a separate test class, and fix for instant execution.

    • -60
    • +0
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 10 more files in changeset.
Add a method to `Task` to allow runtime registration of the services that the task will use.

This is intended really just to be a placeholder for some kind of API where the usage can be declared.

Remove the `requiresResource()` methods from `AbstractTask`. In particular, remove the ability to express "how much" of the resource the task will use. For now, assume that usage by each task has equal weight.

    • -10
    • +10
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 6 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

    • -10
    • +6
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 21 more files in changeset.
Annotate integ tests failing with instant execution in :core

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

    • -0
    • +7
    ./RuleTaskCreationIntegrationTest.groovy
  1. … 99 more files in changeset.
Fix WithRuleBasedTasks

Fix RuleTaskCreationIntegrationTest

    • -2
    • +2
    ./RuleTaskCreationIntegrationTest.groovy
Use "american" spelling of word

Signed-off-by: Mark Vieira <portugee@gmail.com>

    • -1
    • +1
    ./ParallelTaskExecutionIntegrationTest.groovy
Add an outgoing variants report

This commit introduces an `outgoingVariants` task which generates

a report of the outgoing variants of a project. This is useful

for debugging and understanding variant aware resolution.

It becomes possible for a plugin author to understand what variants

are already produced by a project based on the plugins applied, and

what artifacts are attached to what variant.

    • -1
    • +1
    ./RuleTaskBridgingIntegrationTest.groovy
  1. … 9 more files in changeset.
Add integration test coverage for shared resources

Signed-off-by: Mark Vieira <portugee@gmail.com>

    • -0
    • +64
    ./ParallelTaskExecutionIntegrationTest.groovy
Check for already registered model in TaskContainer

A ModelMap<Task> is a shadow version of the TaskContainer inside the

software model. Although difficult, it is possible to create an element

in ModelMap<Task> before creating the same element in TaskContainer.

This creates a duplicate instance that, in some case, cause both

instance to be used in the task graph causing issues.

    • -0
    • +35
    ./RuleTaskBridgingIntegrationTest.groovy
  1. … 1 more file in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./RuleTaskCreationIntegrationTest.groovy
    • -1
    • +1
    ./RuleTaskExecutionIntegrationTest.groovy
  1. … 97 more files in changeset.
Fix integ tests after new buit-in task

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

    • -1
    • +1
    ./RuleTaskBridgingIntegrationTest.groovy
  1. … 3 more files in changeset.
Fix integration tests that relied on placeholder behavior

    • -58
    • +1
    ./RuleTaskBridgingIntegrationTest.groovy
    • -4
    • +10
    ./RuleTaskExecutionIntegrationTest.groovy
  1. … 6 more files in changeset.
Expect errors in tests to appear durign task execution

We are not evaluating the properties during task graph build time now.

    • -1
    • +1
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 2 more files in changeset.
Introduce TaskDestroyables.register()

This deprecates the `file()` and `files()` methods we had previously. Also, the getter for files has been moved to the internal API.

    • -7
    • +7
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 10 more files in changeset.
Adjust test which used a task name that is now invalid

    • -3
    • +13
    ./RuleTaskCreationIntegrationTest.groovy
Fix issue with enforced tasks and task graph exception

Fixes issue #2407 where an exception thrown while walking a task

graph with a finalizer can cause the build to hang.

    • -0
    • +31
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 3 more files in changeset.
Tweaked the API of `BlockingHttpServer` to make it somewhat more convenient to use in tests.

    • -31
    • +31
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 15 more files in changeset.
Remove checks for @destroys logging output as it's not guaranteed to occur

    • -20
    • +2
    ./ParallelTaskExecutionIntegrationTest.groovy
More test coverage for destroys annotation

    • -0
    • +48
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 1 more file in changeset.
Rename destroys to destroyables and add incubating annotations

    • -5
    • +5
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 17 more files in changeset.
Always include a contextual 'cannot determine dependencies for task' error message when the dependencies of a task cannot be calculated. Sometimes this was not included in the logging output.

    • -1
    • +2
    ./RuleTaskBridgingIntegrationTest.groovy
  1. … 4 more files in changeset.
Basic support for no-isolation workers

    • -0
    • +2
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 15 more files in changeset.
Simplified test case.

    • -17
    • +6
    ./ParallelTaskExecutionIntegrationTest.groovy
Basic support for @Destroys annotation

    • -0
    • +123
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 16 more files in changeset.
Introduce a resource lock coordination service

- convert worker leases to resource locks

- atomically lock project and worker lease when selecting a task to execute

- change task execution plan to lock around resource lock state

    • -0
    • +1
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 76 more files in changeset.
Review and improve tests that require exact ordering of tasks

    • -9
    • +11
    ./RuleTaskBridgingIntegrationTest.groovy
  1. … 23 more files in changeset.
Enable parallel task execution by default

    • -2
    • +13
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 3 more files in changeset.