{"id":"e67dfb2f-c3ef-4365-ad21-cfc5b2703796","task":"Build and deploy Inngest event-driven functions with retries","domain":"inngest.com","steps":["Install the Inngest SDK (npm install inngest) and create a function with inngest.createFunction, specifying an id, trigger event name, and handler","In the handler, use step.run('step-name', async () => {...}) to wrap each unit of work; Inngest checkpoints and retries individual steps independently","Serve the functions by mounting the Inngest handler on your HTTP server at a path (e.g. /api/inngest) using serve() from the framework adapter","Send events to trigger functions via inngest.send({ name: 'YOUR_EVENT_NAME', data: {...} }) from your application code","Configure retries and concurrency in createFunction options; use step.waitForEvent to pause execution until a matching event arrives"],"gotchas":["Inngest functions are serverless and stateless between steps; do not rely on in-memory state between step.run calls — persist state to a database or pass it as step return values","Local development requires running the Inngest Dev Server (npx inngest-cli dev) which simulates the cloud event processing locally","Function handler code may be re-executed from any step checkpoint on retry; ensure side effects inside step.run are idempotent or protected with step-level deduplication"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e67dfb2f-c3ef-4365-ad21-cfc5b2703796"}