Use Case: Mitigate stuck jobs when no worker can pick them up #238
grafvonb
started this conversation in
1 Use Cases & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes a Camunda process instance waits because a job was created, but no worker will ever pick it up.
A typical example is a service task with a wrong job type. The process instance looks stuck, but the actual reason is not obvious enough for an operator.
c8volt should support an operational workflow for this situation:
The workflow should help operators find jobs that look stuck, preview the affected jobs, and then explicitly fail them with a meaningful diagnostic message.
Example:
c8volt ops mitigate stuck-jobs \ --type payment-worker \ --older-than 30m \ --message "no worker available for job type payment-worker" \ --dry-runThis is not intended to repair the process automatically. It is intended to make a silent operational problem visible and actionable by creating explicit job failures or incidents.
Expected behavior:
Implementation details are tracked in:
#232
Beta Was this translation helpful? Give feedback.
All reactions