ci: reduce Docker Hub rate limit pressure#709
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 147bc9c. Configure here.
|
On it. I'll spawn a worker to fix the testcontainers Redis image reference in |
Replace `Redis::default().with_tag("latest")` with a GenericImage
pointing to `public.ecr.aws/docker/library/redis:latest`, consistent
with the ECR mirror already set in docker-compose.yml (PR #709).
This avoids Docker Hub pull-rate-limit failures in CI by sourcing the
Redis image from ECR Public instead of docker.io.
|
The fix is done and pushed. Here's what was changed in commit
No other Docker Hub Redis/Postgres references were found in test code — other testcontainer usages already used |
|
The subagent just cleaned up its workspace. Everything is done — no further action needed. |

Summary
This switches the repo off Docker Hub for its in-repo public image references by using AWS ECR Public mirrors instead.
ECR Public image mapping
postgres:latest→public.ecr.aws/docker/library/postgres:latestredis:latest→public.ecr.aws/docker/library/redis:latestWhy this approach
cargo-denyaction is replaced with nativecargo-deny, so that step also no longer depends on Docker Hub.What was pushed successfully
docker-compose.ymlWhat could not be pushed by this GitHub App token
.github/workflows/rust-ci.yml(403: missingworkflowspermission)The full intended patch is included verbatim below so the remaining workflow change can be applied manually if needed.
Full patch
Note
Low Risk
Low risk: changes only affect local/dev and integration-test container image sources and Redis testcontainer startup, not production logic. Main risk is CI/test flakiness if the mirrored images or readiness message differ from the upstream tags.
Overview
Switches in-repo Docker image references from Docker Hub to the AWS ECR Public mirrors for
postgres:latestandredis:latest(indocker-compose.yml) to reduce pull-rate limit failures.Updates gateway integration tests to start Redis via
testcontainersusing aGenericImagepointed atpublic.ecr.aws/docker/library/redis:latest, including explicit port exposure and a stdout readiness wait, and adjusts types accordingly.Reviewed by Cursor Bugbot for commit 7d8279c. Bugbot is set up for automated code reviews on this repo. Configure here.