0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

fix(core): handle null workflow input on evented failure and nested resume

A run started with `null` input stores `context.input = null`, and
hydrateSerializedStepErrors read `.status` on it, so a step failure left
evented `start()` waiting forever and crashed the Inngest status poll.
Nested resume used `payload ?? parentInput`, so a nested step whose stored
input was `null` or `undefined` got the nested workflow input instead.
Use the stored payload whenever the step record exists, and drop the
Inngest `it.fails` pin for explicit null input, which now passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Leo 2026-11-05 11:06:17 -05:00
commit 765d1f564f
7 changed files with 90 additions and 11 deletions