Skip to content

Python: Safely clone plugins - #13109

Merged
Eduard van Valkenburg (eavanvalkenburg) merged 1 commit into
microsoft:mainfrom
moonbox3:fix-kernel-plugin-clone
Sep 12, 2025
Merged

Eduard van Valkenburg (eavanvalkenburg) merged 1 commit into
microsoft:mainfrom
moonbox3:fix-kernel-plugin-clone

Conversation

@moonbox3

Copy link
Copy Markdown
Collaborator

Motivation and Context

Currently, we attempt to deep copy plugins, no matter what the plugin instance holds. This will cause issues when plugins contain unpickleable items like an async generator.

Description

Contribution Checklist

@moonbox3

Copy link
Copy Markdown
Collaborator Author

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
kernel.py2345875%149, 160, 164, 320–321, 323, 405, 411–412, 416–417, 470–474, 476–477, 490–499, 501, 503–504, 506–526, 528–533
TOTAL27120472782% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
3720 22 💤 0 ❌ 0 🔥 1m 42s ⏱️

Merged via the queue into microsoft:main with commit d8af1ed Sep 12, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: Bug: Cannot register agent with MCP plugin due to async context manager in HandoffOrchestration

3 participants