You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Today, the executor has a HTTP client that dequeues a Job from Sourcegraph. This endpoint is only capable of dequeueing a Job of a single queue type. #50613 will introduce a general endpoint where a list of queue can be provided that will return a Job of any of those queue types.
A new function will need to be added to be able to call this new endpoint on Sourcegraph.
Done
Add a new function to call the general dequeue endpoint
To support backwards compatibility, if the general endpoint does not exist, fallback to the specific endpoint
Unit tests
Demo
Technical Consideration
The exiting dequeue function needs to be preserved for backwards compatibility reasons
Today, the executor has a HTTP client that dequeues a
Jobfrom Sourcegraph. This endpoint is only capable of dequeueing aJobof a single queue type. #50613 will introduce a general endpoint where a list of queue can be provided that will return aJobof any of those queue types.A new function will need to be added to be able to call this new endpoint on Sourcegraph.
Done
Technical Consideration