Skip to content

Conversation

@kiview
Copy link
Member

@kiview kiview commented Jan 5, 2022

Through the Dependabot update of Jedis to 4.0.1, we saw that our testMatrix Gradle task falsely populates the cache for the test execution, although the tests are actually not executed.

This PR adds an additional input to the test tasks during testMatrix execution, so we can ensure that we will end up with a different cache key, as opposed to the actual execution of tests.

@kiview kiview requested review from bsideup and rnorth as code owners January 5, 2022 12:43
Copy link
Member

@rnorth rnorth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable to me, but as you suggested separately I'd agree that this testMatrix approach deserves a revisit to see if it's truly scaling well for us.

@bsideup bsideup added this to the next milestone Jan 5, 2022
@kiview kiview changed the title Add additional task input for test execution in testMatrix task to avoid wrong cache hits Reinstate usage of READ_ONLY_REMOTE_GRADLE_CACHE to avoid wrong cache hits Jan 5, 2022
@kiview kiview merged commit e42a37d into master Jan 5, 2022
@delete-merged-branch delete-merged-branch bot deleted the ci-matrix-fix-cache branch January 5, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants