Skip to content

test(sessions): add session state validation tests#5171

Closed
mohammadmseet-hue wants to merge 1 commit into
google:mainfrom
mohammadmseet-hue:fix/update-session-test-coverage
Closed

test(sessions): add session state validation tests#5171
mohammadmseet-hue wants to merge 1 commit into
google:mainfrom
mohammadmseet-hue:fix/update-session-test-coverage

Conversation

@mohammadmseet-hue

Copy link
Copy Markdown

Summary

Adds basic unit tests for session state validation and consistency checks.

Changes

  • New test file tests/unittests/sessions/test_session_state_validation.py
  • Tests for key type validation, insertion order, and empty state handling

Test plan

  • All tests pass locally with pytest tests/unittests/sessions/test_session_state_validation.py

Adds basic validation tests for session state consistency including
key type checking, insertion order preservation, and empty state handling.
@adk-bot adk-bot added the services [Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc label Apr 6, 2026
@adk-bot

adk-bot commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

Response from ADK Triaging Agent

Hello @mohammadmseet-hue, thank you for your contribution!

To help us with the review process, could you please create an issue that this PR addresses and link it in the PR description? This will help us track the feature or bug fix that this PR is for.

Thank you!

@mohammadmseet-hue

Copy link
Copy Markdown
Author

Closing — will rework test approach.

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

Labels

services [Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants