Skip to content

test(agentchat): cover streaming cancellation cleanup - #8291

Open
Anvit Devadiga (AnvitDevadiga) wants to merge 1 commit into
microsoft:mainfrom
AnvitDevadiga:test-streaming-cancellation-cleanup
Open

Anvit Devadiga (AnvitDevadiga) wants to merge 1 commit into
microsoft:mainfrom
AnvitDevadiga:test-streaming-cancellation-cleanup

Conversation

@AnvitDevadiga

Copy link
Copy Markdown

Fixes #8092\n\n## Summary\n- add a deterministic AssistantAgent streaming cancellation test\n- block a fake model stream after its first chunk\n- assert task cancellation closes the underlying async generator\n- ensure no late stream result is emitted\n\n## Validation\n- 2 targeted tests passed\n- Ruff passed\n

This branch has not been deployed

No deployments
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.

Add regression coverage for AssistantAgent stream cleanup after cancellation

1 participant