natcap / urban-online-workflow

This repository hosts the beta implementation of the Urban Online ES Workflow. The project is intended to give urban planners the ability to create and assess scenarios using InVEST Urban models.
1 stars 5 forks source link

Frontend should handle a 'failed' status from a job #48

Closed emlys closed 1 year ago

emlys commented 2 years ago

When an exception was raised in worker.py due to an undefined variable, the job status remained in 'pending' indefinitely.

davemfish commented 2 years ago

Frontend is only checking for success right now. It should also check for "failed". The other status options are "success", "pending", and "running".

davemfish commented 1 year ago

See #77 for the backend side of this issue. I'll rename this one to focus on the frontend. Also on hold until #77

davemfish commented 1 year ago

We can close this. The frontend does not usually need to handle the status of "failed", rather it needs to handle the missing data that would result from a failed job when it goes to request the results. And I think we're doing that.