Skip to content

Conversation

@singhk97
Copy link
Contributor

@singhk97 singhk97 commented Nov 12, 2025

fixes #393

The returned { status: 200 } from app.$process is not handled by the plugin, and so the http response is not set causing the server to "hang". By not short circuiting, the program execution continues leading to onActivityResponse event being called and the HTTP response being set to default status of 200.

  • Is it an issue in .NET SDK? Nope, there is no short-circuiting being done like this.
  • Is it an issue in Python SDK? Yes, it should be fixed.

@singhk97 singhk97 changed the title Remove app.$process() short circuit if no routes found. Remove short circuit in app.$process() if no routes found. Nov 12, 2025
Copy link
Collaborator

@heyitsaamir heyitsaamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Can you add a test? And have you tested the behavior?

@singhk97
Copy link
Contributor Author

This looks good. Can you add a test? And have you tested the behavior?

I've tested the behavior. Will add unit tests as well.

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.

Request hangs indefinitely on activities without handlers defined

3 participants