-
Notifications
You must be signed in to change notification settings - Fork 52
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
koverCachedVerify failure due to incorrect paths in the .artifact file #633
Comments
Hi, Unfortunately, it's hard to say anything without seeing the full Kover configuration for all projects. |
Actually I don't know why the repro project wasn't working earlier. I updated OP with a repro project, it seems to happen all the time from a clean build on that project. |
I think I found the root cause. The cacheKey of the I've got a buildScan to prove that theory here You can see the cacheKey for And the cacheKey of I tried adding Line 45 in f8d3b5e
|
Fixed in |
Describe the bug
Sporadically, in a medium-to-large project which has a couple of included builds, the
koverCachedVerify
of some android modules will fail due to having inputs from tasks that it didn't declare.The error below is the result, of the bug, but I think the bug is further upstream in the Gradle plugin.
When I look at the files in
included-build/project-a/build/kover/.artifact
,included-build/project-a/build/kover/debug.artifact
andincluded-build/project-a/build/kover/release.artifact
they all contain the followingErrors
I guess as a result of the
.artifact
files having the wrong paths in them, the following gradle error appears.Expected behavior
The paths in the
.artifact
files ofproject-a
to point to directories inproject-a
rather than directories in project-bReproducer
I have attached a project which is able to reproduce this issue 100% for me.
When I run
./gradlew check
in the root directorykover-repro-project.zip
It might be worth noting that I have
org.gradle.caching=true
set in~/.gradle/gradle.properties
so gradle build cache caching is enabled for this buildReports
If applicable, report files or screenshots.
Environment
The text was updated successfully, but these errors were encountered: