Automattic / Automattic/kue

Stuck Kue Job

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

Description

I have seen some posts on jobs getting stuck in inactive status. eg. here #660
. The Kue documentation suggests that workaround for this is to call the "watchStuckJobs" function. I have also seen some posts where #1032 and #1075, where the recommendation is not to use "watchStuckJobs". Wondering, how I would troubleshoot the stuck job issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Kue documentation for watchStuckJobs and the discussion in issues #660, #1032, and #1075. Compare the recommendations and identify a reproducible troubleshooting path for jobs stuck in inactive status; done should include clear guidance on when to use watchStuckJobs and how to diagnose the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.