-
Notifications
You must be signed in to change notification settings - Fork 65
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
Async /run
does not work when testing locally
#304
Comments
@justinmerrell Is there a timeline to fix this? It would make local development and testing so much easier if I could use async / status locally. Just storing the job status in memory would be sufficient. |
Hrm maybe I'm missing something because from looking at the code, it seems that it should actually:
But it seems that when I try to get the job status it always returns: "status": "FAILED", |
Same here. My guess it's removing the jobs from memory 🤔 |
also have the same problem |
Looks like it removes the job here:
I don't get why.. looks like on the first request its still there and then gets removed by this. |
Same issue here. Very annoying |
@justinmerrell any timeline on this? It makes local development extremely frustrating |
Looks like calling the POST/status/{job-id} execute the job |
Same problem here. I receive |
Describe the bug
When I create a handler
runpod.serverless.start({"handler": async_generator_handler})
Only
http://localhost:8000/runsync
triggersasync_generator_handler
However when posting against http://localhost:8000/run
async_generator_handler
is not triggered. Just returnsBut nothing happens in the backend
To Reproduce
Steps to reproduce the behavior:
curl -X POST -H "Content-Type: application/json" -d '{"input":{}}' http://localhost:8000/run
async_handler
is not triggeredExpected behavior
async_handler
should be triggered.Desktop (please complete the following information):
Also posted in Discord support: https://www.answeroverflow.com/m/1219122522612830279
The text was updated successfully, but these errors were encountered: