New advertisers: 50% off your first month with code FIRSTMONTHSee slots
inngest avatar

Inngest Durable Functions

Durable TypeScript functions for Inngest with step memoization, retries, triggers, idempotency, and cancellation.

skills.sh installs
4.1K
GitHub stars
29
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers function configuration, event, cron, and invoke triggers, step execution and memoization, plus idempotency and cancellation patterns
  • Enforces that non-deterministic code such as timestamps stays inside step.run() so it runs once per step
  • Documents hard limits of 1,000 steps per run, 4MB per step output, and 32MB total run state, with guidance to split large workflows via step.invoke()
  • Designed for TypeScript teams building webhook handlers, cron jobs, and background workflows that must resume after crashes

Install

$ npx -y skills add inngest/inngest-skills --skill inngest-durable-functions -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Inngest Durable Functions

Master Inngest's durable execution model for building fault-tolerant, long-running workflows. This skill covers the complete lifecycle from triggers to error handling.

These skills are focused on TypeScript. For Python or Go, refer to the Inngest documentation for language-specific guidance. Core concepts apply across all languages.

Core Concepts You Need to Know

Durable Execution Model

  • Each step should encapsulate side-effects and non-deterministic code
  • Memoization prevents re-execution of completed steps
  • State persistence survives infrastructure failures
  • Automatic retries with configurable retry count

Step Execution Flow

// ❌ BAD: Non-deterministic logic outside steps
async ({ event, step }) => {
  const timestamp = Date.now(); // This runs multiple times!

  const result = await step.run("process-data", () => {
    return processData(event.data);
  });
};

Details

Repository
github.com/inngest/inngest-skills
Category
Backend & APIs
First seen
May 16, 2026

More from inngest/inngest-skills

All 6

Similar to Inngest Durable Functions

More Backend & APIs