ci: add trusted Gradle cache policy [WPB-27819] - #5137
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5137 +/- ##
========================================
Coverage 52.77% 52.77%
========================================
Files 659 659
Lines 23589 23589
Branches 3881 3881
========================================
Hits 12448 12448
Misses 9994 9994
Partials 1147 1147 Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
@claude review |
Review:
|
https://wearezeta.atlassian.net/browse/WPB-27819
Goal
Reduce CI cache restore time and prevent untrusted or release workflows from reading or writing shared Gradle state.
What changed
gradle/actions/setup-gradle.Cache trust model
developdevelopdevelopImpact
Develop and trusted PR builds can reuse smaller, Gradle-aware cache segments without repeatedly restoring the previous 8+ GB archive. Release, generation, fork, and unrelated branch workflows do not consume shared Gradle cache state.
Validation