Use a unique cache entry for wrapper-validation test (#921)

This is necessary to avoid loading a cache entry from a different test,
where the allowed wrapper checksums might have been cached, causing the
wrapper validation to unexpectedly succeed.
This commit is contained in:
Daz DeBoer
2026-03-31 22:16:59 -06:00
committed by GitHub
parent 263d8fe18e
commit 0b8fa27eb1
2 changed files with 2 additions and 0 deletions
@@ -36,5 +36,6 @@ export async function validateWrappers(
)
}
// TODO: Should not be caching the ALLOWED_GRADLE_WRAPPER_CHECKSUMS as they should only apply to the present run
checksumCache.save(result.valid.map(wrapper => wrapper.checksum))
}