Skip to content

Remove GHA cache from test job to fix prod build times#498

Merged
damianmoore merged 1 commit intomasterfrom
fix/remove-test-docker-cache
Apr 10, 2026
Merged

Remove GHA cache from test job to fix prod build times#498
damianmoore merged 1 commit intomasterfrom
fix/remove-test-docker-cache

Conversation

@damianmoore
Copy link
Copy Markdown
Member

Summary

  • Remove cache-from/cache-to from the test job's Docker build step
  • The test + prod caches combined exceed GitHub's 10GB cache limit, causing prod cache entries to be evicted (LRU)
  • This forces the multi-platform prod build to rebuild from scratch (~39 min instead of ~1 min when cached)
  • The test cache provides minimal benefit — the image is ephemeral and code layers change every push

Test plan

  • Verify test job still builds and runs successfully (just without cache)
  • Verify prod build-and-push hits cache on subsequent runs (should drop from ~39 min to ~1 min)

🤖 Generated with Claude Code

The test and prod Docker caches combined exceed GitHub's 10GB cache
limit, causing prod cache entries to be evicted via LRU. This forces
the multi-platform prod build to rebuild from scratch (~39 min instead
of ~1 min). The test cache provides minimal benefit since the image is
ephemeral and code layers change every push.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@damianmoore damianmoore merged commit f6da747 into master Apr 10, 2026
2 checks passed
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