chore(ui): rebuild Next.js bundle on rc/1.94.0 so the Cost Optimization page ships - #34216
Merged
Merged
Conversation
Contributor
|
Too many files changed for review. ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant issues
Follow-up to #34215, which backported #33810 and #33733 onto
rc/1.94.0but left the Next.js bundle stale.The proxy serves the prebuilt bundle out of
litellm/proxy/_experimental/out/, and nothing in the request path ever runsnext build, so the Cost Optimization page and its left-nav entry that #33810 added existed as source on the branch but were absent from what a deployed image actually serves. This rebuilds the bundle on the line so the shipped artifact matches the shipped source.Built from the tip of
rc/1.94.0(8423efc5fa) with a clean tree and no other changes, viaui/litellm-dashboard/build_release_ui.shon node v20.20.2, which is the same node version as the previous artifacts commit on this branch. The single commit is the script's own output and is confined entirely tolitellm/proxy/_experimental/out/.Linear ticket
Pre-Submission checklist
No tests accompany this because it carries no source changes; it is generated build output, and the tests that cover the underlying feature landed with #34215.
What is included
One commit,
chore: update Next.js build artifacts (2026-07-22 02:58 UTC, node v20.20.2), 513 files, all underlitellm/proxy/_experimental/out/. Most of it is routine chunk-hash churn from a fresh build. The part that matters is the new route:and the new daily-activity fields compiled into the chunks:
Neither the route nor those field names existed in the bundle before this commit, which is what confirms the rebuild actually picked up the backported page rather than just reshuffling hashes.
Screenshots / Proof of Fix
To confirm the served bundle, not the dev server, run a proxy off this branch against a database that has the #34215 migrations applied, then:
rc/1.94.0as it stands today that entry is missing, because the bundle predates the pagecurl -s http://localhost:4000/ui/cost-optimization/index.html | headshould return the page rather than a 404The underlying read path was already exercised live on #34215; a real completion produced
total_spend: 0.000135across 3 requests and/user/daily/activityreturnedtotal_compression_saved_tokens,total_compression_savings_spend, andtotal_prompt_caching_savings_spend. This PR is what makes that data reachable from the dashboard.Type
🚄 Infrastructure
Changes
Generated build output only. No source, no dependency, and no schema changes.