squad icon indicating copy to clipboard operation
squad copied to clipboard

[LAVA] Query devices before polling

Open chaws opened this issue 1 year ago • 1 comments

query devices before poll the jobs, devices that are offline put them at the end for jobs to be checked if finished.

ci: models: avoid polling jobs waiting more than a week on the backend by chaws · Pull Request #1012 · Linaro/squad

Suggested by @roxell

chaws avatar Nov 10 '23 13:11 chaws

I don't think this is a good idea or even feasible. There can be multiple devices of the same type. Do you query one or all of them? It might end up causing more traffic than just checking jobs status.

mwasilew avatar Nov 10 '23 14:11 mwasilew