Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ jobs:
with:
python-version: "3.12"

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider pinning uv to a specific version instead of "latest" so CI runs remain reproducible and uv upgrades are intentional.

Suggested change
version: "latest"
version: "0.4.28"

Copilot uses AI. Check for mistakes.

- name: Install backend dependencies
run: pip install -e ".[test]"
run: uv sync --extra test

docker-build:
runs-on: ubuntu-latest
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
PYTHONPATH: ${{ github.workspace }}
strategy:
fail-fast: false
matrix:
Expand All @@ -37,8 +39,13 @@ jobs:
with:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using version: "latest" for uv makes CI behavior non-deterministic across time. Consider pinning uv to a specific version so workflow runs remain reproducible (and upgrades are explicit).

Suggested change
version: "latest"
version: "0.5.1"

Copilot uses AI. Check for mistakes.

- name: Install backend dependencies
run: pip install -e .
run: uv sync

- name: Install frontend dependencies
working-directory: ./app
Expand All @@ -51,7 +58,7 @@ jobs:
run: npm run build

- name: Seed test data into FalkorDB
run: python e2e/seed_test_data.py
run: uv run python e2e/seed_test_data.py

- name: Install Playwright npm dependencies
run: |
Expand Down Expand Up @@ -81,7 +88,7 @@ jobs:
CODE_GRAPH_PUBLIC: "1"
MODEL_NAME: "openai/gpt-4.1-mini"
run: |
flask --app api/index.py run --host 0.0.0.0 --port 5000 &
uv run flask --app api/index.py run --host 0.0.0.0 --port 5000 &
# Wait for Flask to be ready
timeout 30 bash -c 'until curl -s http://localhost:5000/ > /dev/null 2>&1; do sleep 0.5; done'
npx playwright test --shard=${{ matrix.shard }}/2 --reporter=dot,list
Expand Down
Loading