Commit Graph

2724 Commits

Author SHA1 Message Date
George Weale 8b978b646c fix(cli): Port deploy ignore-file handling to v1
`adk deploy cloud_run` and `adk deploy gke` copied the whole agent folder
into the staging directory with no exclusions at all, so a `.env` holding
a live API key was built into the container image and its registry layers
even when the user's own `.gitignore` excluded it. `adk deploy
agent_engine` filtered on `.ae_ignore` alone, and read it without
stripping comments or normalizing trailing slashes.

A single `_get_ignore_patterns_func` now unions the patterns from
`.gitignore`, `.gcloudignore` and `.ae_ignore`, normalizes them for
`fnmatch`, and feeds all three `copytree` calls. The local dev UI's
`.adk` folder is excluded unconditionally, because the session database
it holds grows large enough to fail a deployment. Nothing else is
excluded on the user's behalf, so a `.git` directory is still copied
unless an ignore file lists it.

Ports commits ee79e712 ("respect ignore files in adk deploy commands",
PR #4187) and dab351be ("Prevent adk deploy from uploading
.adk/session.db") from main.

The second of those writes `patterns = set('.adk/')`, which iterates the
string into five one-character patterns, so `.adk` is not excluded on
main either and a file named `d` is. This port writes `{'.adk'}`.

Behaviour change: files matched by an ignore file are no longer
deployed. A deployment that relied on a `.env` excluded by `.gitignore`
reaching Cloud Run must now supply those values as environment variables
or secrets on the target.
2026-08-17 23:12:21 +00:00
adk-bot c71ade0c96 chore: merge release v1.39.0 to v1 (#6776)
Co-authored-by: adk-bot <223368873+adk-bot@users.noreply.github.com>
2026-08-17 12:27:18 -07:00
Liang Wu 090869b9ba feat(live): use RunConfig.session_resumption.handle when opening a live session (#6770) 2026-08-17 12:20:42 -07:00
Liang Wu 5fb5ff11ce fix(live): stop background tool tasks when a live agent run ends (#6769) 2026-08-17 12:05:53 -07:00
Jason Zhang e7dba7a464 fix: validate session initialization events (v1) (#6771)
Co-authored-by: Petr Marinec <54589756+petrmarinec@users.noreply.github.com>
2026-08-17 11:59:54 -07:00
Liang Wu 5e3b997f93 feat: support audio_stream_end for realtime input (#6699)
Co-authored-by: lottielin <77655652+lottielin@users.noreply.github.com>
2026-08-12 13:11:15 -07:00
adk-bot 3d737f175c chore: merge release v1.38.0 to v1
Co-authored-by: adk-bot <223368873+adk-bot@users.noreply.github.com>
2026-08-07 16:41:29 -07:00
Liang Wu 99c1aa325e feat(live): forward safety_settings from generate_content_config to the Live API (#6641) 2026-08-07 15:12:16 -07:00
Liang Wu 302885bda3 fix(live): transfer to the target agent regardless of function response order (#6608) 2026-08-05 19:06:43 -07:00
Liang Wu f25bb90055 fix(deps): exclude nltk 3.10.1, which breaks venvs living inside the working directory (v1) (#6607) 2026-08-05 18:05:35 -07:00
Kathy Wu 47833640c7 fix: Port tool confirmation security and re-validation fixes to v1 (#6575)
Co-authored-by: Xuan Yang <xygoogle@google.com>
2026-08-05 11:53:50 -07:00
sasha-gitg c680728401 fix: avoid shell execution in ReadFileTool ranged reads and keep local environment file access in workspace (#6597) 2026-08-05 11:50:19 -04:00
nikkie 4555273b5b fix(eval): handle failed inference results without invocations (cherry-pick) (#6565)
Co-authored-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
Co-authored-by: Liang Wu <18244712+wuliang229@users.noreply.github.com>
2026-08-04 12:10:52 -07:00
Liang Wu 6e59273976 chore: Update FastAPI and Starlette dependencies to fix CVEs (#6573) 2026-08-04 11:26:31 -07:00
adk-bot 8b2feb52ea chore: merge release v1.37.0 to v1 (#6525)
Co-authored-by: adk-bot <223368873+adk-bot@users.noreply.github.com>
2026-07-30 11:11:40 -07:00
Liang Wu c299420531 feat(live): Support asynchronous non-blocking tools (#6522) 2026-07-30 09:48:24 -07:00
adk-bot b251dbfe52 chore: merge release v1.36.2 to v1 (#6440)
Co-authored-by: adk-bot <223368873+adk-bot@users.noreply.github.com>
v1.36.2
2026-07-21 14:39:20 -07:00
Liang Wu 4ef72fef0e fix: Update custom gemini llm connection logic to be used for all 3_x models, not just 3.1 (#6438) 2026-07-21 14:25:05 -07:00
adk-bot 4c23c0fb74 chore: merge release v1.36.1 to v1 (#6320)
Co-authored-by: adk-bot <223368873+adk-bot@users.noreply.github.com>
2026-07-07 14:51:08 -07:00
Kathy Wu e495609c1d chore(release): backport unified release workflows from main (#6318) 2026-07-06 11:56:18 -07:00
Kathy Wu 4caf782af7 fix: Fix Vertex AI Live API session replay on reconnect / modality switch (#6218) 2026-07-06 10:35:59 -07:00
Kathy Wu de2abdf333 fix: exit connection cleanly on expected GoAway signal in bidi streaming (v1) (#6264) 2026-07-06 10:29:05 -07:00
adk-bot e72bf9b976 chore: merge release v1.36.0 to v1 (#6193)
Co-authored-by: adk-bot <223368873+adk-bot@users.noreply.github.com>
v1.36.0
2026-06-22 16:58:46 -07:00
Shangjie Chen 93ca9fe596 chore: consolidate GitHub Actions workflows for v1 branch (#6194) 2026-06-22 16:58:07 -07:00
Kathy Wu 7a9152a382 feat(interactions): support for GenAI SDK upgraded to 2.9+ (#6191) 2026-06-22 16:02:35 -07:00
adk-bot 4f3f350aa8 chore: merge release v1.35.2 to v1 (#6153)
Co-authored-by: adk-bot <223368873+adk-bot@users.noreply.github.com>
v1.35.2
2026-06-17 13:54:06 -07:00
Liang Wu afe408376a fix: remove live event buffering in runner (#6151) 2026-06-17 13:23:28 -07:00
wukath b4fee1cf4d chore(release/v1-candidate): release 1.35.1
Change-Id: I01547579333c8fd0658c375732c635e0b58117c9
v1.35.1
2026-06-15 13:44:02 -07:00
adk-bot 28dbdfb805 chore(release/v1-candidate): release 1.35.0 v1.35.0 2026-06-15 13:13:44 -07:00
Kathy Wu 847a259cd8 fix: Only send grounding_metadata for 3.1 live at the end of each turn (#6129) 2026-06-15 13:04:45 -07:00
Xuan Yang 6e59c61104 fix(streaming): Ensure final partial=False frame is always yielded (#6096) 2026-06-15 10:13:22 -07:00
Liang Wu ecfdaf5f5e feat(live): Handle input transcription differently for Gemini Live 3.1 models (#6045) 2026-06-09 21:35:33 -07:00
Kathy Wu 87abf230db fix(flows): Reset reconnect attempts on connection success (#6042) 2026-06-09 17:28:26 -07:00
Kathy Wu fafafb38e1 fix(models): Default grounding metadata for Gemini 3.1 live (#6018) 2026-06-08 16:19:04 -07:00
Kathy Wu aafd97f6f0 fix: Support generalized history config injection for Gemini 3.1 Live on Vertex AI (#5999) 2026-06-08 10:42:07 -07:00
wukath 15eb38701c fix release finalize 2026-06-02 16:00:31 -07:00
Kathy Wu 6d027b4ce8 fix: add missing Gemini imports in base_llm_flow (#5943) 2026-06-02 15:23:23 -07:00
wukath 19a87caae7 ci: enable precommit workflow for v1 branch 2026-06-02 11:56:26 -07:00
wukath fbe372ed27 ci: enable python unit tests workflow for v1 branch 2026-06-02 11:54:04 -07:00
Wei (Jack) Sun 597a39a669 chore: merge release v1.34.2 to v1 (#5936)
Co-authored-by: Yifan <wanyif@google.com>
Co-authored-by: Jacksunwei <1281348+Jacksunwei@users.noreply.github.com>
2026-06-01 16:20:10 -07:00
Kathy Wu 459782f479 Cherry pick fixes to v1 (#5934)
Co-authored-by: asobran <asobran@google.com>
2026-06-01 15:59:34 -07:00
Yifan 7c0e186186 Update 1.34.1 (#5933) 2026-06-01 15:29:27 -07:00
Yifan ebfff9e52b Revert "Cherry pick fixes to v1" (#5932) 2026-06-01 15:26:06 -07:00
Kathy Wu 8e9d2df46e Cherry pick fixes to v1 (#5900) 2026-05-29 16:36:05 -07:00
asobran b0d419411f ci(releases): Scope changelog strictly to v1 bug fixes
Set last-release-sha to the commit immediately prior to v1 cherry-picks (e13ada75) to prevent Release Please from scanning upstream main history and incorrectly generating minor releases rather than patch releases.

Change-Id: Ic78faa3c558b0cab1670246310c734a2e1616cc4
2026-05-22 18:36:28 +00:00
asobran 8257bf8bfc ci(releases): Use semantic versioning strategy for v1 bug fixes
Configure release-please-config-v1.json with default versioning strategy so that bug fixes correctly trigger patch releases (e.g., 1.34.1) rather than minor releases.

Change-Id: I79efe1743968c6228a470a7a84ba11bcc5b82995
2026-05-22 18:31:25 +00:00
asobran 0ebc155d02 ci(releases): Set last-release-sha to v1.34.0 tag SHA
Fix last-release-sha in release-please-config-v1.json to track the commit SHA of tag v1.34.0 so that Release Please does not generate massive changelogs including legacy commits.

Change-Id: I2e59566ebb3900975b9f86326bb53ed959a92815
2026-05-22 18:26:39 +00:00
asobran 472c770b4f ci(releases): Configure release-please for v1 stable releases
Fix release-please-config-v1.json and .release-please-manifest-v1.json to track stable v1 versioning (1.34.0) and CHANGELOG.md rather than v2 prerelease configurations.

Change-Id: I7a82c4b27cad0f0af8a6736fe6e6e4552153b80a
2026-05-22 18:04:33 +00:00
asobran c1212379f5 ci(releases): Mirror v1 release-please configurations to v1 branch
Add .release-please-manifest-v1.json and release-please-config-v1.json to v1 branch to resolve base release-please config not found error when running release action.

Change-Id: If95237eba75aeac824fed2054dbef99924cbc517
2026-05-22 17:51:38 +00:00
sasha-gitg c54e9e810d Merge pull request #5804 from google/fix-v1-workflows
ci(workflows): Synchronize release workflows into v1 branch
2026-05-22 12:14:31 -04:00