perf: remove sandbox image cache (~4.5 min overhead)#2796
Conversation
The sandbox image cache never provides a net time savings. The cache key is based on the image name (not its digest), so the cached tar is always stale. Every run pays the full cycle: restore, load, pull, save, upload (~4.5 min) when a bare pull takes ~30s. Remove the cache/restore, load, save, and cache/save steps entirely. Drop skopeo (only used for digest comparison in the cache logic). Simplify the pre-pull step to a straight podman pull. Closes #2222 Signed-off-by: Ralph Bean <rbean@redhat.com> Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
bb696b1 to
112cee6
Compare
PR Summary by QodoRemove sandbox image tar cache and skopeo from GitHub Action pre-pull
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Site previewPreview: https://f4827c9b-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · ✅ Success · Started 7:28 PM UTC · Completed 7:36 PM UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Looks good to me Labels: PR removes sandbox image caching infrastructure from the composite action (CI performance) Previous runLooks good to me Labels: PR modifies sandbox image caching in the composite action (CI infrastructure) |
rh-hemartin
left a comment
There was a problem hiding this comment.
Code (and fix) are the least run agents, and the other do not use the code image, but the base one. Drop the pull entirely and let the sandbox do its work.
The code and fix agents that use the fullsend-code image are the least frequently run agents, and the others use the base image. Let the sandbox pull the image on demand rather than pre-pulling it in the action setup. Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
|
🤖 Review · ❌ Terminated · Started 6:40 PM UTC · Ended 6:49 PM UTC |
|
🤖 Finished Review · ✅ Success · Started 6:40 PM UTC · Completed 6:49 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 6:14 AM UTC · Completed 6:21 AM UTC |
Retro: PR #2796 — Remove sandbox image cacheTimeline: Human-authored PR by Key finding: The review agent missed a valid optimization opportunity that a human caught. The human's insight required operational knowledge about which agents use which container images and how frequently each agent type runs. The review agent evaluated the diff as correct (which it was) but couldn't assess whether the change went far enough because it lacked this runtime/infrastructure context. 1 proposal filed (review agent CI infrastructure awareness). No proposals were skipped as duplicates, though #2235 (verify PRs achieve stated goals given deployment environment) is thematically adjacent — it addresses tool availability rather than runtime topology and usage patterns. Proposals filed
|
Summary
action.yml— it adds ~4.5 min overhead per run without saving pull timeskopeoinstall (only used for digest comparison in the cache logic)podman pull(~30s)Closes #2222
Test plan
🤖 Generated with Claude Code