Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Executor Dequeue Client #50614

@Piszmog

Description

@Piszmog

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions