Repository navigation
fix(registry): bound Docker Hub metadata requests on v1.7 - #1273
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 24 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. Review configuration: ⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: CodesWhat/drydock/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Docker Hub provider now passes the shared registry request timeout to metadata requests. Tests cover the 30,000 ms default, numeric string parsing, invalid configuration fallback, and an HTTP response that exceeds a configured 100 ms timeout and rejects with Priority: ⬇️ Low Change: Bug fix 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
biggest-littlest
left a comment
There was a problem hiding this comment.
Reviewed the exact forward port and regression tests. CodeRabbit completed its first source review with no findings, and the full local gate passed. Keep the 1.6 fix ahead of this port.
|
Deployment failed for project drydockdemo-website with the following error: |
|
Deployment failed for project drydock-website with the following error: |
Fix
Forward-port #1272 onto
dev/v1.7. Docker Hub publish-date metadata requests now use the configured outbound HTTP timeout, so a stalled response cannot indefinitely hold up container discovery.The provider and regression test files are byte-identical to the 1.6 fix. Authentication, TLS, redirect restrictions, rate limiting, bounded retries and publish-date failure handling stay unchanged.
Verification
Keep this behind the 1.6 fix in release order. This addresses a reproduced missing timeout, not a proven root cause of the historical Cucumber failure on #1269.
Changelog
getRegistryRequestTimeoutMs().ECONNABORTED.Concerns