Skip to content

Add AI-powered conflict resolution to backport workflow#1693

Merged
TooTallNate merged 6 commits intomainfrom
nate/ai-conflict-resolution
Apr 13, 2026
Merged

Add AI-powered conflict resolution to backport workflow#1693
TooTallNate merged 6 commits intomainfrom
nate/ai-conflict-resolution

Conversation

@TooTallNate
Copy link
Copy Markdown
Member

Summary

When the backport cherry-pick to stable has merge conflicts, the workflow now attempts to resolve them automatically using opencode before falling back to manual instructions.

Flow

cherry-pick succeeds → push directly to stable (unchanged)
          ↓ (conflict)
   opencode resolves conflicts
          ↓ (success)
   create PR targeting stable for human review
          ↓ (failure)
   comment with manual resolution instructions (unchanged)

Changes

  • .github/workflows/backport.yml: Restructured to detect clean vs conflict outcomes. On conflict: installs the opencode CLI, configures Vercel AI Gateway credentials, runs opencode run with Claude Opus to resolve conflicts, then creates a PR for human review.
  • AGENTS.md: Updated backporting section to document the AI resolution step.

Setup required

Add the AI_GATEWAY_TOKEN repository secret with a Vercel AI Gateway API key.

Signed-off-by: Nathan Rajlich <n@n8.io>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 10, 2026

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 13, 2026 7:26pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 13, 2026 7:26pm
example-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-express-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 13, 2026 7:26pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 13, 2026 7:26pm
workflow-swc-playground Ready Ready Preview, Comment Apr 13, 2026 7:26pm

Copilot AI review requested due to automatic review settings April 10, 2026 23:44
@TooTallNate TooTallNate requested a review from a team as a code owner April 10, 2026 23:44
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 10, 2026

⚠️ No Changeset found

Latest commit: 53d5428

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 923 0 67 990
✅ 💻 Local Development 898 0 182 1080
✅ 📦 Local Production 898 0 182 1080
✅ 🐘 Local Postgres 898 0 182 1080
✅ 🪟 Windows 82 0 8 90
❌ 🌍 Community Worlds 133 74 24 231
✅ 📋 Other 228 0 42 270
Total 4060 74 687 4821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP44Z1BK6MZNVRR8B78HVYW5
  • webhookWorkflow | wrun_01KP44Z9N3XB1HKVCJTKVR7HP7
  • fetchWorkflow | wrun_01KP452YMGMVD5660X3KY61SWT
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP457AV795BHPF8SWF315KPR
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP45EG1EZTRB2MY5TWV1YPS5

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP44Z1BK6MZNVRR8B78HVYW5
  • webhookWorkflow | wrun_01KP44Z9N3XB1HKVCJTKVR7HP7
  • fetchWorkflow | wrun_01KP452YMGMVD5660X3KY61SWT
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP457AV795BHPF8SWF315KPR
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP45EG1EZTRB2MY5TWV1YPS5

turso (60 failed):

  • addTenWorkflow | wrun_01KP44XRGVFKNGEN89QTVGESYN
  • addTenWorkflow | wrun_01KP44XRGVFKNGEN89QTVGESYN
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP44YKR81Z6J0J2KVPPKE7EY
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP44Y12NH3WMHW1Z6TB2GACB
  • promiseRaceWorkflow | wrun_01KP44Y5PZM88TP8ZF6DY33QJ4
  • promiseAnyWorkflow | wrun_01KP44Y849FER9XV96TD1P364J
  • importedStepOnlyWorkflow | wrun_01KP44Z0QZ4AAF8ZE6RC2ZVR35
  • hookWorkflow | wrun_01KP44YNA2281949Z67GTTBD6M
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP44Z1BK6MZNVRR8B78HVYW5
  • webhookWorkflow | wrun_01KP44Z9N3XB1HKVCJTKVR7HP7
  • sleepingWorkflow | wrun_01KP44ZGSQ3YS8HFAP80AF76JE
  • parallelSleepWorkflow | wrun_01KP44ZWP543XDXB0HF8XD7TDP
  • nullByteWorkflow | wrun_01KP45018QR2KQH6VRXEHG2XQ1
  • workflowAndStepMetadataWorkflow | wrun_01KP4503G8SKPVK55ZHAQ4QG26
  • fetchWorkflow | wrun_01KP452YMGMVD5660X3KY61SWT
  • promiseRaceStressTestWorkflow | wrun_01KP453258KG6DJZMNJYE477G0
  • 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 catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KP456NT0G7V4H8M3BCD9JKJA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP457AV795BHPF8SWF315KPR
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP4581DTYYPQ1CXAT1CTXWCK
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP458PA5ZC99XTY7TGN4AHP8
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP458ZS52JPD6XQFZMB9SRQX
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP4595K4MGWRR1437DEHJ0GA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP4597VE69AF20YF45YWSY8Y
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP459KKD8K0QSVJFNR7A5EV4
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KP45A2VE82AMRQSXYHPH6EM0
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP45A8X0RA9W1P05FFY6GCY7
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP45AG1RQD0T78MZ3QM9J97G
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP45AQEKVND6KXCPHZCYHRXD
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP45AYFHJAX9TCN09KB8SF7G
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP45B5P63YAJXG9GYDBJK91R
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP45BCPHE1B4TQAQN0GDPH6P
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP45BS9BQD83G01JWJTR35R1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP45C1CT4M5166FAE1SZ2FMR
  • cancelRun - cancelling a running workflow | wrun_01KP45C8AEJSS604ZHN4KKHP6C
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP45CHWWTW30410C0ZTSPW0K
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KP45CYGHY9MKMQF7JR3AK0SW
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP45DKXW0CFR70PPSSVHWRHV
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP45E3DT860YAEWW42KMYXGK
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP45EAC9NSMWNQVK6W5FNKEP
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP45EDTG1EXJGFMCK3H4MMA0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP45EG1EZTRB2MY5TWV1YPS5
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP45EKGEJCNZ1287RP4DN2EV

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 83 0 7
✅ example 83 0 7
✅ express 83 0 7
✅ fastify 83 0 7
✅ hono 83 0 7
✅ nextjs-turbopack 88 0 2
✅ nextjs-webpack 88 0 2
✅ nitro 83 0 7
✅ nuxt 83 0 7
✅ sveltekit 83 0 7
✅ vite 83 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 82 0 8
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 6 0 0
❌ mongodb 56 7 8
✅ redis-dev 6 0 0
❌ redis 56 7 8
✅ turso-dev 6 0 0
❌ turso 3 60 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 76 0 14
✅ e2e-local-postgres-nest-stable 76 0 14
✅ e2e-local-prod-nest-stable 76 0 14

📋 View full workflow run

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 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
💻 Local 🥇 Nitro 0.035s (-17.0% 🟢) 1.005s (~) 0.970s 10 1.00x
💻 Local Express 0.043s (+19.0% 🔺) 1.005s (~) 0.962s 10 1.25x
🐘 Postgres Express 0.059s (+2.8%) 1.010s (~) 0.951s 10 1.71x
🐘 Postgres Nitro 0.061s (-9.1% 🟢) 1.011s (~) 0.950s 10 1.76x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 0.237s (-8.2% 🟢) 2.059s (+2.1%) 1.822s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.238s (-9.2% 🟢) 1.945s (-13.9% 🟢) 1.707s 10 1.00x
▲ Vercel Express 0.275s (+6.3% 🔺) 2.034s (+13.0% 🔺) 1.759s 10 1.16x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.097s (-2.8%) 2.005s (~) 0.909s 10 1.00x
💻 Local Express 1.129s (+2.9%) 2.006s (~) 0.877s 10 1.03x
🐘 Postgres Express 1.151s (~) 2.010s (~) 0.860s 10 1.05x
🐘 Postgres Nitro 1.157s (+0.6%) 2.011s (~) 0.854s 10 1.06x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 1.889s (-7.7% 🟢) 3.975s (-3.0%) 2.086s 10 1.00x
▲ Vercel Express 1.933s (-2.5%) 3.851s (~) 1.918s 10 1.02x
▲ Vercel Nitro 1.981s (+3.9%) 4.052s (+5.8% 🔺) 2.071s 10 1.05x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 10.673s (-2.5%) 11.024s (~) 0.351s 3 1.00x
🐘 Postgres Express 10.892s (~) 11.023s (~) 0.132s 3 1.02x
🐘 Postgres Nitro 10.933s (~) 11.022s (~) 0.089s 3 1.02x
💻 Local Express 10.936s (+2.8%) 11.023s (~) 0.088s 3 1.02x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 16.732s (-5.6% 🟢) 18.817s (-6.9% 🟢) 2.085s 2 1.00x
▲ Vercel Nitro 17.145s (-9.7% 🟢) 19.498s (-5.0%) 2.354s 2 1.02x
▲ Vercel Next.js (Turbopack) 17.750s (+0.8%) 20.188s (+2.6%) 2.438s 2 1.06x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 14.360s (-4.3%) 15.032s (~) 0.672s 4 1.00x
🐘 Postgres Nitro 14.563s (~) 15.021s (~) 0.458s 4 1.01x
🐘 Postgres Express 14.608s (~) 15.025s (~) 0.417s 4 1.02x
💻 Local Express 14.994s (+5.3% 🔺) 15.280s (+1.7%) 0.286s 4 1.04x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 30.590s (-10.3% 🟢) 32.528s (-9.9% 🟢) 1.938s 2 1.00x
▲ Vercel Next.js (Turbopack) 33.282s (-13.2% 🟢) 35.147s (-12.6% 🟢) 1.865s 2 1.09x
▲ Vercel Express 34.534s (-3.4%) 36.500s (-3.5%) 1.966s 2 1.13x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 13.883s (~) 14.164s (-1.0%) 0.281s 7 1.00x
🐘 Postgres Nitro 14.053s (~) 15.026s (+2.0%) 0.974s 6 1.01x
💻 Local Nitro 15.065s (-10.0% 🟢) 15.528s (-8.8% 🟢) 0.463s 6 1.09x
💻 Local Express 16.965s (+12.8% 🔺) 17.533s (+12.9% 🔺) 0.568s 6 1.22x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 54.133s (-2.4%) 56.601s (-1.9%) 2.467s 2 1.00x
▲ Vercel Next.js (Turbopack) 56.922s (-4.6%) 59.219s (-4.1%) 2.297s 2 1.05x
▲ Vercel Express 57.913s (+6.3% 🔺) 59.838s (+6.0% 🔺) 1.924s 2 1.07x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.263s (-1.0%) 2.009s (~) 0.746s 15 1.00x
🐘 Postgres Nitro 1.267s (-1.1%) 2.010s (~) 0.742s 15 1.00x
💻 Local Nitro 1.475s (-3.1%) 2.006s (~) 0.530s 15 1.17x
💻 Local Express 1.530s (+6.2% 🔺) 2.005s (~) 0.475s 15 1.21x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.212s (-24.3% 🟢) 4.243s (-8.9% 🟢) 2.030s 8 1.00x
▲ Vercel Express 2.263s (-15.9% 🟢) 4.170s (-6.4% 🟢) 1.908s 8 1.02x
▲ Vercel Next.js (Turbopack) 2.584s (-1.1%) 4.383s (-2.3%) 1.799s 8 1.17x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.331s (-0.7%) 3.008s (~) 0.677s 10 1.00x
🐘 Postgres Nitro 2.339s (-0.7%) 3.010s (~) 0.671s 10 1.00x
💻 Local Nitro 2.651s (-10.6% 🟢) 3.007s (-20.0% 🟢) 0.356s 10 1.14x
💻 Local Express 2.995s (+16.2% 🔺) 3.676s (+22.2% 🔺) 0.680s 9 1.28x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.550s (~) 4.094s (-1.7%) 1.544s 8 1.00x
▲ Vercel Nitro 2.696s (-1.4%) 4.376s (-4.7%) 1.680s 8 1.06x
▲ Vercel Express 2.853s (+8.3% 🔺) 4.558s (+3.7%) 1.706s 8 1.12x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.470s (-0.7%) 4.009s (~) 0.540s 8 1.00x
🐘 Postgres Nitro 3.491s (~) 4.010s (~) 0.519s 8 1.01x
💻 Local Nitro 7.101s (-15.2% 🟢) 7.766s (-13.9% 🟢) 0.666s 4 2.05x
💻 Local Express 8.491s (+26.4% 🔺) 9.024s (+28.6% 🔺) 0.533s 4 2.45x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.946s (-5.8% 🟢) 4.704s (-4.6%) 1.758s 7 1.00x
▲ Vercel Next.js (Turbopack) 3.197s (-0.7%) 5.104s (+0.9%) 1.906s 6 1.09x
▲ Vercel Nitro 3.209s (+23.2% 🔺) 5.425s (+28.1% 🔺) 2.215s 6 1.09x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.244s (-1.9%) 2.008s (~) 0.764s 15 1.00x
🐘 Postgres Express 1.259s (-0.5%) 2.008s (~) 0.748s 15 1.01x
💻 Local Express 1.539s (+4.9%) 2.006s (~) 0.466s 15 1.24x
💻 Local Nitro 1.853s (+21.6% 🔺) 2.391s (+19.3% 🔺) 0.538s 13 1.49x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.936s (-15.9% 🟢) 3.884s (-10.2% 🟢) 1.948s 8 1.00x
▲ Vercel Nitro 2.114s (+3.1%) 4.114s (~) 2.000s 8 1.09x
▲ Vercel Next.js (Turbopack) 2.577s (+15.6% 🔺) 4.307s (+7.1% 🔺) 1.729s 7 1.33x

🔍 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 🥇 Nitro 2.325s (-1.6%) 3.009s (~) 0.684s 10 1.00x
🐘 Postgres Express 2.334s (-1.2%) 3.010s (~) 0.676s 10 1.00x
💻 Local Nitro 2.810s (-9.3% 🟢) 3.108s (-22.5% 🟢) 0.298s 10 1.21x
💻 Local Express 3.073s (+3.4%) 3.885s (+16.2% 🔺) 0.812s 8 1.32x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.454s (-1.7%) 4.428s (+5.7% 🔺) 1.974s 7 1.00x
▲ Vercel Next.js (Turbopack) 2.850s (-1.3%) 4.743s (+1.4%) 1.893s 7 1.16x
▲ Vercel Express 2.995s (+10.8% 🔺) 4.566s (+4.0%) 1.571s 7 1.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.459s (-1.1%) 4.010s (~) 0.551s 8 1.00x
🐘 Postgres Express 3.462s (-1.3%) 4.010s (~) 0.548s 8 1.00x
💻 Local Nitro 8.055s (-13.7% 🟢) 8.767s (-12.6% 🟢) 0.712s 4 2.33x
💻 Local Express 9.118s (+13.3% 🔺) 10.022s (+14.3% 🔺) 0.904s 3 2.64x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.874s (-3.4%) 4.411s (-12.7% 🟢) 1.537s 7 1.00x
▲ Vercel Next.js (Turbopack) 3.802s (+13.2% 🔺) 5.586s (+2.9%) 1.784s 6 1.32x
▲ Vercel Express 3.979s (+23.7% 🔺) 5.937s (+16.0% 🔺) 1.958s 6 1.38x

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

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.779s (-7.0% 🟢) 1.006s (~) 0.227s 60 1.00x
🐘 Postgres Express 0.795s (-4.7%) 1.006s (~) 0.211s 60 1.02x
💻 Local Nitro 0.804s (-18.8% 🟢) 1.095s (-12.7% 🟢) 0.292s 55 1.03x
💻 Local Express 1.262s (+80.1% 🔺) 1.664s (+65.7% 🔺) 0.402s 38 1.62x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 9.225s (-14.8% 🟢) 11.514s (-9.2% 🟢) 2.289s 6 1.00x
▲ Vercel Nitro 9.458s (+1.3%) 11.844s (+6.3% 🔺) 2.386s 6 1.03x
▲ Vercel Express 10.322s (+6.7% 🔺) 12.472s (+8.0% 🔺) 2.150s 5 1.12x

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

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.839s (-5.1% 🟢) 2.007s (-10.9% 🟢) 0.168s 45 1.00x
🐘 Postgres Express 1.906s (-2.9%) 2.100s (-5.7% 🟢) 0.195s 43 1.04x
💻 Local Nitro 2.272s (-24.8% 🟢) 3.008s (-16.1% 🟢) 0.736s 30 1.24x
💻 Local Express 3.242s (+32.8% 🔺) 3.885s (+22.2% 🔺) 0.643s 24 1.76x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 29.155s (-1.2%) 30.979s (-1.9%) 1.824s 3 1.00x
▲ Vercel Nitro 29.322s (+4.9%) 32.014s (+6.4% 🔺) 2.692s 3 1.01x
▲ Vercel Express 30.852s (+10.5% 🔺) 32.953s (+9.0% 🔺) 2.101s 3 1.06x

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

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.769s (-3.2%) 4.009s (-3.4%) 0.240s 30 1.00x
🐘 Postgres Express 3.834s (-4.7%) 4.043s (-9.3% 🟢) 0.209s 30 1.02x
💻 Local Nitro 7.438s (-19.6% 🟢) 8.015s (-20.0% 🟢) 0.577s 15 1.97x
💻 Local Express 9.191s (+25.8% 🔺) 9.865s (+24.1% 🔺) 0.674s 13 2.44x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 73.011s (+2.8%) 74.729s (+1.4%) 1.718s 2 1.00x
▲ Vercel Nitro 79.189s (+3.4%) 82.023s (+4.6%) 2.834s 2 1.08x
▲ Vercel Next.js (Turbopack) 84.776s (+10.5% 🔺) 87.093s (+9.7% 🔺) 2.317s 2 1.16x

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

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.278s (-1.6%) 1.007s (~) 0.729s 60 1.00x
🐘 Postgres Nitro 0.283s (+2.8%) 1.006s (~) 0.723s 60 1.02x
💻 Local Nitro 0.591s (+1.8%) 1.004s (~) 0.413s 60 2.13x
💻 Local Express 0.599s (+2.8%) 1.004s (~) 0.406s 60 2.15x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.513s (+10.3% 🔺) 3.255s (+10.9% 🔺) 1.741s 19 1.00x
▲ Vercel Next.js (Turbopack) 1.534s (-5.0% 🟢) 3.347s (-3.3%) 1.813s 19 1.01x
▲ Vercel Express 1.725s (+19.6% 🔺) 3.457s (+7.4% 🔺) 1.732s 18 1.14x

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

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.481s (-3.7%) 1.006s (~) 0.525s 90 1.00x
🐘 Postgres Express 0.487s (-3.1%) 1.006s (~) 0.519s 90 1.01x
💻 Local Nitro 2.484s (~) 3.008s (~) 0.524s 30 5.16x
💻 Local Express 2.591s (+8.2% 🔺) 3.009s (~) 0.418s 30 5.39x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.687s (+2.5%) 4.559s (+1.7%) 1.872s 20 1.00x
▲ Vercel Nitro 2.924s (+6.1% 🔺) 4.779s (+6.6% 🔺) 1.855s 19 1.09x
▲ Vercel Next.js (Turbopack) 3.381s (+7.1% 🔺) 5.303s (+8.6% 🔺) 1.923s 17 1.26x

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

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.774s (-2.1%) 1.007s (~) 0.234s 120 1.00x
🐘 Postgres Nitro 0.779s (~) 1.007s (~) 0.228s 120 1.01x
💻 Local Nitro 10.845s (-2.4%) 11.116s (-6.2% 🟢) 0.271s 11 14.02x
💻 Local Express 11.257s (+12.5% 🔺) 11.940s (+11.7% 🔺) 0.683s 11 14.55x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 6.425s (-2.6%) 8.210s (-4.7%) 1.785s 16 1.00x
▲ Vercel Nitro 6.842s (+2.4%) 8.930s (+1.7%) 2.089s 14 1.06x
▲ Vercel Next.js (Turbopack) 8.159s (+39.8% 🔺) 10.059s (+29.1% 🔺) 1.901s 12 1.27x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.144s (-29.1% 🟢) 1.004s (~) 0.010s (-16.0% 🟢) 1.016s (~) 0.872s 10 1.00x
🐘 Postgres Express 0.204s (-1.0%) 0.994s (~) 0.001s (-15.4% 🟢) 1.009s (~) 0.805s 10 1.42x
💻 Local Express 0.215s (+54.1% 🔺) 1.004s (~) 0.013s (+35.1% 🔺) 1.019s (~) 0.803s 10 1.50x
🐘 Postgres Nitro 0.222s (+4.1%) 0.995s (~) 0.001s (-7.7% 🟢) 1.011s (~) 0.790s 10 1.54x
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 1.504s (-17.3% 🟢) 2.931s (-13.9% 🟢) 0.752s (+183.5% 🔺) 4.192s (~) 2.688s 10 1.00x
▲ Vercel Express 1.530s (~) 3.046s (+10.1% 🔺) 0.723s (+2.1%) 4.327s (+9.0% 🔺) 2.797s 10 1.02x
▲ Vercel Nitro 1.670s (+5.9% 🔺) 2.772s (-7.5% 🟢) 0.847s (+128.4% 🔺) 4.126s (+8.4% 🔺) 2.456s 10 1.11x

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

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.591s (-3.7%) 1.006s (~) 0.004s (+7.3% 🔺) 1.022s (~) 0.431s 59 1.00x
🐘 Postgres Express 0.593s (-2.5%) 1.005s (~) 0.004s (-19.6% 🟢) 1.022s (~) 0.429s 59 1.00x
💻 Local Nitro 0.599s (-17.6% 🟢) 1.012s (~) 0.010s (+2.2%) 1.024s (~) 0.425s 59 1.01x
💻 Local Express 0.734s (+31.6% 🔺) 1.012s (~) 0.010s (+9.1% 🔺) 1.023s (~) 0.289s 59 1.24x
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 4.342s (-4.8%) 6.073s (-6.0% 🟢) 0.406s (+37.4% 🔺) 6.956s (-6.3% 🟢) 2.614s 9 1.00x
▲ Vercel Nitro 4.800s (+7.2% 🔺) 6.984s (+15.5% 🔺) 0.334s (+18.0% 🔺) 7.884s (+13.2% 🔺) 3.085s 8 1.11x
▲ Vercel Express 5.244s (+26.3% 🔺) 7.078s (+19.6% 🔺) 0.604s (+120.4% 🔺) 8.217s (+23.6% 🔺) 2.973s 8 1.21x

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

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.940s (-4.1%) 1.147s (-3.8%) 0.000s (-75.5% 🟢) 1.161s (-4.7%) 0.220s 52 1.00x
🐘 Postgres Express 0.950s (+0.5%) 1.126s (-3.7%) 0.000s (-37.0% 🟢) 1.145s (-3.3%) 0.195s 54 1.01x
💻 Local Express 1.257s (+10.3% 🔺) 2.022s (~) 0.000s (+37.5% 🔺) 2.024s (~) 0.767s 30 1.34x
💻 Local Nitro 1.381s (+11.5% 🔺) 2.019s (~) 0.000s (+7.1% 🔺) 2.200s (+8.8% 🔺) 0.820s 28 1.47x
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.282s (+25.2% 🔺) 4.698s (+22.6% 🔺) 0.000s (-91.4% 🟢) 5.188s (+20.1% 🔺) 1.907s 12 1.00x
▲ Vercel Next.js (Turbopack) 3.513s (+18.1% 🔺) 5.202s (+11.6% 🔺) 0.001s (-31.8% 🟢) 5.699s (+9.7% 🔺) 2.186s 11 1.07x
▲ Vercel Nitro 3.531s (+20.3% 🔺) 5.153s (+23.4% 🔺) 0.000s (+18.2% 🔺) 5.681s (+21.9% 🔺) 2.150s 11 1.08x

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

fan-out fan-in 10 streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.710s (-3.0%) 2.137s (+1.8%) 0.000s (+3.6%) 2.151s (+1.8%) 0.441s 28 1.00x
🐘 Postgres Express 1.798s (+1.1%) 2.141s (~) 0.000s (+Infinity% 🔺) 2.153s (~) 0.354s 28 1.05x
💻 Local Nitro 3.566s (+1.8%) 4.232s (+3.2%) 0.000s (-85.7% 🟢) 4.235s (+3.2%) 0.668s 15 2.09x
💻 Local Express 3.638s (+11.1% 🔺) 4.101s (+5.0%) 0.001s (-22.4% 🟢) 4.104s (+5.0%) 0.466s 15 2.13x
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 4.224s (~) 5.609s (-0.7%) 0.004s (+1750.0% 🔺) 6.104s (-3.2%) 1.880s 10 1.00x
▲ Vercel Next.js (Turbopack) 4.749s (+12.6% 🔺) 6.280s (+10.0% 🔺) 0.001s (-60.8% 🟢) 6.785s (+9.1% 🔺) 2.036s 9 1.12x
▲ Vercel Nitro 4.835s (+24.3% 🔺) 6.245s (+14.8% 🔺) 0.000s (-81.7% 🟢) 6.911s (+16.0% 🔺) 2.076s 10 1.14x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Nitro 19/21
🐘 Postgres Nitro 11/21
▲ Vercel Express 8/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 18/21
Next.js (Turbopack) ▲ Vercel 21/21
Nitro 🐘 Postgres 14/21
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

Signed-off-by: Nathan Rajlich <n@n8.io>
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

This PR enhances the backport-stable automation to distinguish clean cherry-picks from conflicted ones, and—when conflicts occur—attempt AI-assisted resolution via the opencode CLI before falling back to the existing manual-resolution guidance.

Changes:

  • Update the backport workflow to detect clean vs conflicted cherry-picks and push directly only on clean outcomes.
  • On conflicts, install/configure opencode and attempt AI-based conflict resolution; if successful, push a branch and open a PR to stable for human review.
  • Document the new AI-assisted backport behavior in AGENTS.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
AGENTS.md Documents the new AI-assisted conflict-resolution step for backports to stable.
.github/workflows/backport.yml Adds conflict detection, opencode-based auto-resolution, PR creation on success, and updated failure messaging on unresolved conflicts.

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

Comment thread .github/workflows/backport.yml
Comment thread .github/workflows/backport.yml Outdated
Comment thread .github/workflows/backport.yml
Comment thread .github/workflows/backport.yml Outdated
Comment thread .github/workflows/backport.yml Outdated
Comment thread .github/workflows/backport.yml Outdated
Signed-off-by: Nathan Rajlich <n@n8.io>
Copy link
Copy Markdown
Member

@VaguelySerious VaguelySerious left a comment

Choose a reason for hiding this comment

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

AI review: blocking issues found

Comment thread .github/workflows/backport.yml
Comment thread .github/workflows/backport.yml
Comment thread .github/workflows/backport.yml
Signed-off-by: Nathan Rajlich <n@n8.io>
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