litellm/.github
Cursor Agent 52562f018e
build(ui): build Admin UI from source in every Docker image and on PyPI publish
The Next.js bundle under litellm/proxy/_experimental/out has historically been
checked into the repository so the proxy could ship a pre-built dashboard.
This bloated the repo (~21 MB of generated artifacts) and made every UI PR
unreviewable because npm-rebuilt hashed asset filenames showed up as massive
diffs.

Wire every code path that produces a distributable artifact to rebuild the UI
from source instead:

- docker/build_admin_ui.sh now always builds the UI (no more enterprise-only
  early exit), copies it to litellm/proxy/_experimental/out, and restructures
  HTML so extensionless /ui routes work.
- docker/Dockerfile.alpine and docker/Dockerfile.non_root now invoke
  build_admin_ui.sh (the other Dockerfiles already did). non_root drops its
  bespoke restructure loop since the build script handles it.
- .github/workflows/publish_to_pypi.yml builds the UI before 'uv build' so
  the published wheel/sdist still ships the dashboard.
- ui/litellm-dashboard/build_ui.sh creates the destination dir if missing and
  restructures HTML routes the same way the Docker pipeline does.
- ui/litellm-dashboard/build_release_ui.sh no longer commits artifacts to
  git; it just delegates to docker/build_admin_ui.sh.

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
2026-05-04 22:17:31 +00:00
..
actions/helm-oci-chart-releaser chore: fixes 2026-04-05 01:30:57 -07:00
codeql [Infra] Improve CodeQL scanning coverage and schedule 2026-03-27 12:04:09 -07:00
ISSUE_TEMPLATE docs: document new github + gitlab ci scripts 2026-03-25 20:17:10 -07:00
observatory Add observatory test workflow for RC/stable releases 2026-03-01 15:30:09 -03:00
screenshots fix(team_endpoints): auto-add SSO team members to org on move (proxy admin only) (#26377) 2026-04-24 08:36:25 -07:00
scripts style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
workflows build(ui): build Admin UI from source in every Docker image and on PyPI publish 2026-05-04 22:17:31 +00:00
dependabot.yaml chore: fixes 2026-04-05 01:30:57 -07:00
deploy-to-aws.png Add files via upload 2023-10-25 16:33:53 -07:00
FUNDING.yml Update FUNDING.yml 2023-09-22 09:51:35 -07:00
pull_request_template.md docs: update pull_request_template to add Linear ticket mentioning 2026-04-27 17:31:03 -07:00
template.yaml (chore) cleanup 2024-02-09 09:28:13 -08:00