You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: Add regression test for stateless request memory cleanup
This test verifies that PR #1116's fix properly cleans up transport
resources for stateless requests. The test mocks StreamableHTTPServerTransport
to track when _terminate_session() is called and ensures it's invoked for
each stateless request to prevent memory leaks.
Without the fix (commenting out the _terminate_session() call), this test
fails, confirming it properly detects the memory leak issue.
Github-Issue:#1116
0 commit comments