Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommandLineWithOutputValue breaks configuration cache #408

Open
Hiraev opened this issue Sep 22, 2024 · 3 comments
Open

CommandLineWithOutputValue breaks configuration cache #408

Hiraev opened this issue Sep 22, 2024 · 3 comments

Comments

@Hiraev
Copy link

Hiraev commented Sep 22, 2024

I have an empty project with configuration cache enabled. Configuration cache works while Gradle daemon is alive.
But when I stop all Gradle daemons and restart task Gradle doesn't reuse configuration cache and prints next message:

Calculating task graph as configuration cache cannot be reused because a build logic input of type 'CommandLineWithOutputValue' has changed.

Simple workaround is just disabling some metrics that uses CommandLineWithOutputValue.

talaiot {
    metrics {
        gitMetrics = false
        processMetrics = false
    }
}

Environment:

  • macOs Sonoma 14.1
  • Gradle 8.5 (same problem with latest Gradle 8.10.1)
  • openjdk-22.0.2
  • Talaiot 2.0.5
@cdsap
Copy link
Owner

cdsap commented Nov 6, 2024

Hi @Hiraev, thank you and sorry for the delay, I can reproduce the issue

@cdsap
Copy link
Owner

cdsap commented Nov 7, 2024

@Hiraev released version 2.0.6 with a fix for this issue covering processes and git metrics

@cdsap
Copy link
Owner

cdsap commented Nov 8, 2024

can I close the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants