Repository navigation
ci: keep the download proxy connections to the package registries open - #7834
Conversation
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
PR Summary by QodoReuse download proxy connections to npm and RubyGems
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
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 10 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Code Review by Qodo
1. Registry DNS failures stop CI downloads
|
|
Qodo finding not fixed:
(Claude, for @viceice) |
The objection is partly valid: stale DNS is less significant because the proxy only runs for one job. However,
So the later-address-change concern is secondary, but the startup dependency remains a real failure mode. Dynamic resolution would preserve connection reuse without making proxy startup depend on both registry lookups succeeding at that exact moment. |
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
|
🎉 This PR is included in version 14.44.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
keepaliveforregistry.npmjs.organdrubygems.org, plusproxy_set_header Connection '', so the proxy reuses its connections to the registriesproxy_pass https://$upstream_host/…picks the upstream group of the same name, other hosts are unchangedAfter #7833 the node test job got slower (3m55s vs. 3m02s / 3m37s): 2275 npm requests through the proxy, 1739 cache misses, each with a new TLS connection to the registry.
Context
Please select one of the following:
Part of #7827.
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.
Proxy config change written with Claude Code (Claude Opus 5.5).
Use of AI in replying to PR comments
Who answers review comments:
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
🤖 Generated with Claude Code
Summary by CodeRabbit