Skip to content

Commit d27115c

Browse files
Merge branch 'main' into test/add-planners-unit-tests
2 parents ee50908 + 282db87 commit d27115c

549 files changed

Lines changed: 36649 additions & 9917 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.28.0"
2+
".": "1.31.0"
33
}

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ If you have ideas on how this should look in code, please share a
4545
pseudo-code example.
4646

4747
### Additional Context
48-
Add any other context or screenshots about the feature request here.
48+
Add any other context or screenshots about the feature request here.

.github/release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3-
"last-release-sha": "50209549206256abe5d1c5d84ab2b14dfdf80d66",
3+
"last-release-sha": "d69477f6ff348311e1d53e3f2c389dcf037fb049",
44
"packages": {
55
".": {
66
"release-type": "python",

.github/workflows/isort.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/mypy-new-errors.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,38 +33,38 @@ jobs:
3333
git checkout origin/main
3434
3535
git checkout ${{ github.sha }} -- pyproject.toml
36-
36+
3737
# Install dependencies for main
3838
uv venv .venv
3939
source .venv/bin/activate
4040
uv sync --all-extras
41-
41+
4242
# Run mypy, filter for errors only, remove line numbers (file:123: -> file::), and sort
4343
# We ignore exit code (|| true) because we expect errors on main
4444
uv run mypy . | grep "error:" | sed 's/:\([0-9]\+\):/::/g' | sort > main_errors.txt || true
45-
45+
4646
echo "Found $(wc -l < main_errors.txt) errors on main."
4747
4848
- name: Check PR Branch
4949
run: |
5050
# Switch back to the PR commit
5151
git checkout ${{ github.sha }}
52-
52+
5353
# Re-sync dependencies in case the PR changed them
5454
source .venv/bin/activate
5555
uv sync --all-extras
56-
56+
5757
# Run mypy on PR code, apply same processing
5858
uv run mypy . | grep "error:" | sed 's/:\([0-9]\+\):/::/g' | sort > pr_errors.txt || true
59-
59+
6060
echo "Found $(wc -l < pr_errors.txt) errors on PR branch."
6161
6262
- name: Compare and Fail on New Errors
6363
run: |
64-
# 'comm -13' suppresses unique lines in file1 (main) and common lines,
64+
# 'comm -13' suppresses unique lines in file1 (main) and common lines,
6565
# leaving only lines unique to file2 (PR) -> The new errors.
6666
comm -13 main_errors.txt pr_errors.txt > new_errors.txt
67-
67+
6868
if [ -s new_errors.txt ]; then
6969
echo "::error::The following NEW mypy errors were introduced:"
7070
cat new_errors.txt

.github/workflows/pre-commit.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Pre-commit Checks
16+
17+
on:
18+
push:
19+
branches: [main, v2]
20+
paths:
21+
- '**.py'
22+
- '.pre-commit-config.yaml'
23+
- 'pyproject.toml'
24+
pull_request:
25+
branches: [main, v2]
26+
paths:
27+
- '**.py'
28+
- '.pre-commit-config.yaml'
29+
- 'pyproject.toml'
30+
31+
jobs:
32+
pre-commit:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout Code
36+
uses: actions/checkout@v6
37+
38+
- name: Run pre-commit checks
39+
uses: pre-commit/action@v3.0.1

.github/workflows/pyink.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
source .venv/bin/activate
5151
pytest tests/unittests \
5252
--ignore=tests/unittests/artifacts/test_artifact_service.py \
53-
--ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py
53+
--ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py

.github/workflows/stale-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ jobs:
5555
LLM_MODEL_NAME: "gemini-2.5-flash"
5656
PYTHONPATH: contributing/samples
5757

58-
run: python -m adk_stale_agent.main
58+
run: python -m adk_stale_agent.main

.github/workflows/triage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
if: >-
1818
github.repository == 'google/adk-python' && (
1919
github.event_name == 'schedule' ||
20-
github.event.action == 'opened' ||
21-
github.event.label.name == 'planned'
20+
github.event.action == 'opened'
2221
)
2322
permissions:
2423
issues: write

0 commit comments

Comments
 (0)