-
Notifications
You must be signed in to change notification settings - Fork 31
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
"Pending" state on WO doesn't appear until retries are claimed #1340
Comments
@NickOpenFn , what do you think about this one? |
@taylordowns2000 workorders don't have the |
That's not quite the issue here @midigofrank . Head to demo.openfn.org and rerun the last ten successful workorders and you'll see what i'm talking about. it's nice that they go to pending when they're claimed, but i mean that we should update the workorder state to show that attempts and enqueued. we don't do this. the change would be here: in essence, i'm talking about adding i don't know if that's actually the most elegant way to solve this, but i hope it makes the problem clear. when looking at workorders, there's currently no way to tell if they have attempts enqueue without unfolding them. i think that's misleading. |
@taylordowns2000 just to ensure I get this right, this is an issue with workorders that have been retried. And the problem is that their status is updated from the previous one to |
yeah that's right @midigofrank ! i will update the issue title and description now. the easiest way to see this is to start your server with If you've got your worker turned off, you'll see it very clearly. This workorder is in a "success" state, when it should actually be in a "pending" state. The first attempt was successful, but the most recent attempt is merely enqueued, waiting for a worker to grab it. The code in my comment above will close this issue if you implement it, but I'm wondering if there's a better way to do it. |
Okay, got it |
"Pending" state on WO doesn't appear until retries are claimed. (It should appear when they are enqueued.)
pending
The text was updated successfully, but these errors were encountered: