Skip to content

Commit dab351b

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: 952144358
1 parent 2316b83 commit dab351b

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
@@ -616,7 +616,7 @@ def _get_ignore_patterns_func(
616616
agent_folder: str,
617617
) -> Callable[[Any, list[str]], set[str]]:
618618
"""Returns a shutil.ignore_patterns function with combined patterns from .gitignore, .gcloudignore and .ae_ignore."""
619-
patterns = set()
619+
patterns = set('.adk/')
620620

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

0 commit comments

Comments
 (0)