gradle / gradle-enterprise-build-validation-scripts

Executable scripts to assist in validating that your Gradle and Maven builds are in an optimal state in terms of maximizing work avoidance when using Develocity.
https://gradle.com/develocity
Apache License 2.0
77 stars 23 forks source link

Consider configuring `failIfNotFullyCacheable` to `true` by default in the composite workflows #596

Open erichaagdev opened 3 months ago

erichaagdev commented 3 months ago

failIfNotFullyCacheable: true should be the default behavior and failIfNotFullyCacheable: false should be the exception.

If a user forgets to configure failIfNotFullyCacheable: true they will have a false sense of security thinking their build is optimized when it may not be.

This would be a breaking change, but only if failIfNotFullyCacheable is not already configured and the user's build has cache misses. It's reasonable to assume those cases are a misconfiguration.