From c518feb26804ae2c629fe2309badb12c9fbec11b Mon Sep 17 00:00:00 2001 From: Scott Trinh Date: Wed, 25 Mar 2026 11:24:41 -0400 Subject: [PATCH 1/2] Pin uv for CI investigation Pin setup-uv to 0.11.0 in CI so we can test whether the Python\nbuild failure tracks the uv upgrade.\n\nSplit CI into separate test, example, and build jobs so the Ruby\nexample failure cannot mask the package build result in the same run. --- .github/workflows/ci.yml | 54 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b0f0d1..94313e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,8 @@ on: pull_request: jobs: - lint-test-and-build: - name: lint-test-and-build + lint-and-tests: + name: lint-and-tests runs-on: ubuntu-latest environment: ci env: @@ -22,6 +22,8 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v3 + with: + version: 0.11.0 - name: Set up virtualenv (Python 3.12) run: uv venv --python 3.12 @@ -32,8 +34,56 @@ jobs: - name: Run tests run: ./scripts/test.sh + example-tests: + name: example-tests + runs-on: ubuntu-latest + environment: ci + env: + BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }} + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + version: 0.11.0 + + - name: Set up virtualenv (Python 3.12) + run: uv venv --python 3.12 + + - name: Install dependencies + run: uv pip install -e .[dev] + - name: Run example tests run: ./scripts/test-examples.sh + build-package: + name: build-package + runs-on: ubuntu-latest + environment: ci + env: + BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }} + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + version: 0.11.0 + + - name: Set up virtualenv (Python 3.12) + run: uv venv --python 3.12 + + - name: Install dependencies + run: uv pip install -e .[dev] + - name: Build package run: ./scripts/build.sh From 90416358d6dbeb433545429438453e3ead21299f Mon Sep 17 00:00:00 2001 From: Scott Trinh Date: Wed, 25 Mar 2026 11:43:06 -0400 Subject: [PATCH 2/2] Restore CI job structure Revert the investigation workflow split so this branch matches the\nmain CI job structure while keeping the uv pin in place. --- .github/workflows/ci.yml | 52 ++-------------------------------------- 1 file changed, 2 insertions(+), 50 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94313e7..3c18ce5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,8 @@ on: pull_request: jobs: - lint-and-tests: - name: lint-and-tests + lint-test-and-build: + name: lint-test-and-build runs-on: ubuntu-latest environment: ci env: @@ -34,56 +34,8 @@ jobs: - name: Run tests run: ./scripts/test.sh - example-tests: - name: example-tests - runs-on: ubuntu-latest - environment: ci - env: - BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }} - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install uv - uses: astral-sh/setup-uv@v3 - with: - version: 0.11.0 - - - name: Set up virtualenv (Python 3.12) - run: uv venv --python 3.12 - - - name: Install dependencies - run: uv pip install -e .[dev] - - name: Run example tests run: ./scripts/test-examples.sh - build-package: - name: build-package - runs-on: ubuntu-latest - environment: ci - env: - BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }} - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install uv - uses: astral-sh/setup-uv@v3 - with: - version: 0.11.0 - - - name: Set up virtualenv (Python 3.12) - run: uv venv --python 3.12 - - - name: Install dependencies - run: uv pip install -e .[dev] - - name: Build package run: ./scripts/build.sh