Skip to content

Add AI-powered conflict resolution to backport workflow#1693

Open
TooTallNate wants to merge 5 commits intomainfrom
nate/ai-conflict-resolution
Open

Add AI-powered conflict resolution to backport workflow#1693
TooTallNate wants to merge 5 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 11, 2026 1:17am
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 11, 2026 1:17am
example-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-astro-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-express-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-fastify-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-hono-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-nitro-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workbench-vite-workflow Ready Ready Preview, Comment Apr 11, 2026 1:17am
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 11, 2026 1:17am
workflow-swc-playground Ready Ready Preview, Comment Apr 11, 2026 1:17am

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: 2593999

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 822 0 168 990
✅ 📦 Local Production 898 0 182 1080
✅ 🐘 Local Postgres 898 0 182 1080
❌ 🌍 Community Worlds 133 74 24 231
✅ 📋 Other 228 0 42 270
Total 3902 74 665 4641

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNX1VMS0B0SX5DP026BEFT8Q
  • webhookWorkflow | wrun_01KNX1VXY3PJH2AA3N8JCA3B4R
  • fetchWorkflow | wrun_01KNX1ZDPDJBSYPXVS6KE8SPQ1
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNX24096SXFVVAE9MNTQYHNX
  • 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_01KNX2B3AV28Y5X8B3766V9YRQ

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNX1VMS0B0SX5DP026BEFT8Q
  • webhookWorkflow | wrun_01KNX1VXY3PJH2AA3N8JCA3B4R
  • fetchWorkflow | wrun_01KNX1ZDPDJBSYPXVS6KE8SPQ1
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNX24096SXFVVAE9MNTQYHNX
  • 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_01KNX2B3AV28Y5X8B3766V9YRQ

turso (60 failed):

  • addTenWorkflow | wrun_01KNX1TEQPPQZYKZKKZWPDNT7H
  • addTenWorkflow | wrun_01KNX1TEQPPQZYKZKKZWPDNT7H
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNX1VP3H26FYYF4645HAFTK5
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNX1TNY331GH1AW67YM1905Y
  • promiseRaceWorkflow | wrun_01KNX1TTWTRTZY5QCPP617P2A7
  • promiseAnyWorkflow | wrun_01KNX1TXD0ZB0N6FJ8DPCJ6BRH
  • importedStepOnlyWorkflow | wrun_01KNX1W2SMVJXWM68WT8ZB9SDW
  • hookWorkflow | wrun_01KNX1V9HR2B8AH5D124Q1XY64
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNX1VMS0B0SX5DP026BEFT8Q
  • webhookWorkflow | wrun_01KNX1VXY3PJH2AA3N8JCA3B4R
  • sleepingWorkflow | wrun_01KNX1W4355H3C8ZCY03TK9WX4
  • parallelSleepWorkflow | wrun_01KNX1WGPJJ7QHG0F11796CJ8W
  • nullByteWorkflow | wrun_01KNX1WNCN490P3W6BFQDJ603N
  • workflowAndStepMetadataWorkflow | wrun_01KNX1WQPAKV7DYF34C696N5FE
  • fetchWorkflow | wrun_01KNX1ZDPDJBSYPXVS6KE8SPQ1
  • promiseRaceStressTestWorkflow | wrun_01KNX1ZHC7S9TNJRCG5XFFS0ZH
  • 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_01KNX23AQPK4895N3R4GY5V052
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNX24096SXFVVAE9MNTQYHNX
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNX24Q9JKKQ9TYN7Z0KCKF9E
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNX25C2EF07P5394XP7HGF5S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNX25NNMZYXQ97GBEV1SP6JA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNX25WSYYJGVM5K8XPM6GH2Y
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNX25ZW1B6R0080Z3R4WX8N5
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNX26AFD5KMRS8A0KJ5E9RPF
  • 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_01KNX26T5QDKBEGS9NEW93H8PX
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNX270DSFNCHGJGTBBDTGJAB
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNX277M418ME0KJZS6S5DXEP
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNX27F52NYV2J7HSVVBHWFNT
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNX27NJKGAYVNC7R3W9Z6BCV
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNX27XNW1M50VKEXQZSN2VHT
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNX284YZ1M3E43E13BC6V1E7
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNX28GT4A5YJ3XZBHA3FKKAT
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNX28RZB7122R7KEWHKPK263
  • cancelRun - cancelling a running workflow | wrun_01KNX29032EGWR5ADB9KANMXH6
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNX299VG2STTZNV9SYKFCWR1
  • 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_01KNX29PD4RDPRDR8Z9E45PWNE
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNX2ABZZYFZHV08JRNSAR41N
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNX2AQHYSEJQSMBKFNYRT1R8
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNX2AYJ3RDECB5FHKPY4VCTW
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNX2B0VN9S4P6004YCJ0DMR3
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNX2B3AV28Y5X8B3766V9YRQ
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNX2B6WPY03XMAGRDK6Z4XXZ

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
✅ 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
❌ 🌍 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


Some E2E test jobs failed:

  • Vercel Prod: success
  • Local Dev: failure
  • Local Prod: success
  • Local Postgres: success
  • Windows: cancelled

Check the workflow run for details.

@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.043s (+3.8%) 1.005s (~) 0.962s 10 1.00x
🐘 Postgres Express 0.060s (+5.0% 🔺) 1.011s (~) 0.950s 10 1.39x
🐘 Postgres Nitro 0.062s (-6.9% 🟢) 1.024s (+1.3%) 0.962s 10 1.44x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.201s (-22.3% 🟢) 2.355s (+30.8% 🔺) 2.154s 10 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.108s (-3.7%) 2.010s (~) 0.901s 10 1.00x
💻 Local Nitro 1.131s (~) 2.006s (~) 0.875s 10 1.02x
🐘 Postgres Express 1.153s (~) 2.009s (~) 0.856s 10 1.04x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.794s (-9.5% 🟢) 3.419s (-11.5% 🟢) 1.625s 10 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 10.700s (-2.0%) 11.023s (~) 0.323s 3 1.00x
🐘 Postgres Express 10.932s (+0.5%) 11.023s (~) 0.091s 3 1.02x
💻 Local Nitro 10.945s (~) 11.023s (~) 0.078s 3 1.02x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 16.538s (-6.6% 🟢) 18.237s (-9.8% 🟢) 1.698s 2 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 13.912s (-4.5%) 14.023s (-6.7% 🟢) 0.111s 5 1.00x
🐘 Postgres Express 14.545s (~) 15.027s (~) 0.483s 4 1.05x
💻 Local Nitro 15.002s (~) 15.029s (~) 0.027s 4 1.08x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 30.773s (-13.9% 🟢) 32.243s (-14.8% 🟢) 1.470s 2 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 12.822s (-9.2% 🟢) 13.023s (-11.6% 🟢) 0.201s 7 1.00x
🐘 Postgres Express 13.833s (-0.8%) 14.022s (-2.0%) 0.189s 7 1.08x
💻 Local Nitro 16.783s (~) 17.030s (~) 0.247s 6 1.31x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 53.633s (-1.5%) 55.058s (-2.4%) 1.424s 2 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.191s (-7.1% 🟢) 2.008s (~) 0.817s 15 1.00x
🐘 Postgres Express 1.264s (-0.9%) 2.009s (~) 0.744s 15 1.06x
💻 Local Nitro 1.507s (-1.0%) 2.005s (~) 0.498s 15 1.27x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.660s (-1.1%) 4.064s (-8.8% 🟢) 1.404s 8 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.315s (-1.8%) 3.009s (~) 0.694s 10 1.00x
🐘 Postgres Express 2.354s (~) 3.009s (~) 0.656s 10 1.02x
💻 Local Nitro 3.091s (+4.3%) 3.885s (+3.3%) 0.795s 8 1.34x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.744s (+4.1%) 3.908s (-11.1% 🟢) 1.165s 8 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.373s (-3.3%) 4.010s (~) 0.636s 8 1.00x
🐘 Postgres Express 3.460s (-1.0%) 4.011s (~) 0.551s 8 1.03x
💻 Local Nitro 8.270s (-1.2%) 9.026s (~) 0.756s 4 2.45x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.603s (-16.8% 🟢) 3.837s (-22.2% 🟢) 1.234s 8 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.183s (-6.7% 🟢) 2.007s (~) 0.824s 15 1.00x
🐘 Postgres Express 1.285s (+1.5%) 2.008s (~) 0.723s 15 1.09x
💻 Local Nitro 1.548s (+1.5%) 2.007s (~) 0.459s 15 1.31x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.288s (-0.6%) 3.665s (-15.2% 🟢) 1.378s 9 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.265s (-4.2%) 3.008s (~) 0.743s 10 1.00x
🐘 Postgres Express 2.354s (~) 3.009s (~) 0.655s 10 1.04x
💻 Local Nitro 3.072s (-0.8%) 3.884s (-3.1%) 0.812s 8 1.36x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.213s (-18.1% 🟢) 3.621s (-17.5% 🟢) 1.408s 9 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.380s (-3.4%) 4.009s (~) 0.629s 8 1.00x
🐘 Postgres Express 3.489s (-0.6%) 4.010s (~) 0.521s 8 1.03x
💻 Local Nitro 8.912s (-4.6%) 9.275s (-7.5% 🟢) 0.364s 4 2.64x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.953s (-8.2% 🟢) 4.305s (-15.9% 🟢) 1.352s 7 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.567s (-32.3% 🟢) 1.006s (~) 0.439s 60 1.00x
🐘 Postgres Express 0.828s (-0.7%) 1.041s (+3.4%) 0.212s 58 1.46x
💻 Local Nitro 0.997s (+0.8%) 1.281s (+2.1%) 0.284s 47 1.76x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 8.623s (-10.8% 🟢) 10.027s (-13.2% 🟢) 1.404s 6 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.359s (-29.9% 🟢) 2.007s (-10.9% 🟢) 0.648s 45 1.00x
🐘 Postgres Express 1.892s (-3.7%) 2.029s (-8.9% 🟢) 0.138s 45 1.39x
💻 Local Nitro 3.076s (+1.9%) 3.924s (+9.4% 🔺) 0.848s 23 2.26x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 27.511s (-1.5%) 29.177s (-3.5%) 1.667s 4 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.794s (-28.2% 🟢) 3.008s (-27.5% 🟢) 0.213s 40 1.00x
🐘 Postgres Express 3.929s (-2.3%) 4.217s (-5.4% 🟢) 0.288s 29 1.41x
💻 Local Nitro 9.218s (~) 10.019s (~) 0.801s 12 3.30x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 71.396s (+0.6%) 72.692s (-1.3%) 1.296s 2 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.219s (-20.5% 🟢) 1.006s (~) 0.787s 60 1.00x
🐘 Postgres Express 0.289s (+2.4%) 1.007s (~) 0.718s 60 1.32x
💻 Local Nitro 0.565s (-2.7%) 1.005s (~) 0.439s 60 2.58x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.076s (+43.9% 🔺) 3.612s (+12.3% 🔺) 1.537s 17 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.346s (-30.8% 🟢) 1.005s (~) 0.660s 90 1.00x
🐘 Postgres Express 0.495s (-1.6%) 1.007s (~) 0.512s 90 1.43x
💻 Local Nitro 2.603s (+5.2% 🔺) 3.009s (~) 0.406s 30 7.53x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.637s (+0.6%) 4.042s (-9.8% 🟢) 1.405s 23 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.552s (-29.4% 🟢) 1.006s (~) 0.454s 120 1.00x
🐘 Postgres Express 0.800s (+1.3%) 1.008s (~) 0.207s 120 1.45x
💻 Local Nitro 11.299s (+1.7%) 12.028s (+1.5%) 0.729s 10 20.46x
💻 Local Express ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 6.658s (+1.0%) 7.929s (-8.0% 🟢) 1.271s 16 1.00x
▲ Vercel Nitro ⚠️ missing - - - -

🔍 Observability: Express

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.146s (-31.7% 🟢) 0.999s (~) 0.001s (~) 1.010s (~) 0.864s 10 1.00x
🐘 Postgres Express 0.201s (-2.9%) 0.995s (~) 0.001s (~) 1.010s (~) 0.810s 10 1.38x
💻 Local Nitro 0.202s (~) 1.004s (~) 0.012s (+2.5%) 1.018s (~) 0.816s 10 1.39x
💻 Local Express ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.427s (-7.0% 🟢) 2.859s (+3.3%) 0.350s (-50.5% 🟢) 3.545s (-10.7% 🟢) 2.118s 10 1.00x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.480s (-21.8% 🟢) 1.005s (~) 0.003s (-12.3% 🟢) 1.019s (~) 0.539s 59 1.00x
🐘 Postgres Express 0.614s (+1.0%) 1.003s (~) 0.004s (-19.2% 🟢) 1.022s (~) 0.408s 59 1.28x
💻 Local Nitro 0.825s (+13.6% 🔺) 1.012s (~) 0.010s (-2.8%) 1.116s (+9.1% 🔺) 0.291s 54 1.72x
💻 Local Express ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 4.192s (+1.0%) 5.808s (-1.9%) 0.234s (-14.5% 🟢) 6.459s (-2.9%) 2.268s 10 1.00x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Express

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.859s (-12.3% 🟢) 1.016s (-14.8% 🟢) 0.000s (-100.0% 🟢) 1.036s (-14.9% 🟢) 0.177s 58 1.00x
🐘 Postgres Express 0.970s (+2.6%) 1.263s (+8.0% 🔺) 0.000s (-100.0% 🟢) 1.279s (+8.0% 🔺) 0.309s 48 1.13x
💻 Local Nitro 1.245s (+0.5%) 2.022s (~) 0.001s (+87.5% 🔺) 2.024s (~) 0.779s 30 1.45x
💻 Local Express ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.484s (-5.2% 🟢) 3.626s (-5.4% 🟢) 0.000s (-100.0% 🟢) 3.997s (-7.5% 🟢) 1.514s 16 1.00x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Express

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.621s (-8.0% 🟢) 2.069s (-1.5%) 0.000s (-100.0% 🟢) 2.092s (-1.0%) 0.470s 29 1.00x
🐘 Postgres Express 1.773s (~) 2.068s (-3.2%) 0.000s (NaN%) 2.081s (-3.1%) 0.307s 29 1.09x
💻 Local Nitro 3.581s (+2.2%) 4.165s (+1.6%) 0.000s (-71.4% 🟢) 4.168s (+1.6%) 0.587s 15 2.21x
💻 Local Express ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.534s (-16.5% 🟢) 4.757s (-15.8% 🟢) 0.000s (-58.3% 🟢) 5.200s (-17.5% 🟢) 1.666s 12 1.00x
▲ Vercel Nitro ⚠️ missing - - - - -

🔍 Observability: Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 18/21
Nitro 🐘 Postgres 20/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


Some benchmark jobs failed:

  • Local: cancelled
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

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.

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>
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.

3 participants