Skip to content

workflow@5.0.0-beta.5 pin is rejected by hosted Workflow API #891

Description

@mlekhi

Summary

A fresh deploy of this repo (deploy button or manual) produces a non-functional agent - every chat hangs on "Thinking…" forever. Similar issue is arising on the demo for Open Agents. The pinned workflow@5.0.0-beta.5 fails schema validation against the Workflow API on every run:

WorkflowWorldError: Schema validation failed for POST /v3/runs/:id/events:
  run.input: Invalid input: expected nonoptional, received undefined
  step.input: Invalid input: expected nonoptional, received undefined

Repro

  1. Deploy the repo as-is (with all env/OAuth setup completed)
  2. Sign in, create session, send chat message
  3. Chat never responds. Function logs show the schema validation error with runProvisioning and chat workflows fail after max retries

Fix (tested)

Bumping workflow 5.0.0-beta.5 → 5.0.0-beta.12 and @workflow/ai 5.0.0-beta.4 → 5.0.0-beta.6 resolves it. Workflow runs complete and the agent responds end-to-end (chat, title generation, sandbox provisioning). Versions newer than that are currently blocked by the repo's minimumReleaseAge: 1440 policy; lockfile regenerated with pnpm 11 so resolution respects the policy.

Working branch: https://github.com/mlekhi/open-agents-fork/tree/fix/workflow-sdk-bump

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions