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

Allow for querying the status of a job #20

Open
bfad opened this issue Aug 4, 2016 · 3 comments
Open

Allow for querying the status of a job #20

bfad opened this issue Aug 4, 2016 · 3 comments
Labels

Comments

@bfad
Copy link
Contributor

bfad commented Aug 4, 2016

It would be nice to be able to get the status of a quebert job. I would expect to be able to tell if a job is not started, in progress, finished, or ran into an error. (Adding the ability to return a percentage done would also be nice, but maybe a separate feature request.)

@bfad bfad added the feature label Aug 4, 2016
@m1foley
Copy link

m1foley commented Aug 4, 2016

I'd like to replicate resque-status, where jobs update their own status. A blocker seems to be that Quebert jobs don't have access to their unique ID, and jobs cannot be looked up by ID.

@thoughtless
Copy link
Contributor

If you are returning the status, it might also be nice to have some output for a finished job. For example, a job that creates a resources could output an identifier for that resource (such as a database primary key).

Of course, you need somewhere to persist this state information, and somewhere to clean up this information. You don't want to keep around a bunch of "job finished" data forever.

@m1foley
Copy link

m1foley commented Apr 4, 2017

This has been partially implemented at Poll Everywhere as WithJobStatus. It's dependent on Redis so some effort will be needed to port it to Quebert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants