Slackbot
05/24/2023, 11:16 AMVampire
05/24/2023, 11:30 AMAndrea Di Menna
05/24/2023, 11:31 AMAndrea Di Menna
05/24/2023, 11:32 AMVampire
05/24/2023, 11:36 AM:redacted:generateReleaseProto
was served FROM-CACHE
but gave that error? o_O That sounds pretty impossible. o_OAndrea Di Menna
05/24/2023, 11:40 AMVampire
05/24/2023, 12:04 PMMikhail Lopatkin
05/24/2023, 12:35 PMwas servedThe error can come frombut gave that error?FROM-CACHE
onlyIf
or doNotCacheIf
predicates which are also evaluated at execution time even if the task ends up FROM-CACHE (I don't know if this is the case for the protobuf plugin, adding just to clarify)Andrea Di Menna
05/24/2023, 12:36 PMFROM-CACHE
. I have now updated to the latest protobuf gradle plugin and the error did not show up. But I will try again locally switching to version 0.9.1
and re-running the taskVampire
05/24/2023, 12:37 PMAndrea Di Menna
05/24/2023, 12:45 PMAndrea Di Menna
05/24/2023, 12:46 PMcom.google.protobuf.gradle.GenerateProtoTask$_closure1.doCall(GenerateProtoTask.groovy:107)
Andrea Di Menna
05/24/2023, 12:51 PMcom.google.protobuf.gradle.GenerateProtoTask.getIsTest(GenerateProtoTask.groovy:482)
which was fixed in the new version I am using.Vampire
05/24/2023, 1:31 PMgetIsTest
which was an @Input
up to and including 0.9.2, but was made @Internal
with 0.9.3Vampire
05/24/2023, 1:32 PMVampire
05/24/2023, 1:32 PMMikhail Lopatkin
05/24/2023, 1:44 PMorg.gradle.configuration-cache.internal.load-after-store=false
set up somewhere by chance? The way protobuf plugin used getProject
before the fix doesn't seem to be problematic for CC otherwise. I'm asking because it may indicate a bug in Gradle, if there's no parameter tweaking on your side.Andrea Di Menna
05/24/2023, 2:46 PMAndrea Di Menna
05/24/2023, 4:26 PM