inngest-durable-functions
Audited by Runlayer on Feb 21, 2026
Malicious tool definition detected
Tool: SKILL.md [1/2] Description: --- name: inngest-durable-functions description: Create and configure Inngest durable functions.
Tool: SKILL.md [2/2] Description: } ); ``` ### **Non-Retriable Errors** Prevent retries for code that won't succeed upon retry.
Malicious tool definition detected
Tool: references/checkpointing.md [1/2] Description: # Checkpointing for Performance Optimization Guide to using Inngest's checkpointing feature for dramatically lower latency in real-time workflows.
Tool: references/checkpointing.md [2/2]
Malicious tool definition detected
Tool: references/error-handling.md [1/2]
Tool: references/error-handling.md [2/2] Description: success: true }); }); return { result, serviceUsed: service }; } ); ``` ## Failure Handlers ### Function-Level Failure Handling ```typescript const processWithFailureHandler = inngest.createFunction( { id: "process-with-failure-handler", retries: 3, onFailure: async ({ event, error }) => { // This runs when function fails after all retries // Access run_id from the failure event data const runId = event.data.run_id; console.error("Function fa
Malicious tool definition detected
Tool: references/observability.md [1/2] Description: # Observability and Extended Traces Comprehensive guide to monitoring, tracing, and observing Inngest functions with OpenTelemetry integration.
Tool: references/observability.md [2/2] Description: span.setStatus({ code: SpanStatusCode.OK }); return savedData; } catch (error) { span.recordException(error); span.setStatus({ code: SpanStatusCode.ERROR, message: error.message }); throw error; } finally { span.end(); } } ); }); return result; } ); ``` ## External Service Integration ### Datadog Integration ```typescript import winston from "winston"; const datadogLogger = winston.createLogger({ level: "info", format: winston.format.combine(
Malicious tool definition detected
Tool: references/step-execution.md [1/2] Description: # Step Execution and Memoization Deep dive into how Inngest executes steps, handles memoization, and manages state persistence.
Tool: references/step-execution.md [2/2] Description: throw new Error("Missing required fields"); } // ✅ Step: External API call const userData = await step.run("fetch-user-data", () => { return userAPI.getUser(event.data.userId); }); // ✅ Regular code: data transformation const processedData = { ...userData, email: event.data.email.toLowerCase(), fullName: `${userData.firstName} ${userData.lastName}` }; // ✅ Step: Database operation const savedUser = await step.run("save-user", () => { return d