mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-26 22:30:11 +00:00
* feat(lens): isolate trace storage and investigation in a Rust service
* fix(lens): include Rust sources in the image build context
* feat(lens): wire service setup, scoped delivery receipts and lease attempts
* fix(lens): complete service routing and reject stale investigation results
* fix(lens): retry key propagation and validate isolated Compose setup
* fix(lens): seed through isolated ingestion and preserve upstream queue fixes
* chore: sync schema.prisma copies from root
* fix(lens): bind nullable due timestamps as text for Prisma
* chore(ui): remove stale lint suppressions
* fix(lens): address CI failures and review findings
* refactor(lens): remove retired Python worker and run evaluations in Rust
* fix(lens): reuse control connections and satisfy review checks
* test(lens): install and upgrade both Helm charts on Kubernetes
* test(lens): run connection reuse coverage as an integration test
* fix(ui): upgrade Next.js to 16.3.8 security release
* fix(lens): fence stale attempts and preserve reviewed evidence
* Revert "fix(ui): upgrade Next.js to 16.3.8 security release"
This reverts commit 2f79a51b25.
* fix(lens): stop failed investigations and stream history excerpts
* test(lens): cover model tool and result contracts
* test(lens): fix retired routes and reuse installation build artifacts
* test(lens): use portable grep in Helm installation smoke
* test(lens): wait for migrations before forwarding Helm services
* fix(lens): keep failed evidence reads retryable
* fix(lens): preserve sandbox output during process exit
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
94 lines
3.7 KiB
YAML
94 lines
3.7 KiB
YAML
name: Lens installation smoke
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: lens-install-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-images:
|
|
runs-on: ubuntu-latest-16-cores
|
|
timeout-minutes: 45
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- component: gateway
|
|
dockerfile: gateway/Dockerfile
|
|
- component: backend
|
|
dockerfile: backend/Dockerfile
|
|
- component: ui
|
|
dockerfile: ui/Dockerfile
|
|
- component: migrations
|
|
dockerfile: migrations/Dockerfile
|
|
- component: monolith
|
|
dockerfile: Dockerfile
|
|
- component: worker
|
|
dockerfile: deploy/lens/Dockerfile
|
|
env:
|
|
COMPONENT: ${{ matrix.component }}
|
|
DOCKERFILE: ${{ matrix.dockerfile }}
|
|
steps:
|
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
|
with:
|
|
persist-credentials: false
|
|
- name: Build the matching release image
|
|
run: |
|
|
docker build --build-arg LITELLM_RELEASE_TAG=v0.0.0-lens-ci \
|
|
-f "$DOCKERFILE" -t "lens-ci-$COMPONENT:v0.0.0-lens-ci" .
|
|
- name: Save the matching release image
|
|
run: |
|
|
docker save "lens-ci-$COMPONENT:v0.0.0-lens-ci" \
|
|
| gzip -1 > "$RUNNER_TEMP/lens-install-$COMPONENT.tar.gz"
|
|
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
with:
|
|
name: lens-install-${{ matrix.component }}-${{ github.sha }}
|
|
path: ${{ runner.temp }}/lens-install-${{ matrix.component }}.tar.gz
|
|
compression-level: 0
|
|
retention-days: 3
|
|
if-no-files-found: error
|
|
overwrite: true
|
|
|
|
helm-install:
|
|
needs: build-images
|
|
runs-on: ubuntu-latest-16-cores
|
|
timeout-minutes: 25
|
|
steps:
|
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
|
|
with:
|
|
pattern: lens-install-*-${{ github.sha }}
|
|
merge-multiple: true
|
|
path: ${{ runner.temp }}/lens-install-images
|
|
- name: Load the matching release images
|
|
run: |
|
|
for component in gateway backend ui migrations monolith worker; do
|
|
archive="$RUNNER_TEMP/lens-install-images/lens-install-$component.tar.gz"
|
|
gzip -dc "$archive" | docker load
|
|
rm "$archive"
|
|
done
|
|
- name: Install pinned Kubernetes test tools
|
|
run: |
|
|
curl --fail --location --output "$RUNNER_TEMP/kind" \
|
|
https://kind.sigs.k8s.io/dl/v0.27.0/kind-linux-amd64
|
|
echo "a6875aaea358acf0ac07786b1a6755d08fd640f4c79b7a2e46681cc13f49a04b $RUNNER_TEMP/kind" | sha256sum --check
|
|
chmod +x "$RUNNER_TEMP/kind"
|
|
curl --fail --location --output "$RUNNER_TEMP/kubectl" \
|
|
https://dl.k8s.io/release/v1.32.2/bin/linux/amd64/kubectl
|
|
echo "4f6a959dcc5b702135f8354cc7109b542a2933c46b808b248a214c1f69f817ea $RUNNER_TEMP/kubectl" | sha256sum --check
|
|
chmod +x "$RUNNER_TEMP/kubectl"
|
|
curl --fail --location --output "$RUNNER_TEMP/helm.tar.gz" \
|
|
https://get.helm.sh/helm-v3.19.0-linux-amd64.tar.gz
|
|
echo "a7f81ce08007091b86d8bd696eb4d86b8d0f2e1b9f6c714be62f82f96a594496 $RUNNER_TEMP/helm.tar.gz" | sha256sum --check
|
|
tar -xzf "$RUNNER_TEMP/helm.tar.gz" -C "$RUNNER_TEMP"
|
|
echo "$RUNNER_TEMP" >> "$GITHUB_PATH"
|
|
echo "$RUNNER_TEMP/linux-amd64" >> "$GITHUB_PATH"
|
|
- name: Install, ingest, upgrade, and restart both charts
|
|
run: bash tests/e2e/migrations/lens_helm_smoke.sh
|