UMass-Rescue / UMass-Rescue/RescueBox
Rescuebox deal with long running task for a model operation
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6
- Forks
- 15
- Avg merge
- 14h 42m
- Merged PRs (30d)
- 7
Description
refer file model-app-service runTask() timeout: 1800000
this implied long running jobs ( sync ) mode can timeout.
one quick way to fix is increase this value
better long term fix is for fastapi to respond with 202 Accepted, taskid and User/UI poll to get status
is_async
refer : pipeline sample , this can be enhanced to support submit task , poll or get notify on progress and update UI method in run_pipeline_with_timeout()
or a websocket callback implementation to be notified on completion.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with model-app-service runTask() and the is_async reference in rb-lib/rb/lib/ml_service.py, then inspect run_pipeline_with_timeout() in rescuebox-pipeline/rescuebox_pipeline/rb_celery.py. Determine the intended timeout or asynchronous task flow; done should mean long-running model operations complete without timing out and the UI can receive or poll their status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100