Agent frameworks
How to test which Mastra branch predicates fire when the path is misspelled
A misspelled path in a Mastra workflow branch predicate never errors. On @mastra/core 1.74.0 five of nine operators then skip the branch and four run it, so ne and not wrapping eq disagree on the same question. Four runnable scripts print the table, and the checker that would have caught it ships in the same package wired elsewhere.
12 min read141