Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for FROM_CACHE (0.12 sec)

  1. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/execution/ExecuteWorkBuildOperationType.java

             * </ul>
             */
            @Nullable
            String getSkipMessage();
    
            /**
             * If work was UP_TO_DATE or FROM_CACHE, this will convey the ID of the build that produced the outputs being reused.
             * Value will be null for any other outcome.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/ToolingApiGradleExecutor.java

    import java.util.Map;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    import static org.gradle.testkit.runner.TaskOutcome.FAILED;
    import static org.gradle.testkit.runner.TaskOutcome.FROM_CACHE;
    import static org.gradle.testkit.runner.TaskOutcome.NO_SOURCE;
    import static org.gradle.testkit.runner.TaskOutcome.SKIPPED;
    import static org.gradle.testkit.runner.TaskOutcome.SUCCESS;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 14:27:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

                    }
                }
            """
            file("input").text = "input file"
        }
    
        @TargetGradleVersion('>=3.5')
        def "cacheable task is reported as FROM_CACHE"() {
            when:
            def pushToCacheEvents = ProgressEvents.create()
            runCacheableBuild(pushToCacheEvents)
            then:
            !cacheableTaskResult(pushToCacheEvents).fromCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.time.Duration;
    import java.util.Optional;
    
    import static org.gradle.internal.execution.ExecutionEngine.ExecutionOutcome.FROM_CACHE;
    
    public class BuildCacheStep<C extends WorkspaceContext & CachingContext> implements Step<C, AfterExecutionResult> {
        private static final Logger LOGGER = LoggerFactory.getLogger(BuildCacheStep.class);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

    import java.time.Duration
    import java.time.temporal.ChronoUnit
    
    import static org.gradle.internal.execution.ExecutionEngine.Execution
    import static org.gradle.internal.execution.ExecutionEngine.ExecutionOutcome.FROM_CACHE
    
    class BuildCacheStepTest extends StepSpec<TestCachingContext> implements SnapshotterFixture {
        def buildCacheController = Mock(BuildCacheController)
    
        def beforeExecutionState = Stub(BeforeExecutionState)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java

                switch (execution.getOutcome()) {
                    case SHORT_CIRCUITED:
                        return "NO-SOURCE";
                    case FROM_CACHE:
                        return "FROM-CACHE";
                    case UP_TO_DATE:
                        return "UP-TO-DATE";
                    case EXECUTED_INCREMENTALLY:
                    case EXECUTED_NON_INCREMENTALLY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/Tag.java

        String getClassAttr();
    
        String getTitle();
    
        String getUrl();
    
        default boolean isValid() {
            return this != UNTAGGED;
        }
    
        enum FixedTag implements Tag {
            FROM_CACHE("FROM-CACHE", "badge badge-info", "The test is not really executed - its results are fetched from build cache."),
            FAILED("FAILED", "badge badge-danger", "Regression confidence > 99.9% despite retries."),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java

             * same workspace).
             */
            UP_TO_DATE,
    
            /**
             * The outputs of the work have been loaded from the build cache.
             */
            FROM_CACHE,
    
            /**
             * Executing the work was not necessary to produce the outputs.
             * This is usually due to the work having no inputs to process.
             */
            SHORT_CIRCUITED,
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:17 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    === Example: Testing cacheable tasks
    
    [source,groovy,indent=0]
    .BuildLogicFunctionalTest.groovy
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    If this can’t be done right away, using tests that run all tasks contributed by the plugin several times, for e.g. asserting the `UP_TO_DATE` and `FROM_CACHE` behavior, is also a good strategy.
    ====
    
    [[config_cache:requirements]]
    == Requirements
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top