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

Take advantage of more efficient /experimental/jobs/id/status route #103

Open
kalikiana opened this issue Mar 30, 2023 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@kalikiana
Copy link
Member

Requests could be made more efficient by using the not well-known /experimental/jobs/id/status route.

@grisu48
Copy link
Collaborator

grisu48 commented Mar 30, 2023

Thanks for reporting!

Note for myself: Here's an example reply:

{"blocked_by_id":null,"id":10825965,"result":"none","state":"running"}

(also it's blazing fast!)

@grisu48
Copy link
Collaborator

grisu48 commented Mar 30, 2023

The gopenqa library introduced GetJobState in release 0.7.0

@grisu48 grisu48 added the enhancement New feature or request label Mar 30, 2023
@grisu48
Copy link
Collaborator

grisu48 commented Mar 21, 2024

@kalikiana what is the status of this feature in openQA? Is it still experimental? Is it possible to pass multiple jobs or do we need to do one request per job?

@kalikiana
Copy link
Member Author

@kalikiana what is the status of this feature in openQA? Is it still experimental? Is it possible to pass multiple jobs or do we need to do one request per job?

It is still experimental. Since the job is part of the path the API probably needs to be changed to support multiple jobs? I'd say open a ticket

@grisu48
Copy link
Collaborator

grisu48 commented Mar 21, 2024

@kalikiana what is the status of this feature in openQA? Is it still experimental? Is it possible to pass multiple jobs or do we need to do one request per job?

It is still experimental. Since the job is part of the path the API probably needs to be changed to support multiple jobs? I'd say open a ticket

Ok thanks for the update!

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

No branches or pull requests

2 participants