teuthology-queue should work incrementally
Right now, getting any information out of teuthology-queue requires fetching all the jobs in the queue before it outputs anything. My most frequent use case when querying the queue is to:
1) see how far down in the queue my suite run is, or
2) to see if I have any jobs left for a particular run which haven't been initiated.
This takes a while when there are hundreds or thousands of jobs for teuthology-queue to query, but if what I actually want to know can be answered by looking at the first 20 jobs, it's a waste of a lot of queries and a long wait. beanstalk_list_plana behaved this way and it was more useful as a result.
#1 Updated by Zack Cerza about 5 years ago
- Status changed from New to Resolved
- Assignee set to Zack Cerza