name: "Unit Tests: Proxy Management-Endpoint Behavior Pinning" on: pull_request: branches: - main - litellm_internal_staging - litellm_oss_branch - "litellm_**" permissions: contents: read id-token: write pull-requests: write concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: proxy-mgmt-behavior: uses: ./.github/workflows/_test-unit-services-base.yml with: test-path: tests/proxy_behavior # workers=0 (no xdist): the world seed is a single shared Postgres # state — two xdist workers both call seed_world() and race on the # ``behavior-pin-budget`` row, producing UniqueViolation + cascading # missing-membership FK failures. The whole suite is ~7s sequentially, # so the cost of disabling parallelism here is negligible. workers: 0 reruns: 0 enable-postgres: true artifact-name: proxy-mgmt-behavior timeout-minutes: 15