github falcondev-oss/github-actions-cache-server v9.5.0

latest release: v9.6.0
4 hours ago

Notable Changes

GitHub Enterprise Server (GHES) Support

The OIDC token issuer used to verify GitHub Actions tokens is now configurable via ACTIONS_TOKEN_ISSUER (default: https://token.actions.githubusercontent.com). This lets the cache server run against GitHub Enterprise Server instances, which serve their own Actions token issuer. Signature verification stays mandatory — the JWKS endpoint is derived from the configured issuer.

Prometheus Metrics

A new /metrics endpoint exposes basic Prometheus metrics, including default Node.js process metrics plus:

  • cache_requests_total{result="hit"|"miss"} — cache download-URL lookups by result (a restore-key prefix match counts as a hit)
  • cache_uploads_total — uploads finalized into cache entries

ℹ️ Metrics are per-process. The shipped image runs a single worker per container (NITRO_CLUSTER_WORKERS=1) — scale with replicas and aggregate in PromQL.

Protobuf / Twirp API Support

The server now handles the newer protobuf-encoded Twirp CacheService requests (CreateCacheEntry, FinalizeCacheEntryUpload, GetCacheEntryDownloadURL) in addition to JSON. This unblocks clients like sccache and newer actions/cache releases that speak protobuf.

Configurable S3 Request Timeout

The S3 socket timeout is now configurable via STORAGE_S3_SOCKET_TIMEOUT_MS (default: 10000, previously a hardcoded 3000). Helps with slower or higher-latency S3-compatible backends that were hitting spurious timeouts.

Storage Reliability Improvements

Two changes make concurrent upload/download/cleanup safer:

  • Atomically visible uploads replace the old merge-promotion step, so a cache entry becomes visible only once its storage is fully written.
  • Reader and merge leases protect active downloads, preventing cleanup jobs from deleting storage that an in-flight download is still reading.

⚠️ These should not break existing deployments. If you run into any issues, please feel free to create an issue.

Commits

   ✨ Enhancements

   🐛 Fixes

   🔧 Chore

   📦 Build

   ✅ Tests

   🤖 CI

    View changes on GitHub

Don't miss a new github-actions-cache-server release

NewReleases is sending notifications on new releases.