Skip to content

Commit 95b0493

Browse files
authored
chore: move src/llama_stack/ui to src/llama_stack_ui (#4068)
# What does this PR do? This better separates UI from backend code, which was a point of confusion often for our beloved AI friends. ## Test Plan CI
1 parent 5850e34 commit 95b0493

File tree

156 files changed

+20
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+20
-20
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ omit =
55
*/llama_stack/templates/*
66
.venv/*
77
*/llama_stack/cli/scripts/*
8-
*/llama_stack/ui/*
8+
*/llama_stack_ui/*
99
*/llama_stack/distribution/ui/*
1010
*/llama_stack/strong_typing/*
1111
*/llama_stack/env.py

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ updates:
2222
prefix: chore(python-deps)
2323

2424
- package-ecosystem: npm
25-
directory: "/llama_stack/ui"
25+
directory: "/llama_stack_ui"
2626
schedule:
2727
interval: "weekly"
2828
day: "saturday"

.github/workflows/integration-auth-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
paths:
1515
- 'distributions/**'
1616
- 'src/llama_stack/**'
17-
- '!src/llama_stack/ui/**'
17+
- '!src/llama_stack_ui/**'
1818
- 'tests/integration/**'
1919
- 'uv.lock'
2020
- 'pyproject.toml'

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
types: [opened, synchronize, reopened]
1515
paths:
1616
- 'src/llama_stack/**'
17-
- '!src/llama_stack/ui/**'
17+
- '!src/llama_stack_ui/**'
1818
- 'tests/**'
1919
- 'uv.lock'
2020
- 'pyproject.toml'

.github/workflows/integration-vector-io-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- 'release-[0-9]+.[0-9]+.x'
1414
paths:
1515
- 'src/llama_stack/**'
16-
- '!src/llama_stack/ui/**'
16+
- '!src/llama_stack_ui/**'
1717
- 'tests/integration/vector_io/**'
1818
- 'uv.lock'
1919
- 'pyproject.toml'

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
with:
4444
node-version: '20'
4545
cache: 'npm'
46-
cache-dependency-path: 'src/llama_stack/ui/'
46+
cache-dependency-path: 'src/llama_stack_ui/'
4747

4848
- name: Set up uv
4949
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
5050

5151
- name: Install npm dependencies
5252
run: npm ci
53-
working-directory: src/llama_stack/ui
53+
working-directory: src/llama_stack_ui
5454

5555
- name: Install pre-commit
5656
run: python -m pip install pre-commit

.github/workflows/python-build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches:
1111
- main
1212
paths-ignore:
13-
- 'src/llama_stack/ui/**'
13+
- 'src/llama_stack_ui/**'
1414

1515
jobs:
1616
build:

.github/workflows/test-external.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
branches: [ main ]
1010
paths:
1111
- 'src/llama_stack/**'
12-
- '!src/llama_stack/ui/**'
12+
- '!src/llama_stack_ui/**'
1313
- 'tests/integration/**'
1414
- 'uv.lock'
1515
- 'pyproject.toml'

.github/workflows/ui-unit-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
pull_request:
99
branches: [ main ]
1010
paths:
11-
- 'src/llama_stack/ui/**'
11+
- 'src/llama_stack_ui/**'
1212
- '.github/workflows/ui-unit-tests.yml' # This workflow
1313
workflow_dispatch:
1414

@@ -33,22 +33,22 @@ jobs:
3333
with:
3434
node-version: ${{ matrix.node-version }}
3535
cache: 'npm'
36-
cache-dependency-path: 'src/llama_stack/ui/package-lock.json'
36+
cache-dependency-path: 'src/llama_stack_ui/package-lock.json'
3737

3838
- name: Install dependencies
39-
working-directory: src/llama_stack/ui
39+
working-directory: src/llama_stack_ui
4040
run: npm ci
4141

4242
- name: Run linting
43-
working-directory: src/llama_stack/ui
43+
working-directory: src/llama_stack_ui
4444
run: npm run lint
4545

4646
- name: Run format check
47-
working-directory: src/llama_stack/ui
47+
working-directory: src/llama_stack_ui
4848
run: npm run format:check
4949

5050
- name: Run unit tests
51-
working-directory: src/llama_stack/ui
51+
working-directory: src/llama_stack_ui
5252
env:
5353
CI: true
5454

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- 'release-[0-9]+.[0-9]+.x'
1414
paths:
1515
- 'src/llama_stack/**'
16-
- '!src/llama_stack/ui/**'
16+
- '!src/llama_stack_ui/**'
1717
- 'tests/unit/**'
1818
- 'uv.lock'
1919
- 'pyproject.toml'

0 commit comments

Comments
 (0)