Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-ui-api-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: uv run --no-sync prisma generate --schema litellm/proxy/schema.prisma

- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: "24.16.0"
cache: "npm"
Expand Down
33 changes: 29 additions & 4 deletions .github/workflows/test_server_root_path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
test-server-root-path:
runs-on: ubuntu-latest
# Backstop only. Every step that can stall carries its own cap below, so a
# failure names the step that timed out instead of showing up as a bare
# "cancelled" job 30 minutes later.
timeout-minutes: 30

strategy:
Expand All @@ -36,6 +39,7 @@ jobs:
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0

- name: Build Docker image
timeout-minutes: 12
uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0
with:
context: .
Expand Down Expand Up @@ -102,14 +106,29 @@ jobs:
exit 1

- name: Setup Node for Playwright
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: "24.16.0"
cache: "npm"
cache-dependency-path: ui/litellm-dashboard/package-lock.json

# npm ci below runs in tests/e2e/ui, so key the cache off that
# lockfile; the dashboard lockfile it used to point at is a different
# dependency set and never produced a hit.
cache-dependency-path: tests/e2e/ui/package-lock.json

# Browser install is split from apt and bounded per attempt. Since
# 2026-07-04 `playwright install` has hung indefinitely right after the
# Chrome-for-Testing zip reaches 100%: the bytes arrive (the CDN object is
# intact), then the post-download handoff never completes. The retry
# wrapper from #32406 cannot recover from a hang because no attempt ever
# returns, so the job burned its full 30m cap on every run. `timeout`
# bounds each attempt so a retry can take over, the step cap bounds the
# worst case, and DEBUG=pw:install makes the next failure say where it
# stopped instead of going silent.
- name: Install e2e deps and Chromium
working-directory: tests/e2e/ui
timeout-minutes: 8
env:
DEBUG: pw:install
run: |
retry() {
local attempt=1
Expand All @@ -130,10 +149,16 @@ jobs:
npm config set fetch-retry-maxtimeout 120000

retry npm ci
retry npx playwright install --with-deps chromium

# install-deps is the apt half; keep it outside `timeout` so a SIGTERM
# can never leave a half-applied dpkg state behind.
retry npx playwright install-deps chromium
# 4 attempts x 75s + backoff fits inside the 8m step cap above.
retry timeout 75 npx playwright install chromium

- name: Run SERVER_ROOT_PATH redirect e2e
working-directory: tests/e2e/ui
timeout-minutes: 5
env:
SERVER_ROOT_PATH: ${{ matrix.root_path }}
run: npx playwright test --config=serverRootPath.config.ts
Expand Down
18 changes: 9 additions & 9 deletions ui/litellm-dashboard/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ui/litellm-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"jsdom": "27.4.0",
"knip": "5.83.1",
"openapi-typescript": "7.13.0",
"postcss": "8.5.13",
"postcss": "8.5.18",
"prettier": "3.2.5",
"tailwindcss": "4.3.2",
"tw-animate-css": "1.4.0",
Expand All @@ -90,13 +90,13 @@
"overrides": {
"prismjs": "1.30.0",
"js-yaml": "4.3.0",
"brace-expansion": "5.0.7",
"brace-expansion": "5.0.8",
"glob": "13.0.0",
"minimatch": "10.2.4",
"ws": "8.21.0",
"braces": "3.0.3",
"axios": "1.13.6",
"postcss": "8.5.13",
"postcss": "8.5.18",
"esbuild": "0.28.1",
"date-fns": "^4.4.0",
"sharp": "^0.35.0"
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading