From eb16606a36e29d82b00e2d77e7cd3033d33ff9b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 22 Jan 2026 19:29:28 +0100 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=94=A8=20Update=20generate-client.sh?= =?UTF-8?q?=20and=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/README.md | 2 +- scripts/generate-client.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/README.md b/frontend/README.md index 74724e5fe5..7b50d58b3f 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -48,7 +48,7 @@ But it would be only to clean them up, leaving them won't really have any effect * From the top level project directory, run the script: ```bash -./scripts/generate-client.sh +bash ./scripts/generate-client.sh ``` * Commit the changes. diff --git a/scripts/generate-client.sh b/scripts/generate-client.sh index 62741099ce..e3dfcb791b 100644 --- a/scripts/generate-client.sh +++ b/scripts/generate-client.sh @@ -4,8 +4,8 @@ set -e set -x cd backend -python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()))" > ../openapi.json +uv run python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()))" > ../openapi.json cd .. mv openapi.json frontend/ -npm run -w frontend generate-client -npm run lint +bun run -w frontend generate-client +bun run lint From 6d162683781caa77d3cb1387039be084d2b9ef98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 22 Jan 2026 19:31:28 +0100 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=91=B7=20Update=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/generate-client.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/generate-client.yml b/.github/workflows/generate-client.yml index 04e500ad64..f359faedfa 100644 --- a/.github/workflows/generate-client.yml +++ b/.github/workflows/generate-client.yml @@ -33,9 +33,8 @@ jobs: run: bun ci - run: uv sync working-directory: backend - - run: uv run bash scripts/generate-client.sh + - run: bash scripts/generate-client.sh env: - VIRTUAL_ENV: backend/.venv SECRET_KEY: just-for-generating-client POSTGRES_PASSWORD: just-for-generating-client FIRST_SUPERUSER_PASSWORD: just-for-generating-client From fdfc7459d2821c07be70f0f205ed51fa535efc44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 22 Jan 2026 19:34:14 +0100 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=94=A8=20Tweak=20generate=20client=20?= =?UTF-8?q?script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/generate-client.yml | 3 --- scripts/generate-client.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/generate-client.yml b/.github/workflows/generate-client.yml index f359faedfa..26303fb2d6 100644 --- a/.github/workflows/generate-client.yml +++ b/.github/workflows/generate-client.yml @@ -26,9 +26,6 @@ jobs: python-version: "3.10" - name: Install uv uses: astral-sh/setup-uv@v7 - with: - version: "0.4.15" - enable-cache: true - name: Install dependencies run: bun ci - run: uv sync diff --git a/scripts/generate-client.sh b/scripts/generate-client.sh index e3dfcb791b..dc7640bcb4 100644 --- a/scripts/generate-client.sh +++ b/scripts/generate-client.sh @@ -7,5 +7,5 @@ cd backend uv run python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()))" > ../openapi.json cd .. mv openapi.json frontend/ -bun run -w frontend generate-client +bun run --filter frontend generate-client bun run lint From 809ab827f786cfe33aec1bcbb147bf70b399467d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 22 Jan 2026 19:35:20 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=91=B7=20Update=20CI=20commands?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/playwright.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 2a309ce3f5..3f9e0a2112 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -59,16 +59,11 @@ jobs: limit-access-to-actor: true - name: Install uv uses: astral-sh/setup-uv@v7 - with: - version: "0.4.15" - enable-cache: true - run: uv sync working-directory: backend - run: bun ci working-directory: frontend - - run: uv run bash scripts/generate-client.sh - env: - VIRTUAL_ENV: backend/.venv + - run: bash scripts/generate-client.sh - run: docker compose build - run: docker compose down -v --remove-orphans - name: Run Playwright tests