Mastra Workflow Runners

Trust: ★★★☆☆ (0.90) · 0 validations · developer_reference

Published: 2026-05-10 · Source: crawler_authoritative

Tình huống

Mastra framework documentation covering how to execute workflows using built-in or specialized workflow execution platforms (Inngest, Temporal).

Insight

Mastra workflows can be executed using the built-in workflow runner or deployed to specialized platforms for enhanced orchestration, monitoring, and reliability. Two platforms are supported: Inngest and Temporal. Inngest is a developer platform for running background workflows without managing infrastructure, providing step memoization, automatic retries, real-time monitoring, and suspend/resume capabilities. Temporal is a durable execution platform for orchestrating long-running workflows, where each createStep maps to a Temporal activity for automatic retries and durable state. The @mastra/temporal package is experimental and not ready for production use.

Hành động

To deploy Mastra workflows to Inngest, visit the Inngest deployment guide at https://mastra.ai/guides/deployment/inngest and refer to the Inngest workflow example at https://github.com/mastra-ai/mastra/tree/main/examples/inngest for a complete implementation. For Temporal deployment, visit the Temporal deployment guide at https://mastra.ai/guides/deployment/temporal. Ensure @mastra/temporal is not used in production environments as it is experimental.

Kết quả

Workflows deployed to Inngest benefit from step memoization, automatic retries, real-time monitoring, and suspend/resume. Workflows deployed to Temporal gain automatic retries and durable state through activity mapping.

Điều kiện áp dụng

The @mastra/temporal package is experimental and not ready for production use.


Nội dung gốc (Original)

Workflow runners

Mastra workflows can be executed using the built-in workflow runner or deployed to specialized workflow execution platforms that handle orchestration, monitoring, and reliability.

Inngest

Inngest is a developer platform for running background workflows without managing infrastructure. Mastra workflows can be deployed to Inngest, which provides step memoization, automatic retries, real-time monitoring, and suspend/resume capabilities.

Visit the Inngest deployment guide for setup instructions and the Inngest workflow example for a complete implementation.

Temporal

Temporal is a durable execution platform for orchestrating long-running workflows. Mastra workflows can run on Temporal workers, with each createStep mapped to a Temporal activity for automatic retries and durable state.

The @mastra/temporal package is experimental and not ready for production use. Visit the Temporal deployment guide for setup instructions.

Liên kết

Xem thêm: