Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 75 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.
Enable parallel task execution by default

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

    • -1
    • +0
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 26 more files in changeset.
Remove @ParallelizableTask

    • -1
    • +0
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 26 more files in changeset.
Change project lock service to only use synchronous locking methods

    • -0
    • +270
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 12 more files in changeset.
Use project locking to parallelize tasks with async work

- Allow tasks to start while running tasks are waiting on async work

- Lock on the entire build when --parallel is not used

- Discontinue handling of @ParallelizableTask

    • -0
    • +217
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 40 more files in changeset.
Use project locking to parallelize tasks with async work

- Allow tasks to start while running tasks are waiting on async work

- Lock on the entire build when --parallel is not used

- Discontinue handling of @ParallelizableTask

    • -0
    • +217
    ./ParallelTaskExecutionIntegrationTest.groovy
  1. … 40 more files in changeset.
Improved performance of tasks report (#854)

Improve performance of tasks report

The changed report will only render visible tasks, the ones that have a group assigned to them. To show hidden tasks as well, the ones without a group assignment, the command line option --all needs to be provided. When generating the report, task dependencies are not walked anymore. The tasks report does not render dependencies as indented nodes but as a flat list of nodes.

    • -2
    • +2
    ./RuleTaskCreationIntegrationTest.groovy
  1. … 19 more files in changeset.
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -10
    • +10
    ./RuleTaskBridgingIntegrationTest.groovy
    • -1
    • +1
    ./RuleTaskCreationIntegrationTest.groovy
    • -2
    • +4
    ./RuleTaskExecutionIntegrationTest.groovy
  1. … 161 more files in changeset.
Fixed test for changes to error message.

    • -1
    • +1
    ./RuleTaskCreationIntegrationTest.groovy
Allow scalar collections and bridged tasks to be viewed as `ModelElement`.

    • -0
    • +70
    ./RuleTaskBridgingIntegrationTest.groovy
  1. … 7 more files in changeset.
Fix integration tests

+review REVIEW-5921

    • -2
    • +2
    ./RuleTaskBridgingIntegrationTest.groovy
    • -5
    • +5
    ./RuleTaskCreationIntegrationTest.groovy
Restore ability to have dots in `ModelPath` components

This fixes a regression, where tasks could have dots in names.

+review REVIEW-5921

    • -2
    • +0
    ./RuleTaskCreationIntegrationTest.groovy
  1. … 3 more files in changeset.
Temporarily disable test

+review REVIEW-5921

    • -0
    • +2
    ./RuleTaskCreationIntegrationTest.groovy
Simplified implementation of task selection from names provided on command line.

Implementation can delegate to existing methods on `TaskContainerInternal` and does not need to use the `ModelRegistry` directly.

Also avoid discovering tasks multiple times when selecting tasks using camel case matching on a single project (eg `gradle core:intT`).

    • -1
    • +1
    ./RuleTaskCreationIntegrationTest.groovy
  1. … 2 more files in changeset.
Some minor changes to test coverage for task definition from rules.

    • -6
    • +4
    ./RuleTaskBridgingIntegrationTest.groovy
    • -1
    • +1
    ./RuleTaskExecutionIntegrationTest.groovy
Changed bridging of tasks between rules and legacy land so that tasks are not made immutable when they are accessed by name from legacy land.

Instead, tasks are transitioned so that their initializer rules are executed, but mutation and later rules are not executed. These rules are executed when the tasks are added to the task execution graph.

    • -1
    • +153
    ./RuleTaskBridgingIntegrationTest.groovy
  1. … 9 more files in changeset.
Moved some tests between test cases.

    • -1
    • +112
    ./RuleTaskBridgingIntegrationTest.groovy
    • -107
    • +0
    ./RuleTaskCreationIntegrationTest.groovy