Automattic / Automattic/kue

Search active jobs

Open
#602 8 comments 0 reactions 0 assignees View on GitHub
Discussion Feature needs pull request
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I see that with the UI there's `/job/search?q=` to perform a search on data properties within a job. But is there a method within kue or api to search and by active? For example, something like this would be very useful.

`queue.search({status: 'active', data: {key : 'something', anotherkey : 'somethingelse'}})`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing `/job/search?q=` UI route and its corresponding search implementation. Check how the API represents job status and data filters; done means an API-level search can combine active status with the supplied data properties and covers that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
api, backend, databases, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.