Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 595 Bytes

File metadata and controls

6 lines (5 loc) · 595 Bytes
trigger.dev patch
@trigger.dev/core patch

Fail attempts on uncaught exceptions instead of hanging to MAX_DURATION_EXCEEDED. A Node EventEmitter (e.g. node-redis) emitting "error" with no .on("error", ...) listener escalates to uncaughtException, which the worker previously reported but did not act on — runs drifted to maxDuration with empty attempts. They now fail fast with the original error and status FAILED, and respect the task's normal retry policy. You should still attach .on("error", ...) listeners to long-lived clients to handle errors gracefully.