Skip to content

fix(registry): bound Docker Hub metadata requests on v1.7 - #1273

Merged
scttbnsn merged 2 commits into
dev/v1.7from
fix/v1.7-hub-metadata-timeout
Oct 3, 2026
Merged

scttbnsn merged 2 commits into
dev/v1.7from
fix/v1.7-hub-metadata-timeout

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Original test-first proof in fix(registry): bound Docker Hub metadata requests #1272: five assertion failures before the fix, including a real delayed HTTP response resolving instead of timing out.
  • All 159 focused tests passed on the 1.7 dependency tree across the Hub provider, configuration, HTTP retry helper, image comparison and container processing.
  • Biome and diff checks passed.
  • Full normal pre-push passed in 321.99 seconds: configured app/UI coverage, both builds, UI typecheck, static checks, script/workflow/website tests and Zizmor.

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

  • 🐛 Fixed Docker Hub metadata requests to use getRegistryRequestTimeoutMs().
  • ✨ Added tests for default, numeric, and invalid timeout configuration.
  • ✨ Added a stalled-response test that verifies ECONNABORTED.

Concerns

  • Review findings: unavailable.
  • Test and verification status: unavailable from the supplied change summary.

@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: CodesWhat/drydock/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 99a552be-a4d6-4174-b245-e4e63a545223
📥 Commits

Reviewing files that changed from the base of the PR and between c57ecbb and b0e428a.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (2)
  • app/registries/providers/hub/Hub.test.ts
  • app/registries/providers/hub/Hub.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: CodesWhat/drydock/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 230c6b34-42ff-4ada-b555-1fda4a76be82

📥 Commits

Reviewing files that changed from the base of the PR and between 9b40cc1 and c57ecbb.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (2)
  • app/registries/providers/hub/Hub.test.ts
  • app/registries/providers/hub/Hub.ts

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The 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 ECONNABORTED.

Priority: ⬇️ Low

Change: Bug fix

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
drydock-website Ready Ready Preview Sep 19, 2026 4:19am UTC
drydockdemo-website Ready Ready Preview Sep 19, 2026 4:19am UTC

@codecov

codecov Bot commented Sep 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn
scttbnsn marked this pull request as ready for review September 19, 2026 04:39

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@vercel

vercel Bot commented Oct 3, 2026

Copy link
Copy Markdown

Deployment failed for project drydockdemo-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@vercel

vercel Bot commented Oct 3, 2026

Copy link
Copy Markdown

Deployment failed for project drydock-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@scttbnsn
scttbnsn merged commit 2943eb3 into dev/v1.7 Oct 3, 2026
@scttbnsn
scttbnsn deleted the fix/v1.7-hub-metadata-timeout branch October 3, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants