Repository navigation
ci: route npm and gem installs through the download proxy - #7833
Conversation
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
|
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 31 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
PR Summary by QodoRoute npm and gem installs through the CI download proxy
AI Description
Diagram
High-Level Assessment
Files changed (45)
|
Code Review by QodoResolved findings 1.
|
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
|
Qodo finding not fixed:
(Claude, for @viceice) |
The finding remains technically valid, although it may not affect the current npm client path.
If npm always constructs these URLs without queries, this is not an npm-install regression today; however, the proxy still mishandles query-bearing tarball requests. The finding’s recommended fix and test remain appropriate, or it could be dismissed as out of scope if query-bearing tarball URLs are intentionally unsupported. |
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
|
🎉 This PR is included in version 14.44.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
CONTAINERBASE_CDN_NPMandCONTAINERBASE_CDN_GEM, so npm and gem installs of the container tests go through the proxynginx.conf:Acceptheader: npm installs request the abbreviated packument, the CLI's lookups the full one from the same url/<pkg>/-/<file>.tgz(also scoped) goes toregistry.npmjs.org: npm rewrites tarball urls withnew URL(pathname, registry), which drops the/registry.npmjs.orgprefixdocker-bake.hclpasses the two new build args; only the test images that install node, ruby or npm/gem tools declare them (distro, latest, node, readonly, ruby)test.shchecks npm packuments (bothAcceptvariants), plain and scoped npm tarballs and gem requestspip stays out for now (needs
PIP_TRUSTED_HOSTand link rewriting).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.
CI and proxy changes 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