⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@pranaygp
Copy link
Collaborator

@pranaygp pranaygp commented Jan 10, 2026

Added dedicated worlds page to show all available worlds incuding e2e testbench pass rate and performance benchmarking

Added historic performance benchmarking over last 30 commits/releases on github with request caching (should probably be ISR / PPR since these can be caluclated at build time and don't need to be re-fetched)

Rewrote the Local, Postgres and Vercel world documentation pages to follow a standard structure with config, observability, benchmarking notes

TODOs

  • Do another design and structural pass on the community world detail pages
  • Remove the old pages from docs for worlds and ensure redirect to prevent broken links
  • Include a better explanation on worlds, the interface, and how to build your own world
  • Polish up the worlds index page - need to replace the redundant AI generated components at the bottom with something more useful
  • Ask AI to do a code self review

Preview

Worlds Page

image image

Postgres Docs (also check the other worlds)
image
image
image

- Add dedicated world detail pages at /worlds/[id] with MDX-driven content
- Create WorldDetailHero, WorldDetailToc, WorldTestingPerformance components
- Add benchmark history charts and test summary links
- Rewrite local-world, postgres-world, and vercel-world MDX with cleaner structure
- Use h3 headings for configuration options instead of tables/accordions
- Add WorldDataProvider context for passing world data to MDX components
- Add example field to worlds-manifest for linking to example repos
- Update worlds index page design
Copilot AI review requested due to automatic review settings January 10, 2026 09:54
@changeset-bot
Copy link

changeset-bot bot commented Jan 10, 2026

⚠️ No Changeset found

Latest commit: 124827b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Jan 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Jan 11, 2026 2:07am
example-nextjs-workflow-webpack Ready Ready Preview, Comment Jan 11, 2026 2:07am
example-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-astro-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-express-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-fastify-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-hono-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-nitro-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-nuxt-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-sveltekit-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workbench-vite-workflow Ready Ready Preview, Comment Jan 11, 2026 2:07am
workflow-docs Ready Ready Preview, Comment Jan 11, 2026 2:07am

@github-actions
Copy link
Contributor

github-actions bot commented Jan 10, 2026

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 0.038s (+2.9%) 1.013s (~) 0.975s 10 1.00x
💻 Local Next.js (Turbopack) 0.040s (+4.7%) 1.017s (~) 0.977s 10 1.04x
🌐 Redis Next.js (Turbopack) 0.043s (+4.9%) 1.018s (~) 0.975s 10 1.12x
💻 Local Nitro 0.046s (+6.5% 🔺) 1.007s (~) 0.961s 10 1.19x
💻 Local Express 0.049s (+12.9% 🔺) 1.007s (~) 0.958s 10 1.28x
🌐 MongoDB Next.js (Turbopack) 0.084s (+54.1% 🔺) 1.015s (~) 0.931s 10 2.17x
🌐 Turso Next.js (Turbopack) 0.102s (+40.7% 🔺) 1.015s (~) 0.913s 10 2.65x
🐘 Postgres Nitro 0.254s (-13.8% 🟢) 1.013s (~) 0.759s 10 6.62x
🐘 Postgres Next.js (Turbopack) 0.352s (+2.5%) 1.035s (+1.1%) 0.683s 10 9.16x
🐘 Postgres Express 0.389s (+10.7% 🔺) 1.042s (+2.2%) 0.652s 10 10.13x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 0.634s (+15.2% 🔺) 1.533s (-5.5% 🟢) 0.899s 10 1.00x
▲ Vercel Express 0.690s (+12.8% 🔺) 1.602s (+12.6% 🔺) 0.912s 10 1.09x
▲ Vercel Nitro 0.748s (+36.2% 🔺) 1.615s (+12.6% 🔺) 0.866s 10 1.18x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.093s (~) 2.009s (~) 0.916s 10 1.00x
💻 Local Next.js (Turbopack) 1.093s (~) 2.011s (~) 0.918s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.103s (~) 2.013s (~) 0.910s 10 1.01x
💻 Local Express 1.115s (~) 2.007s (~) 0.893s 10 1.02x
💻 Local Nitro 1.115s (~) 2.007s (~) 0.892s 10 1.02x
🌐 MongoDB Next.js (Turbopack) 1.306s (~) 2.013s (~) 0.707s 10 1.20x
🌐 Turso Next.js (Turbopack) 1.323s (+1.7%) 2.013s (~) 0.690s 10 1.21x
🐘 Postgres Next.js (Turbopack) 1.769s (-4.3%) 2.016s (~) 0.248s 10 1.62x
🐘 Postgres Nitro 2.098s (-2.0%) 3.014s (~) 0.916s 10 1.92x
🐘 Postgres Express 2.221s (+3.1%) 2.612s (-13.3% 🟢) 0.391s 10 2.03x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.723s (-2.0%) 3.627s (+0.9%) 0.905s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.731s (-1.4%) 3.596s (-4.9%) 0.865s 10 1.00x
▲ Vercel Nitro 2.764s (~) 3.617s (+2.2%) 0.853s 10 1.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 10.580s (~) 11.010s (~) 0.430s 5 1.00x
💻 Local Next.js (Turbopack) 10.645s (~) 11.019s (~) 0.374s 5 1.01x
🌐 Redis Next.js (Turbopack) 10.667s (~) 11.019s (~) 0.352s 5 1.01x
💻 Local Express 10.789s (~) 11.010s (~) 0.220s 5 1.02x
💻 Local Nitro 10.806s (~) 11.013s (~) 0.207s 5 1.02x
🌐 Turso Next.js (Turbopack) 12.212s (~) 13.024s (~) 0.812s 5 1.15x
🌐 MongoDB Next.js (Turbopack) 12.254s (~) 13.027s (~) 0.773s 5 1.16x
🐘 Postgres Express 15.291s (-25.4% 🟢) 16.031s (-23.8% 🟢) 0.740s 5 1.45x
🐘 Postgres Next.js (Turbopack) 15.325s (+1.0%) 16.033s (~) 0.708s 5 1.45x
🐘 Postgres Nitro 20.472s (~) 21.032s (~) 0.560s 5 1.93x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 23.434s (+5.8% 🔺) 24.404s (+5.3% 🔺) 0.969s 5 1.00x
▲ Vercel Nitro 23.549s (+6.9% 🔺) 24.219s (+6.2% 🔺) 0.671s 5 1.00x
▲ Vercel Express 24.332s (+8.9% 🔺) 25.543s (+9.7% 🔺) 1.212s 5 1.04x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.357s (+0.6%) 2.011s (~) 0.654s 15 1.00x
🌐 Starter Next.js (Turbopack) 1.365s (+1.4%) 2.008s (~) 0.643s 15 1.01x
💻 Local Next.js (Turbopack) 1.383s (~) 2.012s (~) 0.629s 15 1.02x
💻 Local Express 1.412s (~) 2.007s (~) 0.595s 15 1.04x
💻 Local Nitro 1.426s (+1.1%) 2.006s (~) 0.580s 15 1.05x
🐘 Postgres Express 1.980s (-19.2% 🟢) 2.235s (-25.8% 🟢) 0.255s 14 1.46x
🐘 Postgres Nitro 2.055s (-14.3% 🟢) 2.596s (-13.8% 🟢) 0.541s 12 1.51x
🌐 MongoDB Next.js (Turbopack) 2.142s (~) 3.013s (~) 0.870s 10 1.58x
🐘 Postgres Next.js (Turbopack) 2.190s (+4.6%) 2.599s (+3.2%) 0.409s 12 1.61x
🌐 Turso Next.js (Turbopack) 2.227s (~) 3.014s (~) 0.788s 10 1.64x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.168s (+8.5% 🔺) 3.917s (+7.7% 🔺) 0.749s 8 1.00x
▲ Vercel Express 3.173s (+7.2% 🔺) 3.963s (+5.6% 🔺) 0.790s 8 1.00x
▲ Vercel Next.js (Turbopack) 3.262s (+8.2% 🔺) 3.879s (-0.8%) 0.618s 8 1.03x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.151s (~) 3.055s (+0.6%) 0.903s 10 1.00x
💻 Local Nitro 2.215s (~) 3.105s (-2.4%) 0.890s 10 1.03x
💻 Local Express 2.233s (-3.6%) 3.184s (-1.3%) 0.951s 10 1.04x
🌐 Starter Next.js (Turbopack) 2.453s (~) 3.009s (~) 0.556s 10 1.14x
🌐 Redis Next.js (Turbopack) 2.537s (+1.6%) 3.014s (~) 0.477s 10 1.18x
🐘 Postgres Next.js (Turbopack) 2.552s (-2.5%) 3.022s (~) 0.470s 10 1.19x
🐘 Postgres Express 2.749s (-9.9% 🟢) 3.012s (-18.8% 🟢) 0.263s 10 1.28x
🐘 Postgres Nitro 2.913s (-4.4%) 3.128s (-7.1% 🟢) 0.214s 10 1.35x
🌐 Turso Next.js (Turbopack) 4.670s (-0.6%) 5.183s (~) 0.513s 6 2.17x
🌐 MongoDB Next.js (Turbopack) 4.720s (+1.4%) 5.181s (~) 0.460s 6 2.19x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 3.511s (-5.0%) 4.200s (-6.9% 🟢) 0.689s 8 1.00x
▲ Vercel Nitro 3.699s (-6.5% 🟢) 4.363s (-7.8% 🟢) 0.664s 7 1.05x
▲ Vercel Express 3.892s (+6.5% 🔺) 4.489s (+7.5% 🔺) 0.597s 8 1.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.331s (-1.7%) 2.007s (~) 0.676s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.393s (+1.8%) 2.010s (~) 0.617s 15 1.05x
💻 Local Next.js (Turbopack) 1.407s (~) 2.012s (~) 0.605s 15 1.06x
💻 Local Nitro 1.423s (~) 2.005s (~) 0.582s 15 1.07x
💻 Local Express 1.428s (-1.6%) 2.006s (~) 0.578s 15 1.07x
🐘 Postgres Nitro 1.801s (-4.4%) 2.009s (~) 0.208s 15 1.35x
🐘 Postgres Next.js (Turbopack) 1.882s (+4.5%) 2.013s (~) 0.131s 15 1.41x
🐘 Postgres Express 1.904s (+2.6%) 2.231s (+11.0% 🔺) 0.327s 14 1.43x
🌐 MongoDB Next.js (Turbopack) 2.146s (~) 3.012s (~) 0.866s 10 1.61x
🌐 Turso Next.js (Turbopack) 2.231s (~) 3.013s (~) 0.782s 10 1.68x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.837s (-11.6% 🟢) 3.689s (-7.0% 🟢) 0.852s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.904s (-16.4% 🟢) 3.588s (-18.4% 🟢) 0.685s 9 1.02x
▲ Vercel Express 2.918s (-3.7%) 3.640s (-3.6%) 0.723s 9 1.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 2.221s (-5.5% 🟢) 3.156s (-4.3%) 0.934s 10 1.00x
💻 Local Next.js (Turbopack) 2.238s (+4.1%) 3.120s (+1.6%) 0.882s 10 1.01x
💻 Local Nitro 2.272s (-1.3%) 3.219s (-1.0%) 0.947s 10 1.02x
🌐 Starter Next.js (Turbopack) 2.448s (~) 3.009s (~) 0.561s 10 1.10x
🐘 Postgres Next.js (Turbopack) 2.474s (-5.1% 🟢) 3.013s (~) 0.539s 10 1.11x
🐘 Postgres Nitro 2.503s (-11.2% 🟢) 3.020s (-3.5%) 0.517s 10 1.13x
🌐 Redis Next.js (Turbopack) 2.505s (+0.5%) 3.014s (~) 0.509s 10 1.13x
🐘 Postgres Express 2.780s (+4.0%) 3.018s (~) 0.238s 10 1.25x
🌐 MongoDB Next.js (Turbopack) 4.622s (-2.1%) 5.180s (~) 0.558s 6 2.08x
🌐 Turso Next.js (Turbopack) 4.747s (+1.3%) 5.180s (~) 0.434s 6 2.14x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 3.517s (-7.4% 🟢) 4.129s (-14.5% 🟢) 0.613s 8 1.00x
▲ Vercel Express 3.634s (-13.4% 🟢) 4.187s (-20.6% 🟢) 0.553s 8 1.03x
▲ Vercel Nitro 4.337s (-1.0%) 5.004s (~) 0.667s 6 1.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 0.129s (+5.2% 🔺) 1.006s (~) 0.000s (-50.0% 🟢) 1.011s (~) 0.882s 10 1.00x
💻 Local Next.js (Turbopack) 0.141s (-2.2%) 1.003s (~) 0.016s (+3.8%) 1.027s (~) 0.886s 10 1.09x
🌐 Redis Next.js (Turbopack) 0.144s (-4.3%) 1.005s (~) 0.000s (-100.0% 🟢) 1.014s (~) 0.870s 10 1.12x
💻 Local Nitro 0.177s (+0.6%) 0.993s (~) 0.015s (-7.6% 🟢) 1.021s (~) 0.844s 10 1.37x
💻 Local Express 0.182s (+2.4%) 0.993s (~) 0.017s (+7.5% 🔺) 1.024s (~) 0.842s 10 1.41x
🌐 Turso Next.js (Turbopack) 0.460s (+2.4%) 0.992s (-0.9%) 0.000s (NaN%) 1.014s (~) 0.554s 10 3.56x
🌐 MongoDB Next.js (Turbopack) 0.517s (+6.8% 🔺) 0.932s (-3.6%) 0.000s (-100.0% 🟢) 1.013s (~) 0.496s 10 4.00x
🐘 Postgres Express 1.116s (-52.4% 🟢) 1.926s (-28.6% 🟢) 0.000s (-100.0% 🟢) 2.015s (-33.2% 🟢) 0.898s 10 8.64x
🐘 Postgres Next.js (Turbopack) 1.409s (~) 1.637s (~) 0.000s (+Infinity% 🔺) 2.017s (~) 0.609s 10 10.90x
🐘 Postgres Nitro 2.123s (-7.7% 🟢) 2.576s (-6.1% 🟢) 0.000s (~) 2.815s (-6.6% 🟢) 0.692s 10 16.43x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.384s (+12.5% 🔺) 3.462s (+8.7% 🔺) 1.391s (+234.8% 🔺) 5.520s (+35.7% 🔺) 2.136s 10 1.00x
▲ Vercel Express 3.460s (+19.0% 🔺) 3.737s (+17.0% 🔺) 1.228s (+143.5% 🔺) 5.567s (+32.0% 🔺) 2.107s 10 1.02x
▲ Vercel Next.js (Turbopack) 3.636s (+22.4% 🔺) 3.909s (+19.1% 🔺) 0.923s (+98.6% 🔺) 5.295s (+25.4% 🔺) 1.659s 10 1.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Next.js (Turbopack) 7/8
🐘 Postgres Next.js (Turbopack) 3/8
▲ Vercel Next.js (Turbopack) 4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 💻 Local 8/8
Next.js (Turbopack) 🌐 Starter 5/8
Nitro 💻 Local 8/8
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Jan 10, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 363 0 11 374
✅ 💻 Local Development 332 0 8 340
✅ 📦 Local Production 332 0 8 340
✅ 🐘 Local Postgres 332 0 8 340
✅ 🪟 Windows 34 0 0 34
❌ 🌍 Community Worlds 131 17 0 148
Total 1524 17 35 1576

❌ Failed Tests

🌍 Community Worlds (17 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (14 failed):

  • addTenWorkflow
  • addTenWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 33 0 1
✅ example 33 0 1
✅ express 33 0 1
✅ fastify 33 0 1
✅ hono 33 0 1
✅ nextjs-turbopack 33 0 1
✅ nextjs-webpack 33 0 1
✅ nitro 33 0 1
✅ nuxt 33 0 1
✅ sveltekit 33 0 1
✅ vite 33 0 1
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 33 0 1
✅ express-stable 33 0 1
✅ fastify-stable 33 0 1
✅ hono-stable 33 0 1
✅ nextjs-turbopack-stable 34 0 0
✅ nextjs-webpack-stable 34 0 0
✅ nitro-stable 33 0 1
✅ nuxt-stable 33 0 1
✅ sveltekit-stable 33 0 1
✅ vite-stable 33 0 1
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 33 0 1
✅ express-stable 33 0 1
✅ fastify-stable 33 0 1
✅ hono-stable 33 0 1
✅ nextjs-turbopack-stable 34 0 0
✅ nextjs-webpack-stable 34 0 0
✅ nitro-stable 33 0 1
✅ nuxt-stable 33 0 1
✅ sveltekit-stable 33 0 1
✅ vite-stable 33 0 1
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 33 0 1
✅ express-stable 33 0 1
✅ fastify-stable 33 0 1
✅ hono-stable 33 0 1
✅ nextjs-turbopack-stable 34 0 0
✅ nextjs-webpack-stable 34 0 0
✅ nitro-stable 33 0 1
✅ nuxt-stable 33 0 1
✅ sveltekit-stable 33 0 1
✅ vite-stable 33 0 1
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 34 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 33 1 0
✅ redis-dev 3 0 0
❌ redis 33 1 0
✅ starter-dev 3 0 0
❌ starter 20 14 0
✅ turso-dev 3 0 0
❌ turso 33 1 0

📋 View full workflow run

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR revamps the World documentation by creating dedicated detail pages for official worlds (local, postgres, vercel) with MDX-driven content. It introduces new components for world detail pages, benchmark history visualization with interactive charts, and a redesigned worlds index page with a 3D globe visual.

Changes:

  • Created dedicated /worlds/[id] routes with MDX content for official worlds and template components for community worlds
  • Added benchmark history charts showing performance trends over releases/commits with clickable data points
  • Restructured world documentation with cleaner h3 headings for configuration options instead of tables
  • Added TOC generation from MDX headings and world data provider context for component communication

Reviewed changes

Copilot reviewed 31 out of 32 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
worlds-manifest.json Added example field for linking to example repositories
package.json Added cobe dependency (0.6.5) for 3D globe visualization
next.config.ts Added redirects from old /docs/deploying/world/* paths to new /worlds/* routes
worlds-data.ts Enhanced to extract framework-specific E2E data, workflow timing metrics, and added single world lookup functions
types.ts Added framework E2E breakdown types, workflow timing fields, benchmark10SeqMs metric, and formatTime utility
WorldDetailHero.tsx New hero component for world detail pages with E2E/benchmark summary and quick links
WorldDetailToc.tsx New TOC component with intersection observer for active section highlighting
WorldTestingPerformance.tsx New component displaying E2E test results and benchmark tables with history chart integration
WorldDataProvider.tsx New context provider for sharing world data between MDX and client components
WorldCardSimple.tsx New simplified card component for worlds index page with E2E/PERF metrics footer
Globe.tsx New interactive 3D globe component using COBE library
BenchmarkHistoryChart.tsx New dialog component showing performance trends over time with releases/commits toggle
local-world.mdx Rewritten with cleaner structure, h3 config options, and Testing & Performance section
postgres-world.mdx Rewritten with installation steps, framework-specific examples, and detailed configuration
vercel-world.mdx Rewritten with simplified auto-configuration explanation and versioning details
worlds/page.tsx New worlds index page with globe hero, world cards grid, and "What is a World?" section
worlds/[id]/page.tsx New dynamic world detail page supporting both MDX and template rendering
worlds/compare/page.tsx New benchmark comparison page with tables and charts
benchmark-history/route.ts New API route fetching historical benchmark data from gh-pages commits
generate-docs-data.js Enhanced to extract workflow timing metrics (min/max/ttfb/slurp) from benchmark results
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +44 to +63
return (
<nav className="space-y-1">
<p className="font-medium text-sm mb-2">On this page</p>
{items.map((item) => (
<a
key={item.id}
href={`#${item.id}`}
className={cn(
'block text-sm py-1 border-l-2 pl-3 transition-colors',
activeId === item.id
? 'border-primary text-foreground font-medium'
: 'border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground'
)}
>
{item.title}
</a>
))}
</nav>
);
}
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When items array is empty, this component renders a nav with just the "On this page" heading but no links. While not necessarily broken, consider adding a conditional render or early return if items.length === 0 to avoid rendering an empty navigation section.

Copilot uses AI. Check for mistakes.
Comment on lines +80 to +87
const fileRes = await fetch(
`https://raw.githubusercontent.com/${REPO}/${ghPagesSha}/${FILE_PATH}`,
{ next: { revalidate: 3600 } }
);

if (!fileRes.ok) return null;

return (await fileRes.json()) as CIResultsData;
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JSON parsing at line 87 doesn't handle malformed JSON responses. If the GitHub API returns invalid JSON, this will throw an unhandled error. Consider wrapping the await fileRes.json() in a try-catch or adding validation.

Copilot uses AI. Check for mistakes.
Comment on lines +120 to +145
const ghPagesCommits = (await ghPagesCommitsRes.json()) as GitHubCommit[];

// Fetch benchmark data for each gh-pages commit in batches
const BATCH_SIZE = 10;
for (let i = 0; i < ghPagesCommits.length; i += BATCH_SIZE) {
const batch = ghPagesCommits.slice(i, i + BATCH_SIZE);
const results = await Promise.all(
batch.map(async (ghCommit) => {
const data = await fetchBenchmarkFile(ghCommit.sha);
if (!data || !data.commit) return null;

return {
ghPagesSha: ghCommit.sha,
mainCommitSha: data.commit,
timestamp: data.lastUpdated,
data,
};
})
);

for (const result of results) {
if (result && !snapshotMap.has(result.mainCommitSha)) {
// Only keep the first (most recent) benchmark for each main commit
snapshotMap.set(result.mainCommitSha, result);
}
}
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, the JSON parsing at line 120 for gh-pages commits doesn't handle malformed JSON responses. Consider adding error handling for the await ghPagesCommitsRes.json() call.

Suggested change
const ghPagesCommits = (await ghPagesCommitsRes.json()) as GitHubCommit[];
// Fetch benchmark data for each gh-pages commit in batches
const BATCH_SIZE = 10;
for (let i = 0; i < ghPagesCommits.length; i += BATCH_SIZE) {
const batch = ghPagesCommits.slice(i, i + BATCH_SIZE);
const results = await Promise.all(
batch.map(async (ghCommit) => {
const data = await fetchBenchmarkFile(ghCommit.sha);
if (!data || !data.commit) return null;
return {
ghPagesSha: ghCommit.sha,
mainCommitSha: data.commit,
timestamp: data.lastUpdated,
data,
};
})
);
for (const result of results) {
if (result && !snapshotMap.has(result.mainCommitSha)) {
// Only keep the first (most recent) benchmark for each main commit
snapshotMap.set(result.mainCommitSha, result);
}
}
try {
const ghPagesCommits = (await ghPagesCommitsRes.json()) as GitHubCommit[];
// Fetch benchmark data for each gh-pages commit in batches
const BATCH_SIZE = 10;
for (let i = 0; i < ghPagesCommits.length; i += BATCH_SIZE) {
const batch = ghPagesCommits.slice(i, i + BATCH_SIZE);
const results = await Promise.all(
batch.map(async (ghCommit) => {
const data = await fetchBenchmarkFile(ghCommit.sha);
if (!data || !data.commit) return null;
return {
ghPagesSha: ghCommit.sha,
mainCommitSha: data.commit,
timestamp: data.lastUpdated,
data,
};
})
);
for (const result of results) {
if (result && !snapshotMap.has(result.mainCommitSha)) {
// Only keep the first (most recent) benchmark for each main commit
snapshotMap.set(result.mainCommitSha, result);
}
}
}
} catch (error) {
console.error('Failed to parse gh-pages commits JSON', error);
return snapshotMap;

Copilot uses AI. Check for mistakes.
Comment on lines +122 to +148
// Fetch benchmark data for each gh-pages commit in batches
const BATCH_SIZE = 10;
for (let i = 0; i < ghPagesCommits.length; i += BATCH_SIZE) {
const batch = ghPagesCommits.slice(i, i + BATCH_SIZE);
const results = await Promise.all(
batch.map(async (ghCommit) => {
const data = await fetchBenchmarkFile(ghCommit.sha);
if (!data || !data.commit) return null;

return {
ghPagesSha: ghCommit.sha,
mainCommitSha: data.commit,
timestamp: data.lastUpdated,
data,
};
})
);

for (const result of results) {
if (result && !snapshotMap.has(result.mainCommitSha)) {
// Only keep the first (most recent) benchmark for each main commit
snapshotMap.set(result.mainCommitSha, result);
}
}
}

return snapshotMap;
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The batch processing loop processes all gh-pages commits (up to 100) without any upper bound on memory usage. If there are many commits, this could create a large number of parallel fetch requests. Consider adding a limit to the total number of commits processed or adding more granular error handling to prevent memory issues.

Copilot uses AI. Check for mistakes.
Comment on lines 69 to 70
const globe = createGlobe(canvasRef.current!, globeConfig);

Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The canvasRef.current could be null when createGlobe is called. While the non-null assertion operator (!) is used, this could cause a runtime error if the component unmounts or the ref isn't set before the effect runs. Add a null check before calling createGlobe.

Suggested change
const globe = createGlobe(canvasRef.current!, globeConfig);
const canvas = canvasRef.current;
if (!canvas) {
return () => {
window.removeEventListener('resize', onResize);
};
}
const globe = createGlobe(canvas, globeConfig);

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

World documentation pages at /docs/deploying/world/* should redirect to /worlds/[id], but the redirect was never implemented - only mentioned in a comment

Fix on Vercel

samples: latestPoint?.samples,
current,
trendPercent,
ttfb: latestPoint?.ttfb,
Copy link
Contributor

@vercel vercel bot Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trend calculation defaults undefined workflowTime values to 0, making it impossible to distinguish between "no data" and "zero performance time"

Fix on Vercel

Comment on lines +85 to +88
if (!fileRes.ok) return null;

return (await fileRes.json()) as CIResultsData;
} catch {
Copy link
Contributor

@vercel vercel bot Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTTP errors (404, 500, etc.) in fetchBenchmarkFile() are silently caught without logging, making it impossible to distinguish between expected file-not-found cases and actual network/server failures

Fix on Vercel

- Update title format to '{Name} World | Workflow DevKit'
- Update worlds index page title to 'Worlds | Workflow DevKit'
- Improve world descriptions in worlds-manifest.json for better SEO
- Add dynamic OG image generation at /worlds/[id]/og
- Add openGraph and twitter metadata to world detail pages
const pointerInteracting = useRef<number | null>(null);
const pointerInteractionMovement = useRef(0);
const [size, setSize] = useState(1200);
const { resolvedTheme } = useTheme();
Copy link
Contributor

@vercel vercel bot Jan 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Globe component uses useTheme() without deferring initialization, causing hydration mismatch between server (undefined theme) and client

Fix on Vercel

- Replace route-based og/route.tsx with opengraph-image.tsx file convention
- Remove runtime = 'edge' to allow generateStaticParams for static generation
- Simplify page.tsx metadata (Next.js auto-detects opengraph-image.tsx)
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​cobe@​0.6.51001009383100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants