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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
80 changes: 80 additions & 0 deletions .github/workflows/community_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# CI for the unmaintained samples under samples/community. The folder is
# self-contained: its samples depend on the published @a2ui/* (npm) and
# a2ui-agent-sdk (PyPI) packages rather than on the monorepo workspace.

name: Community Code CI

on:
push:
branches: [main]
paths:
- "samples/community/**"
- ".github/workflows/community_code.yml"
pull_request:
paths:
- "samples/community/**"
- ".github/workflows/community_code.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
web:
runs-on: ubuntu-latest
defaults:
run:
working-directory: samples/community
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22"
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "yarn"
cache-dependency-path: samples/community/yarn.lock
- name: Install dependencies
run: yarn install --immutable
- name: Build web samples (Angular a2a-chat-canvas + orchestrator, Lit mcp-apps + personalized_learning)
run: yarn build:web

python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v8.2.0
with:
enable-cache: true
- name: uv sync each agent under agent/adk
# These samples are runnable apps, not publishable packages (several use a
# flat module layout with no wheel target), so --no-install-project verifies
# that their dependencies resolve and install without building each as a wheel.
run: |
set -euo pipefail
find samples/community/agent/adk -name pyproject.toml -print0 |
while IFS= read -r -d '' manifest; do
dir="$(dirname "$manifest")"
echo "::group::uv sync $dir"
uv sync --no-install-project --project "$dir"
echo "::endgroup::"
done
2 changes: 1 addition & 1 deletion .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
sample: [orchestrator, restaurant_finder, rizzcharts/python]
sample: [restaurant_finder]
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-python
Expand Down
2 changes: 1 addition & 1 deletion renderers/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
]
},
"clean": {
"command": "rm -rf dist projects/mcp_calculator/dist projects/orchestrator/dist .tsbuildinfo .wireit"
"command": "rm -rf dist .tsbuildinfo .wireit"
}
}
}
2 changes: 1 addition & 1 deletion samples/agent/adk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ url = "https://pypi.org/simple"
default = true

[tool.uv.workspace]
members = ["custom-components-example", "orchestrator", "restaurant_finder", "rizzcharts/python", "mcp_app_proxy"]
members = ["custom-components-example", "restaurant_finder"]

[tool.uv.sources]
a2ui-agent-sdk = { path = "../../../agent_sdks/python/a2ui_agent", editable = true }
Expand Down
9 changes: 0 additions & 9 deletions samples/agent/adk/rizzcharts/kotlin/kotlin rizzcharts.iml

This file was deleted.

17 changes: 0 additions & 17 deletions samples/agent/adk/tests/test_examples_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,6 @@
"schema_modifiers": [remove_strict_validation],
"validate": True,
},
{
"name": "rizzcharts",
"path": SAMPLES_DIR / "rizzcharts",
"catalogs": [
CatalogConfig.from_path(
name="rizzcharts",
catalog_path="catalog_schemas/0.9/rizzcharts_catalog_definition.json",
examples_path="examples/rizzcharts_catalog/0.9",
),
BasicCatalog.get_config(
version=VERSION_0_9,
examples_path="examples/standard_catalog/0.9",
),
],
"schema_modifiers": [remove_strict_validation],
"validate": True,
},
]


Expand Down
92 changes: 0 additions & 92 deletions samples/agent/adk/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading