The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
ci: gate stable and RC releases on the Redis chaos load test
Kerry Lua8d017180079
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.ymlindex 0ad84cd3ceb..bdc1810f204 100644--- a/.github/workflows/create-release.yml+++ b/.github/workflows/create-release.yml@@ -15,11 +15,14 @@ on:permissions: {}jobs:- release:- name: Create Release+ # Stable and RC tags are gated on the Redis chaos load test; dev, nightly, alpha and beta+ # tags are cut too often to spend a multi-minute chaos run on each one, and the weekly+ # schedule already covers the default branch.+ gate:+ name: Validate inputs and decide whether this tag is gatedruns-on: ubuntu-latest- permissions:- contents: write+ outputs:+ gated: ${{ steps.decide.outputs.gated }}steps:- name: Validate inputsenv:@@ -35,6 +38,37 @@ jobs:exit 1fi+ - name: Decide+ id: decide+ env:+ TAG: ${{ inputs.tag }}+ run: |+ if echo "${TAG}" | grep -qiE '(nightly|alpha|beta|[-.]dev)'; then+ echo "gated=false" >> "$GITHUB_OUTPUT"+ echo "${TAG} is a pre-release that skips the chaos gate"+ else+ echo "gated=true" >> "$GITHUB_OUTPUT"+ echo "${TAG} is a stable or RC tag and must pass the chaos gate"+ fi++ redis-chaos-gate:+ name: Redis Chaos E2E+ needs: gate+ if: needs.gate.outputs.gated == 'true'+ permissions:+ contents: read+ uses: ./.github/workflows/test-e2e-redis-chaos.yml+ with:+ ref: ${{ inputs.commit_hash }}++ release:+ name: Create Release+ needs: [gate, redis-chaos-gate]+ if: always() && needs.gate.result == 'success' && (needs.redis-chaos-gate.result == 'success' || needs.redis-chaos-gate.result == 'skipped')+ runs-on: ubuntu-latest+ permissions:+ contents: write+ steps:- name: Create releaseenv:TAG: ${{ inputs.tag }}diff --git a/.github/workflows/test-e2e-redis-chaos.yml b/.github/workflows/test-e2e-redis-chaos.ymlindex 0880c1fb464..9deca013603 100644--- a/.github/workflows/test-e2e-redis-chaos.yml+++ b/.github/workflows/test-e2e-redis-chaos.yml@@ -4,6 +4,12 @@ on:schedule:- cron: "0 12 * * 6"workflow_dispatch:+ workflow_call:+ inputs:+ ref:+ description: "Commit SHA or ref to test. Defaults to the ref the workflow was triggered on"+ required: false+ type: stringpermissions:contents: read@@ -45,6 +51,7 @@ jobs:- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:persist-credentials: false+ ref: ${{ inputs.ref || github.sha }}- name: Set up Pythonuses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0