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

Add Sorting Capability for finished_at and failed_at Fields #246

Open
hatsu38 opened this issue Feb 19, 2025 · 1 comment
Open

Add Sorting Capability for finished_at and failed_at Fields #246

hatsu38 opened this issue Feb 19, 2025 · 1 comment

Comments

@hatsu38
Copy link

hatsu38 commented Feb 19, 2025

Feature Request: Sorting by finished_at and failed_at fields

It would be very useful if the mission_control-jobs gem could support sorting jobs not only by their jobed times but also by other relevant timestamps such as finished_at and failed_at.

Example Use Cases:

This would be particularly handy when you want to view jobs that have recently failed.

Image

@film42
Copy link

film42 commented Mar 3, 2025

To be honest, I was a little confused when I opened the failed queue and found it sorted oldest to newest. I would prefer the failed queue to follow the finish queue, showing newest jobs first.

Here's my expereince:

I was expecting an email to be delivered but it didn't happen. I checked the finished queue and found no matching jobs around the time it should have finished. I checked the failed queue and saw "21 days ago" and thought, "maybe solidqueue dropped it?" Only then did I see they were ordered oldest to newest, and I had to click 5-6 pages in to see the most recent failed job.

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

No branches or pull requests

2 participants