Uh oh!
There was an error while loading. Please reload this page.
Backport #1902: Fix compatibility with Zod 4.4.x - #1938
Conversation
* Fix compatibility with Zod 4.4.x * DCO Remediation Commit for Ziyak <ziyak97@gmail.com> I, Ziyak <ziyak97@gmail.com>, hereby add my Signed-off-by to this commit: 2bf5871 Signed-off-by: Ziyak <ziyak97@gmail.com> --------- Signed-off-by: Ziyak <ziyak97@gmail.com> Signed-off-by: Nathan Rajlich <n@n8.io> Co-authored-by: Nathan Rajlich <n@n8.io> Signed-off-by: Ziyak Jehangir <53836911+ziyak97@users.noreply.github.com>
🦋 Changeset detectedLatest commit: cee3e25 The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Pull request overview
Backports #1902 to stable by adjusting the WorkflowRunSchema discriminated union so that fields modeled as z.undefined() are also marked .optional(), restoring compatibility with Zod 4.4.x (where z.undefined()-typed properties are treated as required).
Changes:
- Make
output,error, andcompletedAtoptional in union variants where they are constrained toundefined(e.g.,pending,running,cancelled,completedforerror,failedforoutput).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR #1902 landed without a changeset; this adds the missing patch-level changeset for @workflow/world to the backport branch.
TooTallNate
commented
May 5, 2026
🧪 E2E Test Results❌ Some tests failed Summary
❌ Failed Tests🌍 Community Worlds (83 failed)mongodb (11 failed):
redis (7 failed):
turso (65 failed):
Details by Category✅ ▲ Vercel Production
✅ 💻 Local Development
✅ 📦 Local Production
✅ 🐘 Local Postgres
✅ 🪟 Windows
❌ 🌍 Community Worlds
✅ 📋 Other
|
Automated backport of #1902 to
stable.Triggered by the
backport-stablelabel.Merge conflicts were resolved by AI (opencode with Claude Opus). Please review the conflict resolution carefully before merging.