build(ui): bump nginx to 1.31-alpine - #38541
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
PR #38541 (BerriAI/litellm, author |
Greptile SummaryUpdates the Admin UI runtime image from nginx 1.27-alpine to 1.31-alpine.
Confidence Score: 5/5The PR appears safe to merge because the nginx version bump preserves the existing container contract and no actionable regression was identified. The changed image tag is consumed by the existing nginx runtime stage, while the repository’s static-serving configuration and container test path remain compatible and unchanged.
|
| Filename | Overview |
|---|---|
| ui/Dockerfile | Changes only the nginx runtime release tag; no concrete build, startup, serving, or repository-rule regression was identified. |
Reviews (1): Last reviewed commit: "build(ui): bump nginx to 1.31-alpine" | Re-trigger Greptile
TLDR
Problem this solves:
litellm_internal_stagingNODE_VERSIONtoUI_BUILD_IMAGEin ui/Dockerfile, conflicting with the same linesHow it solves it:
User Flow
Before: an operator building the UI image gets nginx 1.27, which stopped receiving security updates on 24 Jun 2025
docker build -f ui/Dockerfile -t litellm-ui .docker run --rm litellm-ui nginx -vprintsnginx/1.27.xAfter: the same build produces a supported nginx
docker build -f ui/Dockerfile -t litellm-ui .docker run --rm litellm-ui nginx -vprintsnginx/1.31.xRelevant issues
Replaces #34831 (conflict resolution; original branch lives on a fork we cannot push to)
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
The original PR carried a full docker build + curl proof (nginx -v prints 1.31.x,
curl -I http://localhost:3000/returns 200, clean startup logs). Docker Hub is blocked from this environment (network allowlist), so that run could not be repeated here; the change itself is the identical one line image tag bump, and Greptile scored the original 5/5Type
🚄 Infrastructure
Caveats (if any)
Low
Final Attestation
Link to Devin session: https://app.devin.ai/sessions/d62b9c8d88e64b89ac75a4581de4d98f
Open in Devin Desktop: https://app.devin.ai/desktop/session/d62b9c8d88e64b89ac75a4581de4d98f?variant=devin