Skip to content

Render configuration-cache status in the caching Job Summary - #989

Merged
bigdaz merged 1 commit into
mainfrom
gf/render-configuration-cache-status
Jun 13, 2026
Merged

Render configuration-cache status in the caching Job Summary#989
bigdaz merged 1 commit into
mainfrom
gf/render-configuration-cache-status

Conversation

@bigdaz

@bigdaz bigdaz commented Jun 12, 2026

Copy link
Copy Markdown
Member

Render the configuration-cache restore-state in the caching Job Summary, driven by the new CacheReport.configurationCache field produced by the gradle-actions-caching provider.

What's here

  • cache-service.ts: add a ConfigurationCacheStatus type (not-active / restored / not-restored / restore-incomplete) and an optional configurationCache field on CacheReport.
  • caching-report.ts: a CONFIG_CACHE_COPY map and a prominent status line in renderCachingReport, beside the cleanup line. The not-active case links to the #cache-encryption-key docs.

Cross-repo dependency

The field is populated by gradle/actions-caching PR #75 ("Restore configuration-cache support for simple builds"). This rendering compiles independently (it uses this repo's own CacheReport type) and renders nothing until the vendored gradle-actions-caching bundle is refreshed from that branch — so this should land with/after the vendor refresh.

Verification

npm run check clean; full Jest suite (366 tests) passes, including 3 new rendering tests.

🤖 Generated with Claude Code

Add a ConfigurationCacheStatus type and an optional configurationCache
field to the CacheReport interface, and render a prominent line for it in
renderCachingReport (alongside the cleanup line). This surfaces whether the
configuration cache was restored, not restored, restored incompletely, or
inactive (no encryption key) in the Job Summary.

The field is populated by the gradle-actions-caching provider; it arrives
via the vendored-bundle refresh and renders as nothing until then.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bigdaz bigdaz changed the title Render configuration-cache status in the caching Job Summary Configuration-cache support: Job Summary status + integration test Jun 12, 2026
@bigdaz
bigdaz force-pushed the gf/render-configuration-cache-status branch from 3eb7904 to e0fc67a Compare June 12, 2026 22:40
@bigdaz bigdaz changed the title Configuration-cache support: Job Summary status + integration test Render configuration-cache status in the caching Job Summary Jun 12, 2026
@bigdaz
bigdaz merged commit e993c93 into main Jun 13, 2026
261 checks passed
@bigdaz
bigdaz deleted the gf/render-configuration-cache-status branch June 13, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant