Skip to content

Commit 95cc207

Browse files
holtskinnercopybara-github
authored andcommitted
fix: Prevent adk deploy from uploading .adk/session.db file
- This file can get quite large when testing locally in the ADK Web UI, and it can cause deployments to fail. PiperOrigin-RevId: 934426401
1 parent c291821 commit 95cc207

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/cli/cli_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def _get_service_option_by_adk_version(
612612

613613
def _get_ignore_patterns_func(agent_folder: str):
614614
"""Returns a shutil.ignore_patterns function with combined patterns from .gitignore, .gcloudignore and .ae_ignore."""
615-
patterns = set()
615+
patterns = set('.adk/')
616616

617617
for filename in ['.gitignore', '.gcloudignore', '.ae_ignore']:
618618
filepath = os.path.join(agent_folder, filename)

0 commit comments

Comments
 (0)