Skip to content

Conversation

@glsukki
Copy link
Contributor

@glsukki glsukki commented Nov 8, 2025

Issue #, if available:
Existing MemorySessionManager.list_events() implementation of listing events with both branch and eventMetadata filter had a bug. If both the filters were provided, the eventMetadata filter was over-writing the branch filter.

This led towards the listing of events with eventMetadata filtering across all the events present in the session as compared to the expected behavior of listing only the events that adhere to the eventMetadata filter conditions present in the branch specified.

Description of changes:
This PR fixes the above issue by creating a filterMap that takes in both branch and eventMetadata filter when provided during list_events() invocation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@glsukki glsukki temporarily deployed to manual-approval November 8, 2025 19:32 — with GitHub Actions Inactive
@bergjaak bergjaak merged commit 70e138d into aws:main Nov 10, 2025
3 checks passed
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