Skip to content

Render structured error stack traces as readable text across all error views#1201

Merged
karthikscale3 merged 6 commits into
mainfrom
v0/pranaygp-4a15c7a6
Feb 26, 2026
Merged

Render structured error stack traces as readable text across all error views#1201
karthikscale3 merged 6 commits into
mainfrom
v0/pranaygp-4a15c7a6

Conversation

@pranaygp
Copy link
Copy Markdown
Contributor

@pranaygp pranaygp commented Feb 26, 2026

Error bodies containing structured errors with stack fields were rendered as raw JSON tree objects, making stack traces hard to read. This affected the attribute panel, the sidebar events list, and the full events tab.

What changed

  • Extracted ErrorStackBlock and isStructuredErrorWithStack into a shared ui/error-stack-block.tsx component for reuse across all error rendering surfaces
  • Attribute panel (attribute-panel.tsx): Renders errors with a stack field as readable <pre> text styled to match CopyableDataBlock, falling back to the raw JSON viewer for errors without a stack
  • Sidebar events list (events-list.tsx): Added EventDataBlock wrapper that detects step_failed/step_retrying events and renders their nested error field with ErrorStackBlock
  • Events tab (event-list-view.tsx): Updated PayloadBlock to accept an eventType prop and render structured errors from step_failed, step_retrying, run_failed, and workflow_failed events with ErrorStackBlock
  • Fixed TypeScript build errors: restored missing toast import from sonner and removed incorrect type cast that widened the type-guard-narrowed value

Slack Thread

Update 'error' display to show stack trace as '<pre>' text.

Slack-Thread: https://vercel.slack.com/archives/C09G3EQAL84/p1772083947691689?thread_ts=1772083947.691689&cid=C09G3EQAL84
Co-authored-by: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 26, 2026 05:36
@pranaygp pranaygp requested a review from a team as a code owner February 26, 2026 05:36
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 26, 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
💻 Local 🥇 Express 0.033s (-0.6%) 1.005s (~) 0.973s 10 1.00x
💻 Local Nitro 0.033s (+1.9%) 1.005s (~) 0.972s 10 1.01x
💻 Local Next.js (Turbopack) 0.041s 1.005s 0.964s 10 1.25x
🐘 Postgres Express 0.043s (-20.3% 🟢) 1.011s (~) 0.969s 10 1.31x
🌐 Redis Next.js (Turbopack) 0.045s 1.005s 0.960s 10 1.38x
🐘 Postgres Nitro 0.062s (+9.9% 🔺) 1.020s (+0.8%) 0.958s 10 1.91x
🌐 MongoDB Next.js (Turbopack) 0.105s 1.008s 0.902s 10 3.24x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 0.465s (-17.8% 🟢) 1.930s (-3.1%) 1.465s 10 1.00x
▲ Vercel Nitro 0.467s (-12.7% 🟢) 2.041s (+12.5% 🔺) 1.575s 10 1.00x
▲ Vercel Express 0.512s (-19.6% 🟢) 2.001s (+0.6%) 1.489s 10 1.10x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.089s (-4.4%) 2.011s (~) 0.922s 10 1.00x
💻 Local Next.js (Turbopack) 1.103s 2.004s 0.901s 10 1.01x
🌐 Redis Next.js (Turbopack) 1.104s 2.006s 0.902s 10 1.01x
💻 Local Express 1.105s (~) 2.006s (~) 0.901s 10 1.01x
💻 Local Nitro 1.107s (~) 2.006s (~) 0.899s 10 1.02x
🐘 Postgres Nitro 1.126s (-0.8%) 2.011s (~) 0.885s 10 1.03x
🌐 MongoDB Next.js (Turbopack) 1.305s 2.009s 0.704s 10 1.20x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.004s (+2.8%) 3.165s (+7.6% 🔺) 1.161s 10 1.00x
▲ Vercel Express 2.117s (~) 3.466s (+4.2%) 1.350s 10 1.06x
▲ Vercel Next.js (Turbopack) 2.147s (+10.3% 🔺) 3.165s (+2.4%) 1.018s 10 1.07x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 10.662s (-1.9%) 11.038s (~) 0.376s 3 1.00x
🌐 Redis Next.js (Turbopack) 10.732s 11.021s 0.289s 3 1.01x
💻 Local Next.js (Turbopack) 10.733s 11.023s 0.290s 3 1.01x
💻 Local Express 10.822s (~) 11.022s (~) 0.200s 3 1.02x
🐘 Postgres Nitro 10.826s (-0.7%) 11.041s (~) 0.215s 3 1.02x
💻 Local Nitro 10.852s (~) 11.023s (~) 0.171s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 12.336s 13.025s 0.690s 3 1.16x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 16.367s (+2.4%) 17.373s (+2.7%) 1.005s 2 1.00x
▲ Vercel Express 16.399s (-2.4%) 17.448s (-2.8%) 1.049s 2 1.00x
▲ Vercel Next.js (Turbopack) 16.831s (+4.0%) 17.544s (+3.0%) 0.713s 2 1.03x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 26.724s (-2.0%) 27.061s (-3.6%) 0.337s 3 1.00x
🌐 Redis Next.js (Turbopack) 26.872s 27.050s 0.178s 3 1.01x
🐘 Postgres Nitro 27.174s (-0.6%) 28.063s (~) 0.889s 3 1.02x
💻 Local Next.js (Turbopack) 27.227s 28.051s 0.824s 3 1.02x
💻 Local Express 27.492s (~) 28.051s (~) 0.559s 3 1.03x
💻 Local Nitro 27.557s (~) 28.053s (~) 0.496s 3 1.03x
🌐 MongoDB Next.js (Turbopack) 30.584s 31.045s 0.460s 2 1.14x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 41.739s (-3.9%) 42.829s (-4.2%) 1.089s 2 1.00x
▲ Vercel Nitro 42.642s (~) 43.848s (+1.1%) 1.207s 2 1.02x
▲ Vercel Express 46.678s (+9.2% 🔺) 48.105s (+9.0% 🔺) 1.427s 2 1.12x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 54.091s (-1.6%) 54.602s (-0.9%) 0.511s 2 1.00x
🌐 Redis Next.js (Turbopack) 54.297s 55.097s 0.800s 2 1.00x
🐘 Postgres Nitro 55.050s (~) 55.109s (-1.8%) 0.059s 2 1.02x
💻 Local Next.js (Turbopack) 56.865s 57.101s 0.236s 2 1.05x
💻 Local Express 57.276s (~) 58.100s (~) 0.824s 2 1.06x
💻 Local Nitro 57.541s (~) 58.106s (~) 0.565s 2 1.06x
🌐 MongoDB Next.js (Turbopack) 61.182s 62.085s 0.902s 2 1.13x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 91.000s (-1.4%) 91.555s (-2.1%) 0.555s 1 1.00x
▲ Vercel Next.js (Turbopack) 91.488s (-8.8% 🟢) 92.860s (-8.3% 🟢) 1.372s 1 1.01x
▲ Vercel Nitro 91.989s (-0.9%) 93.018s (~) 1.029s 1 1.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.278s 2.006s 0.728s 15 1.00x
🐘 Postgres Express 1.281s (-6.4% 🟢) 2.010s (~) 0.729s 15 1.00x
🐘 Postgres Nitro 1.355s (~) 2.010s (~) 0.655s 15 1.06x
💻 Local Nitro 1.423s (-0.6%) 2.005s (~) 0.583s 15 1.11x
💻 Local Next.js (Turbopack) 1.429s 2.006s 0.577s 15 1.12x
💻 Local Express 1.429s (+1.5%) 2.006s (~) 0.576s 15 1.12x
🌐 MongoDB Next.js (Turbopack) 2.144s 3.009s 0.865s 10 1.68x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.294s (+3.4%) 3.188s (+1.5%) 0.894s 10 1.00x
▲ Vercel Nitro 2.303s (-10.0% 🟢) 3.581s (+2.6%) 1.278s 9 1.00x
▲ Vercel Express 2.469s (+9.4% 🔺) 3.554s (-3.4%) 1.085s 9 1.08x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.697s (-12.5% 🟢) 2.079s (-16.0% 🟢) 0.382s 15 1.00x
🐘 Postgres Nitro 1.980s (+1.7%) 2.513s (~) 0.533s 12 1.17x
🌐 Redis Next.js (Turbopack) 2.485s 3.007s 0.522s 10 1.46x
💻 Local Next.js (Turbopack) 2.531s 3.007s 0.476s 10 1.49x
💻 Local Express 2.602s (+3.1%) 3.007s (~) 0.405s 10 1.53x
💻 Local Nitro 2.629s (~) 3.007s (~) 0.379s 10 1.55x
🌐 MongoDB Next.js (Turbopack) 4.718s 5.177s 0.460s 6 2.78x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.388s (-25.4% 🟢) 3.281s (-34.4% 🟢) 0.894s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.572s (-18.5% 🟢) 3.576s (-12.1% 🟢) 1.004s 9 1.08x
▲ Vercel Express 2.703s (+8.5% 🔺) 3.769s (+3.2%) 1.066s 9 1.13x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.817s (-14.4% 🟢) 3.577s (-8.3% 🟢) 0.760s 9 1.00x
🐘 Postgres Nitro 3.776s (+10.4% 🔺) 4.452s (+10.4% 🔺) 0.676s 7 1.34x
🌐 Redis Next.js (Turbopack) 4.007s 4.581s 0.575s 7 1.42x
💻 Local Express 7.452s (-1.1%) 8.017s (~) 0.565s 4 2.65x
💻 Local Next.js (Turbopack) 7.713s 8.266s 0.553s 4 2.74x
💻 Local Nitro 7.809s (+5.6% 🔺) 8.522s (+6.3% 🔺) 0.713s 4 2.77x
🌐 MongoDB Next.js (Turbopack) 9.789s 10.351s 0.562s 3 3.47x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.466s (+11.2% 🔺) 4.367s (~) 0.901s 7 1.00x
▲ Vercel Nitro 3.817s (+18.7% 🔺) 4.484s (-4.4%) 0.667s 7 1.10x
▲ Vercel Next.js (Turbopack) 4.658s (+29.5% 🔺) 5.483s (+18.2% 🔺) 0.824s 6 1.34x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.247s 2.006s 0.759s 15 1.00x
🐘 Postgres Express 1.286s (-5.3% 🟢) 2.010s (~) 0.724s 15 1.03x
🐘 Postgres Nitro 1.409s (+3.3%) 2.011s (~) 0.602s 15 1.13x
💻 Local Express 1.424s (~) 2.005s (~) 0.582s 15 1.14x
💻 Local Next.js (Turbopack) 1.449s 2.005s 0.556s 15 1.16x
💻 Local Nitro 1.464s (+2.5%) 2.006s (~) 0.542s 15 1.17x
🌐 MongoDB Next.js (Turbopack) 2.148s 3.009s 0.861s 10 1.72x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.083s (-1.4%) 3.282s (-2.3%) 1.200s 10 1.00x
▲ Vercel Nitro 2.101s (-1.7%) 3.245s (+6.9% 🔺) 1.144s 10 1.01x
▲ Vercel Next.js (Turbopack) 2.134s (+5.5% 🔺) 3.026s (-1.4%) 0.891s 10 1.02x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.648s (-17.6% 🟢) 2.078s (-17.3% 🟢) 0.430s 15 1.00x
🐘 Postgres Nitro 2.092s (+6.8% 🔺) 2.682s (+8.3% 🔺) 0.590s 12 1.27x
🌐 Redis Next.js (Turbopack) 2.502s 3.008s 0.506s 10 1.52x
💻 Local Next.js (Turbopack) 2.669s 3.008s 0.339s 10 1.62x
💻 Local Express 2.709s (+1.5%) 3.008s (~) 0.299s 10 1.64x
💻 Local Nitro 2.980s (+8.3% 🔺) 3.342s (+11.2% 🔺) 0.362s 9 1.81x
🌐 MongoDB Next.js (Turbopack) 4.728s 5.177s 0.449s 6 2.87x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.278s (-1.4%) 3.364s (-1.8%) 1.086s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.316s (-8.3% 🟢) 3.064s (-8.2% 🟢) 0.748s 11 1.02x
▲ Vercel Nitro 2.523s (+4.7%) 3.616s (+10.0% 🔺) 1.093s 9 1.11x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.005s (-12.8% 🟢) 3.892s (-6.1% 🟢) 0.887s 8 1.00x
🐘 Postgres Nitro 3.913s (+21.9% 🔺) 4.602s (+18.1% 🔺) 0.688s 7 1.30x
🌐 Redis Next.js (Turbopack) 4.048s 5.010s 0.962s 6 1.35x
💻 Local Next.js (Turbopack) 7.207s 7.764s 0.557s 4 2.40x
💻 Local Express 8.002s (+2.9%) 8.272s (~) 0.270s 4 2.66x
💻 Local Nitro 8.192s (+4.4%) 9.022s (+5.9% 🔺) 0.830s 4 2.73x
🌐 MongoDB Next.js (Turbopack) 9.875s 10.351s 0.476s 3 3.29x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.790s (-14.0% 🟢) 3.893s (-7.2% 🟢) 1.104s 8 1.00x
▲ Vercel Next.js (Turbopack) 2.876s (-14.9% 🟢) 4.039s (-6.8% 🟢) 1.162s 8 1.03x
▲ Vercel Express 2.975s (-0.7%) 3.905s (-2.4%) 0.930s 8 1.07x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.137s (-29.1% 🟢) 0.998s (+0.6%) 0.002s (+6.7% 🔺) 1.011s (~) 0.874s 10 1.00x
🌐 Redis Next.js (Turbopack) 0.145s 1.000s 0.001s 1.007s 0.862s 10 1.06x
💻 Local Next.js (Turbopack) 0.145s 1.001s 0.011s 1.017s 0.872s 10 1.06x
💻 Local Express 0.175s (+1.2%) 1.003s (~) 0.012s (+9.2% 🔺) 1.018s (~) 0.843s 10 1.28x
💻 Local Nitro 0.178s (+0.6%) 1.002s (~) 0.012s (+4.5%) 1.017s (~) 0.839s 10 1.30x
🐘 Postgres Nitro 0.189s (-4.0%) 0.995s (~) 0.001s (-17.6% 🟢) 1.012s (~) 0.823s 10 1.38x
🌐 MongoDB Next.js (Turbopack) 0.506s 0.941s 0.002s 1.009s 0.503s 10 3.70x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 1.380s (-6.5% 🟢) 1.653s (-5.4% 🟢) 0.142s (+48.5% 🔺) 2.191s (-2.1%) 0.811s 10 1.00x
▲ Vercel Nitro 1.549s (+9.2% 🔺) 2.014s (+18.7% 🔺) 0.100s (-11.6% 🟢) 2.542s (+16.5% 🔺) 0.994s 10 1.12x
▲ Vercel Express 1.603s (+2.4%) 1.683s (-10.8% 🟢) 0.102s (-3.7%) 2.357s (-4.0%) 0.753s 10 1.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 10/12
Next.js (Turbopack) 🌐 Redis 8/12
Nitro 🐘 Postgres 8/12
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
  • 🌐 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
Copy Markdown
Contributor

github-actions Bot commented Feb 26, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 523 0 49 572
✅ 💻 Local Development 556 0 68 624
✅ 📦 Local Production 556 0 68 624
✅ 🐘 Local Postgres 556 0 68 624
✅ 🪟 Windows 49 0 3 52
❌ 🌍 Community Worlds 111 45 9 165
✅ 📋 Other 135 0 21 156
Total 2486 45 286 2817

❌ Failed Tests

🌍 Community Worlds (45 failed)

turso (45 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 47 0 5
✅ example 47 0 5
✅ express 47 0 5
✅ fastify 47 0 5
✅ hono 47 0 5
✅ nextjs-turbopack 50 0 2
✅ nextjs-webpack 50 0 2
✅ nitro 47 0 5
✅ nuxt 47 0 5
✅ sveltekit 47 0 5
✅ vite 47 0 5
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 49 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
✅ mongodb 49 0 3
✅ redis-dev 3 0 0
✅ redis 49 0 3
✅ turso-dev 3 0 0
❌ turso 4 45 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 45 0 7
✅ e2e-local-postgres-nest-stable 45 0 7
✅ e2e-local-prod-nest-stable 45 0 7

📋 View full workflow run

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 26, 2026

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 26, 2026

🦋 Changeset detected

Latest commit: 88b959c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@workflow/web-shared Patch

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

Add new changeset following format and style guidelines.

Slack-Thread: https://vercel.slack.com/archives/C09G3EQAL84/p1772083947691689?thread_ts=1772083947.691689&cid=C09G3EQAL84
Co-authored-by: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
Copy link
Copy Markdown
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

Improves the sidebar attribute panel’s error rendering by making stack traces readable when an error payload includes a stack string, while still allowing access to the full raw JSON view.

Changes:

  • Added ErrorBodyWithTabs to render stack traces in a <pre> view by default with a Stack/Raw tab switcher.
  • Updated the error attribute renderer to detect stack and use the new tabbed error view; otherwise keep the existing JSON inspector rendering.

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

Comment on lines +126 to +129
return (
<div
className="rounded-md border"
style={{
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

activeTab state will persist if the surrounding error value changes while this component remains mounted (e.g., selecting a different run/error). That can cause a new error to open on the previously selected tab (often “Raw”), which contradicts the “default to Stack” behavior. Consider resetting activeTab to 'stack' when value.stack (or the error identity) changes, or key the component by stack/message so it remounts per error.

Copilot uses AI. Check for mistakes.
Comment on lines +141 to +157
<TabButton
active={activeTab === 'stack'}
onClick={() => setActiveTab('stack')}
>
Stack
</TabButton>
<TabButton
active={activeTab === 'raw'}
onClick={() => setActiveTab('raw')}
>
Raw
</TabButton>
</div>

{activeTab === 'stack' ? (
<div className="p-3">
{message && (
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

This UI behaves like tabs but is missing tab semantics (e.g., role="tablist"/role="tab", aria-selected, and keyboard arrow navigation). Without these, screen readers may not announce the control correctly and keyboard users may have a harder time navigating. Consider adding appropriate ARIA roles/attributes (and optional arrow-key handling) to the tab container/buttons.

Suggested change
<TabButton
active={activeTab === 'stack'}
onClick={() => setActiveTab('stack')}
>
Stack
</TabButton>
<TabButton
active={activeTab === 'raw'}
onClick={() => setActiveTab('raw')}
>
Raw
</TabButton>
</div>
{activeTab === 'stack' ? (
<div className="p-3">
{message && (
role="tablist"
aria-label="Error details view"
onKeyDown={(event) => {
if (event.key !== 'ArrowRight' && event.key !== 'ArrowLeft') {
return;
}
const tabs = Array.from(
event.currentTarget.querySelectorAll<HTMLElement>('[role="tab"]'),
);
if (tabs.length === 0) {
return;
}
const currentElement = document.activeElement as HTMLElement | null;
const currentIndex = currentElement ? tabs.indexOf(currentElement) : -1;
const startIndex = currentIndex === -1 ? 0 : currentIndex;
let nextIndex =
event.key === 'ArrowRight'
? (startIndex + 1) % tabs.length
: (startIndex - 1 + tabs.length) % tabs.length;
tabs[nextIndex].focus();
event.preventDefault();
}}
style={{
borderColor: 'var(--ds-gray-300)',
backgroundColor: 'transparent',
}}
>
<div
role="tab"
aria-selected={activeTab === 'stack'}
tabIndex={activeTab === 'stack' ? 0 : -1}
onClick={() => setActiveTab('stack')}
onKeyDown={(event) => {
if (event.key === 'Enter' || event.key === ' ') {
event.preventDefault();
setActiveTab('stack');
}
}}
>
<TabButton active={activeTab === 'stack'}>
Stack
</TabButton>
</div>
<div
role="tab"
aria-selected={activeTab === 'raw'}
tabIndex={activeTab === 'raw' ? 0 : -1}
onClick={() => setActiveTab('raw')}
onKeyDown={(event) => {
if (event.key === 'Enter' || event.key === ' ') {
event.preventDefault();
setActiveTab('raw');
}
}}
>
<TabButton active={activeTab === 'raw'}>
Raw
</TabButton>
</div>

Copilot uses AI. Check for mistakes.
Comment on lines +132 to +145
}}
>
<div
className="flex gap-1 border-b"
style={{
borderColor: 'var(--ds-gray-300)',
backgroundColor: 'transparent',
}}
>
<TabButton
active={activeTab === 'stack'}
onClick={() => setActiveTab('stack')}
>
Stack
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

ErrorBodyWithTabs duplicates the same bordered container + header styling used in ConversationWithTabs. To reduce drift and make future styling changes easier, consider extracting a small shared wrapper component (or helper) for the tabbed border/header layout.

Copilot uses AI. Check for mistakes.
Comment thread packages/web-shared/src/components/sidebar/attribute-panel.tsx Outdated
Remove unnecessary type cast and add missing toast import.

Co-authored-by: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
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.

4 participants