feat(container): add static curl - #83
Conversation
|
Warning Review limit reached
Next review available in: 42 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe image workflow now installs a fixed-version static curl binary, provides it to Docker through a named build context, embeds it in the runtime image, and smoke-tests its user ID, version, and static linking. ChangesStatic curl image integration
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant GitHubActions
participant MiseAction
participant DockerBuild
participant RuntimeImage
participant SmokeTest
GitHubActions->>MiseAction: install configured static-curl
MiseAction-->>GitHubActions: provide curl binary
GitHubActions->>DockerBuild: pass static-curl build context
DockerBuild->>RuntimeImage: copy curl to /usr/bin/curl
SmokeTest->>RuntimeImage: check user, version, and static linking
RuntimeImage-->>SmokeTest: return validation results
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
PR Summary by QodoAdd pinned static curl to distroless image with cached, verified downloads
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Around line 133-134: Update the curl troubleshooting guidance in README.md to
warn that request parameters may contain credentials, private URLs, or user
data. Instruct operators to use sanitized examples and avoid exposing secrets
through shell history, process listings, terminal output, or logs.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: de62e536-9881-4860-8d1a-0e7fab096e95
📒 Files selected for processing (7)
.dockerignore.github/workflows/image.yml.gitignoreDockerfileREADME.mddocs/design.mddocs/notes.md
Code Review by Qodo
Context used✅ Compliance rules (platform):
39 rules 1.
|
5cc8459 to
01e4b18
Compare
01e4b18 to
8cde0f4
Compare
Summary
Verification
Summary by CodeRabbit
New Features
curlutility./usr/bin/curl.Bug Fixes
Documentation