Make wf build --manifest-file include steps / classes metadata#931
Conversation
🦋 Changeset detectedLatest commit: 0be144c The changes in this PR will be included in the next version bump. This PR includes changesets to release 15 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 |
🧪 E2E Test Results❌ Some tests failed Summary
❌ Failed Tests🌍 Community Worlds (169 failed)mongodb (42 failed):
redis (42 failed):
starter (43 failed):
turso (42 failed):
Details by Category✅ ▲ Vercel Production
✅ 💻 Local Development
✅ 📦 Local Production
✅ 🐘 Local Postgres
✅ 🪟 Windows
❌ 🌍 Community Worlds
✅ 📋 Other
|
📊 Benchmark Results
workflow with no steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Express | Next.js (Turbopack) workflow with 1 step💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Express | Next.js (Turbopack) workflow with 10 sequential steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Next.js (Turbopack) | Express workflow with 25 sequential steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Next.js (Turbopack) | Nitro workflow with 50 sequential steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Next.js (Turbopack) | Express Promise.all with 10 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Nitro | Express Promise.all with 25 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Express | Next.js (Turbopack) Promise.all with 50 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Express | Nitro Promise.race with 10 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Next.js (Turbopack) | Nitro Promise.race with 25 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Next.js (Turbopack) | Express Promise.race with 50 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Nitro | Next.js (Turbopack) Stream Benchmarks (includes TTFB metrics)workflow with stream💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Nitro | Express SummaryFastest Framework by WorldWinner determined by most benchmark wins
Fastest World by FrameworkWinner determined by most benchmark wins
Column Definitions
Worlds:
|
There was a problem hiding this comment.
Pull request overview
This PR modifies the wf build --manifest-file output to include the complete workflow metadata (steps, workflows, and classes) instead of only the workflows object. This provides consumers with comprehensive information for workflow visualization, debugging, and integration.
Changes:
- Modified
base-builder.tsto write the entireWorkflowManifestobject to the manifest file instead of just theworkflowsproperty - Updated
workbench/example/api/trigger.tsto access workflows throughworkflowManifest.workflowsinstead of directly from the root - Added a changeset documenting this change as a patch version
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/builders/src/base-builder.ts | Changed manifest file output from workflowManifest.workflows to the complete workflowManifest object |
| workbench/example/api/trigger.ts | Updated to access workflows via workflowManifest.workflows property path |
| .changeset/few-drinks-return.md | Added changeset for this feature as a patch release |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Updated the manifest file output to include complete workflow metadata instead of just the workflows object.
What changed?
base-builder.tsto write the entire workflow manifest to the manifest file, not just theworkflowspropertyworkflowManifest.workflowsinstead of directly fromworkflowManifest)How to test?
wf build --manifest-file=path/to/manifest.jsWhy make this change?
Including the complete workflow metadata (steps and classes) in the manifest file provides more comprehensive information for tools and services that consume this data. This enables better workflow visualization, debugging, and integration capabilities.