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

enable webhooks for local testing of serverless workers #280

Closed
andreemic opened this issue Jan 23, 2024 · 0 comments · Fixed by #295
Closed

enable webhooks for local testing of serverless workers #280

andreemic opened this issue Jan 23, 2024 · 0 comments · Fixed by #295
Labels
enhancement New feature or request

Comments

@andreemic
Copy link

andreemic commented Jan 23, 2024

Is your feature request related to a problem? Please describe.
We usually run our Docker containers locally and test their integration with the rest of our system, which uses webhooks. Whenever we add a new output from a model, we want to test it with the webhooks, but this is not currently possible.

Describe the solution you'd like
When running

python your_handler.py --rp_serve_api

and then calling /run, the webhook passed as input should be called in the same way it would with a deployed serverless worker.

Describe alternatives you've considered
Logging the output of our model instead of webhooks, or implementing our own webhook within our container. That works but can lead to inconsistent behavior / duplication of code that could be handled by RunPod and is probably useful to many users.

@andreemic andreemic added the enhancement New feature or request label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant