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

Gradle-property-induced CC invalidations have an unhelpful error message #25541

Closed
ZacSweers opened this issue Jun 28, 2023 · 4 comments · Fixed by #29940
Closed

Gradle-property-induced CC invalidations have an unhelpful error message #25541

ZacSweers opened this issue Jun 28, 2023 · 4 comments · Fixed by #29940
Assignees
Labels
a:bug in:configuration-cache Configuration Caching re:comprehensibility reasonable errors and warnings, clear dsl, mental overload
Milestone

Comments

@ZacSweers
Copy link

ZacSweers commented Jun 28, 2023

Expected Behavior

I would expect it to tell me which properties have changes so I can diagnose the cause

Current Behavior

The message just says that "the set of properties" changed, with no indication of which

Calculating task graph as configuration cache cannot be reused because the set of Gradle properties has changed.

Context (optional)

A major issue with gradle is vague or opaque error messages that only indicate something is wrong but not enough context to be actionable. This is one example.

Steps to Reproduce

Change a gradle property used as an input during a build with CC enabled

Gradle version

8.2-rc-2

Build scan URL (optional)

No response

Your Environment (optional)

No response

Tasks

No tasks being tracked yet.
@ZacSweers ZacSweers changed the title Gradle property induced CC changes have an unhelpful error message Gradle-property-induced CC invalidations have an unhelpful error message Jun 28, 2023
@ov7a ov7a added in:configuration-cache Configuration Caching in:problems problems api 👋 team-triage Issues that need to be triaged by a specific team labels Jul 3, 2023
@ov7a
Copy link
Member

ov7a commented Jul 3, 2023

Thank you for your interest in Gradle!

This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.


CC, do you need any additional information for this issue?

@ov7a ov7a removed the to-triage label Jul 3, 2023
@mlopatkin mlopatkin removed the 👋 team-triage Issues that need to be triaged by a specific team label Jul 11, 2023
@ov7a ov7a added re:comprehensibility reasonable errors and warnings, clear dsl, mental overload and removed in:problems problems api labels Oct 5, 2023
@BMukhtar
Copy link

any news on this issue, having the same problem ?

@mlopatkin
Copy link
Member

The issue is in the backlog of the relevant team and is prioritized by them.

@ZacSweers
Copy link
Author

Two canned responses on the same issue 9 months apart feels like a sign that I should just close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug in:configuration-cache Configuration Caching re:comprehensibility reasonable errors and warnings, clear dsl, mental overload
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants