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

fix(core): pass omitted and null input to evented inputSchema validation

Evented start() and startAsync() replaced undefined/null inputData with {}
before validating it, so top-level inputSchema defaults never applied and
nullable schemas rejected an explicit null. stream() calls start(), so it
was affected too. Both start paths now pass inputData unchanged, as the
default engine does.

Adds shared workflow-suite cases (default, evented, Inngest) and a focused
evented startAsync test. Two Inngest-only divergences found along the way
are pinned with it.fails.

Closes #29424

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Leo 2026-11-05 10:34:50 -05:00
commit 80b7fd6851
6 changed files with 314 additions and 2 deletions