Home / Companies / Trigger.dev / Blog / Post Details
Content Deep Dive

Trigger.dev v4 beta

Blog post from Trigger.dev

Post Details
Company
Date Published
Author
Matt Aitken
Word Count
2,588
Language
English
Hacker News Points
-
Summary

The v4 beta launch introduces Run Engine 2, bringing notable performance enhancements such as warm starts, a redesigned dashboard with environments as a primary focus, and the introduction of "human in the loop" tokens. Warm starts minimize start times by using the same machine for subsequent runs, while the new dashboard streamlines navigation by emphasizing environment-specific pages. The update also introduces a new concept called "Waitpoints," which can delay runs until certain conditions are met, with "Waitpoint tokens" allowing for human intervention in processes. The release supports idempotency keys to prevent redundant processing, and new features allow for setting run priorities and managing queues more effectively. Middleware and lifecycle hooks have been improved, enabling better management of resources like database connections during waits. Additionally, the update offers an MCP server for enhanced debugging and introduces the possibility of self-hosting, although challenges with self-hosted workers remain. The new version aims to enhance efficiency, flexibility, and user control in managing and executing tasks.