ci: remove Docker Hub credentials from CI services#90
Conversation
Dependabot PRs cannot access repository secrets, causing the credentials block to resolve to empty strings and fail YAML template validation. The redis image is public and self-hosted runners don't hit rate limits.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 44 minutes and 40 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe CI workflow removes Docker Hub credential configuration from the Redis service container in the test job. The Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
test_very_small_timeout asserts elapsed < 50ms but CI thread scheduling jitter pushed it to 51.8ms. Relaxed to 200ms — the test verifies the timeout fires (not that it's fast), so generous bounds are correct.
Fixes GHSA-6w46-j5rx-g56g (pytest /tmp symlink attack) and GHSA-mf9w-mj56-hr94 (python-dotenv cross-device symlink overwrite). Both dev-only dependencies.
Swatinem/rust-cache and actions/cache upload/download from GitHub's cache API, which is pointless on self-hosted runners where target/ and .venv/ persist on disk between runs. Removes ~30s of overhead per job.
Summary
credentialsblock from Redis service container in CI workflowUnexpected value ''at YAML template validation — Dependabot can't access repo secrets, sosecrets.DOCKERHUB_USERNAME/secrets.DOCKERHUB_TOKENresolve to empty stringsTest plan
Summary by CodeRabbit