Skip to content

feat: set CLIENT SETNAME for server-side connection identification#5

Merged
atao2004 merged 1 commit into
add-valkeyfrom
add-client-setname
Jun 8, 2026
Merged

feat: set CLIENT SETNAME for server-side connection identification#5
atao2004 merged 1 commit into
add-valkeyfrom
add-client-setname

Conversation

@atao2004

@atao2004 atao2004 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Sets CLIENT SETNAME to chatdev_memory_client on the GLIDE connection, enabling server-side identification of ChatDev memory connections via CLIENT LIST.

Changes

  • runtime/node/agent/memory/valkey_memory.py — Added client_name="chatdev_memory_client" to GlideClientConfiguration in _make_client()
  • tests/test_valkey_memory.py — Added test_client_name_set_in_configuration verifying the client name is passed correctly

Naming Convention

Follows the established {project}_{purpose}_client pattern used across Valkey integrations:

  • agno_db_client
  • crewai_memory_client
  • langchain_aws_checkpoint_client
  • chatdev_memory_client

Testing

  • 56 tests pass, 0 regressions

@edlng edlng left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@atao2004 atao2004 merged commit 151d2ea into add-valkey Jun 8, 2026
@atao2004 atao2004 deleted the add-client-setname branch June 8, 2026 20:05
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