mirror of
https://github.com/gradle/actions.git
synced 2026-06-28 22:38:27 +00:00
cbc6f4a545
Render the caching report from structured CacheReport data using a single unified layout, replacing the three divergent code paths (NoOp / basic / enhanced) that previously each rendered their own markdown. Every variant now shares one skeleton: a section heading (`#### <icon> Gradle Caching — <Provider> (<status>)`), a status line, an integrated provider note, and an expandable cache-entry-details section. The Enhanced/Basic provider note is woven into the report under the heading and is now shown unconditionally (no longer gated on license acceptance). The two disabled variants (explicitly disabled, and skipped due to a pre-existing Gradle User Home) render as compact callouts with no expandable section. - caching-report.ts: new central renderer + all framing copy. - cache-service.ts: CacheReport/CacheEntryReport/status types; save() returns CacheReport. - cache-service-loader.ts: NoOp returns a CacheReport, drop LicenseWarningCacheService, add getProviderNote(). - cache-service-basic.ts: build a CacheReport, so basic caching now also gets expandable entry details. - job-summary.ts / setup-gradle.ts: thread CacheReport + ProviderNote. - configuration.ts: remove now-unused isCacheLicenseAccepted(). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>