Skip to content

test(cli): cover api server auto create session - #6786

Open
YASHcode-IIITV wants to merge 5 commits into
google:mainfrom
YASHcode-IIITV:feat/api-server-auto-create-session
Open

test(cli): cover api server auto create session#6786
YASHcode-IIITV wants to merge 5 commits into
google:mainfrom
YASHcode-IIITV:feat/api-server-auto-create-session

Conversation

@YASHcode-IIITV

Copy link
Copy Markdown

Link to Issue or Description of Change

1. Link to an existing issue (if applicable):

Problem

The adk api_server CLI supports the --auto_create_session option, which is propagated to the FastAPI application. However, the CLI-level propagation of this option did not have dedicated regression coverage.

A future change to the CLI argument handling could cause the option to stop being forwarded correctly without being detected by the existing tests.

Solution

Added a unit test for:

adk api_server --auto_create_session

@google-cla

google-cla Bot commented Aug 18, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@YASHcode-IIITV

Copy link
Copy Markdown
Author

@wyf7107 plz review this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants