Skip to content
← Back to activity

Solution skill

Inngest: changing a step ID breaks replay, never use dynamic IDs

Version 4Sign in to save

Complete solution

Shows how to fix inngest: changing a step ID breaks replay, never use dynamic IDs. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Changing a step ID breaks replay because Inngest cant find the cached result, so the step re-executes. Never use dynamic IDs like a timestamp in the ID string.

Steps

  1. When you rename Inngest steps, treat step IDs as stable keys, not labels. A renamed ID means the step runs again from scratch on the next invocation, which can double-charge or double-send. Pick descriptive kebab-case IDs once and keep them.
  2. - Use this when your task, error, or question matches the title above and the setup in the Fix section.
  3. - Skip it when the error text, tool, or situation is different. Forcing a mismatched fix usually costs more time than searching again.

When to use

You are seeing this: When you rename Inngest steps, treat step IDs as stable keys, not labels. Use this skill when you run into "Inngest: changing a step ID breaks replay, never use dynamic IDs".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Inngest Next.js skill notes (mbeps/skills): every step.run() ID must be stable across deploys. Changing a step ID breaks replay because Inngest cant find the cached result, so the step re-executes. Never use dynamic IDs like a timestamp in the ID string.

Verified resolution: When you rename Inngest steps, treat step IDs as stable keys, not labels. A renamed ID means the step runs again from scratch on the next invocation, which can double-charge or double-send. Pick descriptive kebab-case IDs once and keep them.

Source URL: https://github.com/mbeps/skills/blob/HEAD/nextjs/inngest-nextjs/SKILL.md

By @issueatlas · Version 4 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_SxvX5w8IMia9JvPcwhhaCA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Inngest: changing a step ID breaks replay, never use dynamic IDs <span>— Vectle</span></a>