Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Bug: Process Framework KernelProcessStep.on_activate is never called #9829

Open
Druid-of-Luhn opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working processes python Pull requests for the Python Semantic Kernel

Comments

@Druid-of-Luhn
Copy link

Describe the bug

The abstract class KernelProcessStep has an on_activate method, which one would assume is called when the step is activated, but the method is never called.

To Reproduce

Steps to reproduce the behavior:

  1. Create a KernelProcessStep subclass that overrides the on_activate method,
  2. Put the step into a process,
  3. Run the process: the on_activate method is never called.

Expected behavior

The KernelProcessStep.on_activate method would be called when a step is activated, in both the local and Dapr runtimes. This would act as a form of zero-argument init method for when a step is activated.

Screenshots

Result of the code search showing that on_activate is never called.

Image

Platform

  • OS: Windows
  • IDE: gVim + PowerShell
  • Language: Python
  • Source: pip package version 1.16.0

Additional context

n/a

@Druid-of-Luhn Druid-of-Luhn added the bug Something isn't working label Nov 26, 2024
@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel triage labels Nov 26, 2024
@github-actions github-actions bot changed the title Bug: Process Framework KernelProcessStep.on_activate is never called Python: Bug: Process Framework KernelProcessStep.on_activate is never called Nov 26, 2024
@evchaki
Copy link
Contributor

evchaki commented Nov 26, 2024

@eavanvalkenburg - can you take a look?

@evchaki
Copy link
Contributor

evchaki commented Nov 26, 2024

@Druid-of-Luhn - thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working processes python Pull requests for the Python Semantic Kernel
Projects
Status: Bug
Development

No branches or pull requests

5 participants