docs: add documentation for deploymentId: "latest" in start()#1409
docs: add documentation for deploymentId: "latest" in start()#1409TooTallNate merged 2 commits intomainfrom
deploymentId: "latest" in start()#1409Conversation
🦋 Changeset detectedLatest commit: 7ce28c4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 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 |
📊 Benchmark Results
workflow with no steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Express | Nitro workflow with 1 step💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Next.js (Turbopack) | Express workflow with 10 sequential steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Next.js (Turbopack) | Nitro workflow with 25 sequential steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Next.js (Turbopack) | Nitro | Express workflow with 50 sequential steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Next.js (Turbopack) | Nitro Promise.all with 10 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Express | Next.js (Turbopack) Promise.all with 25 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Nitro | Next.js (Turbopack) Promise.all with 50 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Express | Next.js (Turbopack) 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: Express | Nitro | Next.js (Turbopack) Promise.race with 50 concurrent steps💻 Local Development
▲ Production (Vercel)
🔍 Observability: Nitro | Express | Next.js (Turbopack) Stream Benchmarks (includes TTFB metrics)workflow with stream💻 Local Development
▲ Production (Vercel)
🔍 Observability: Express | Next.js (Turbopack) | Nitro SummaryFastest Framework by WorldWinner determined by most benchmark wins
Fastest World by FrameworkWinner determined by most benchmark wins
Column Definitions
Worlds:
❌ Some benchmark jobs failed:
Check the workflow run for details. |
🧪 E2E Test Results❌ Some tests failed Summary
❌ Failed Tests🌍 Community Worlds (55 failed)mongodb (3 failed):
redis (2 failed):
turso (50 failed):
Details by Category✅ ▲ Vercel Production
✅ 💻 Local Development
✅ 📦 Local Production
✅ 🐘 Local Postgres
✅ 🪟 Windows
❌ 🌍 Community Worlds
✅ 📋 Other
|
There was a problem hiding this comment.
Pull request overview
Documentation-only PR that adds docs for the deploymentId: "latest" option in start() (introduced in #1317) and removes the @deprecated TSDoc tag from StartOptions.deploymentId.
Changes:
- Add API reference section documenting
deploymentId: "latest"with compatibility warnings - Add cross-reference callout in Common Patterns for background execution via step
- Remove
@deprecatedtag fromStartOptions.deploymentIdin@workflow/core
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
docs/content/docs/api-reference/workflow-api/start.mdx |
New section documenting deploymentId: "latest" with callouts |
docs/content/docs/foundations/common-patterns.mdx |
Cross-reference callout for deploymentId: "latest" |
packages/core/src/runtime/start.ts |
Remove @deprecated tag, improve JSDoc |
.changeset/docs-deploymentid-latest.md |
Changeset for the patch |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Summary
deploymentId: "latest"option instart(), which was added in feat: supportdeploymentId: 'latest'instart()to resolve most recent deployment #1317 but not documented@deprecatedtag fromStartOptions.deploymentIdin@workflow/coresince it doesn't render correctly in the TSDoc component and the option is actively supported