Automattic / Automattic/kue

"job remove" event not generated

Open
#1,041 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

No problem with other events, but when I delete a job, the "job remove" event is not generated. For example when I delete a job using the kue web gui.
```
queue.on('job remove', function(id, data){
console.log('job remove event',id,data);
});
```

How do I trap the remove event?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by deleting a job through the Kue web GUI while listening with queue.on('job remove', ...). Trace the removal path from the web GUI into the queue event handling, then verify that the callback receives the job id and data when the deletion is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.