Community생산성 & 협업github.com

inngest/inngest-durable-functions

프로세스 충돌 시에도 함수가 유지되고, 자동 재시도, 스케줄 실행, 이벤트 반응, 인프라 장애에도 상태를 유지해야 하는 함수를 구축할 때 사용합니다.

inngest-durable-functions란 무엇인가요?

이 스킬은 Inngest 플랫폼을 사용하여 내구성 있는 함수(Durable Functions)를 개발할 때 필요한 모든 설정, 트리거, 단계 실행, 오류 처리 및 관찰 가능성에 대한 포괄적인 가이드를 제공합니다. 웹훅 핸들러, 크론 잡, 백그라운드 작업과 같이 프로세스 충돌, 네트워크 오류, 인프라 장애 상황에서도 중단 없이 실행되어야 하는 워크플로우에 적합합니다. 이벤트, cron, invoke 트리거를 지원하며, 각 단계의 실행 결과를 메모이제이션하여 재시도 시 중복 실행을 방지하고, idempotency와 취소 메커니즘을 제공합니다. 또한 오류 처리, 재시도 정책, 로깅 및 관찰 가능성 기능을 통해 함수의 동작을 세밀하게 제어할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/inngest/inngest-skills/tree/main/skills/inngest-durable-functions

Installed? Explore more 생산성 & 협업 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

inngest-durable-functions은(는) 무엇을 하나요?

프로세스 충돌 시에도 함수가 유지되고, 실패 시 자동으로 재시도하며, 스케줄에 따라 실행되거나, 이벤트에 반응하거나, 인프라 장애에도 상태를 유지해야 하는 함수를 구축할 때 사용합니다. 예를 들어, 이벤트를 드롭하는 웹훅 핸들러, 불안정한 크론 잡, 실행 중간에 실패하는 백그라운드 작업, 중단된 지점부터 다시 시작해야 하는 워크플로우 등이 있습니다. Inngest 함수 구성, 트리거(events, cron, invoke), 단계 실행 및 메모이제이션, idempotency, 취소, 오류 처리, 재시도, 로깅 및 관찰 가능성을 다룹니다.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

inngest/inngest-events

Use when designing event-driven workflows, decoupling services, implementing fan-out patterns (one trigger, many downstream handlers), implementing idempotent event handling with IDs (24-hour dedupe window), or handling at-least-once delivery from external sources like Stripe webhooks. Covers Inngest event schema, payload format, naming conventions, IDs for idempotency, the ts param, fan-out patterns, and system events like inngest/function.failed.

inngest/inngest-middleware

Use when adding cross-cutting concerns to durable functions — structured logging or tracing across all functions, error tracking with Sentry, payload encryption for sensitive data, dependency injection of clients (DB, Stripe, etc.) into function handlers, custom telemetry, or behavior that should apply uniformly across many functions. Covers Inngest middleware lifecycle, creating custom middleware, dependencyInjectionMiddleware, @inngest/middleware-encryption, @inngest/middleware-sentry, and custom middleware patterns.

inngest/inngest-setup

Use when adding durable execution to a TypeScript project — building retry-safe webhook handlers, background jobs that survive crashes, scheduled tasks, or long-running workflows that outlive a single request. Covers Inngest SDK installation, client config, environment variables, serve endpoints (Next.js, Express, Hono, Fastify), connect-as-worker mode, and the local dev server.

inngest/inngest-steps

Use when implementing delays that must survive process restarts (e.g., 24-hour cart abandonment, scheduled follow-ups), waiting for human approval or external events with timeouts (review gates, webhook callbacks, async API completion), polling external services without losing state on crashes, calling other functions and awaiting their results, memoizing expensive operations so they don't re-run on retry, or running async work in parallel inside a workflow. Covers Inngest step methods: step.run, step.sleep, step.waitForEvent, step.waitForSignal, step.sendEvent, step.invoke, step.ai, plus patterns for loops and parallel execution.

관련 스킬