fix: serveFromStore does a guaranteed-miss S3 lookup on every cache hit #78
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
serveFromStore(internal/proxy/engine.go:250) first callsstore.Download(ctx, artifact.ContentHash[len(\"sha256:\"):])— passing the bare hash as an S3 key when real keys areblobs/sha256/<hash>(BlobKey). That first call effectively always 404s, then it retries with the correctBlobKey. Every cached blob serve pays an extra round-trip. Drop the first attempt.