Skip to content
Get started
Get started
bunqueue v2.6.75
View Markdown
blog · release

bunqueue v2.6.75

removeDependencyOnFailure, ignoreDependencyOnFailure, continueParentOnFailure, job.getFailedChildrenValues() and more.

When a child job terminally fails with this option set, it is silently removed from the parent’s pending dependencies. If it was the last pending child, the parent is promoted to the waiting queue and processed normally.

Same as removeDependencyOnFailure but also stores the failure reason so the parent worker can retrieve it via job.getIgnoredChildrenFailures().

When a child job with this option fails, the parent is immediately promoted to the waiting queue (even if other children are still pending). The parent worker can then call job.getFailedChildrenValues() to inspect which children failed and why, and job.removeUnprocessedChildren() to cancel remaining unstarted children.

Returns Record<string, string> mapping child keys ("queue:jobId") to their error messages. Populated by continueParentOnFailure child failures.

Returns Record<string, string> of failure reasons for children that failed with ignoreDependencyOnFailure.

Removes a child job’s pending dependency from its parent. If this was the last pending child, the parent is promoted to the queue. Throws if the job has no parent.

Cancels all unprocessed (waiting/delayed) children of a parent job. Active, completed, and failed children are unaffected.

  • TCP commands for new methods: GetFailedChildrenValues, GetIgnoredChildrenFailures, RemoveChildDependency, RemoveUnprocessedChildren.
  • All four new options are fully propagated through FlowProducer.add(), FlowProducer.addBulk(), and the TCP PUSH command.

← bunqueue v2.6.74 · Full changelog · All posts