Skip to content

perf(core): load replay page from run_started - #3191

Draft
NathanColosimo wants to merge 3 commits into
codex/consume-run-started-preload-cursorfrom
codex/stream-run-started-replay-page
Draft

perf(core): load replay page from run_started#3191
NathanColosimo wants to merge 3 commits into
codex/consume-run-started-preload-cursorfrom
codex/stream-run-started-replay-page

Conversation

@NathanColosimo

@NathanColosimo NathanColosimo commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • negotiate a framed run_started response containing the first replay page for ordinary and resumed invocations
  • continue replay from the returned cursor without reloading the first page
  • preserve the existing Turbo path: background run_started, request skipPreload, synthesize the run, and begin replay immediately
  • preserve raw compressed replay payloads until runtime hydration

Stack

Stacked on #3124.

Validation

  • pnpm typecheck
  • pnpm --filter @workflow/world-vercel test (297 tests)
  • pnpm --filter @workflow/core test (1,505 passing, 3 expected failures)
  • focused changed-file lint: no errors
  • autoreview: no accepted findings; one legacy-path finding rejected after verifying that compatibility requests cannot enter the framed response path

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview Jul 30, 2026 12:02am
example-nextjs-workflow-webpack Ready Ready Preview Jul 30, 2026 12:02am
example-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-astro-workflow Building Building Preview Jul 30, 2026 12:02am
workbench-express-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-fastify-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-hono-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-nestjs-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-nitro-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-nuxt-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-sveltekit-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-tanstack-start-workflow Ready Ready Preview Jul 30, 2026 12:02am
workbench-vite-workflow Ready Ready Preview Jul 30, 2026 12:02am
workflow-docs Ready Ready Preview, v0 Jul 30, 2026 12:02am
workflow-swc-playground Ready Ready Preview Jul 30, 2026 12:02am
workflow-tarballs Ready Ready Preview Jul 30, 2026 12:02am
workflow-web Ready Ready Preview Jul 30, 2026 12:02am

@changeset-bot

changeset-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c11d070

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

This PR includes changesets to release 17 packages
Name Type
@workflow/world-vercel Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/core Patch
@workflow/web Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/nuxt Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/vitest Patch
workflow Patch
@workflow/world-testing Patch
@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

@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

E2E Test Summary

Summary
Passed Failed Skipped Total
✅ ▲ Vercel Production 1455 0 239 1694
✅ 💻 Local Development 1621 0 227 1848
✅ 📦 Local Production 1621 0 227 1848
✅ 🐘 Local Postgres 1621 0 227 1848
✅ 🪟 Windows 154 0 0 154
✅ 📋 Other 1020 0 212 1232
✅ vercel-multi-region 27 0 0 27
Total 7519 0 1132 8651
Details by Category

✅ ▲ Vercel Production

App Passed Failed Skipped
✅ astro 126 0 28
✅ example 126 0 28
✅ express 126 0 28
✅ fastify 126 0 28
✅ hono 126 0 28
✅ nextjs-turbopack 151 0 3
✅ nextjs-webpack 151 0 3
✅ nitro 126 0 28
✅ nuxt 126 0 28
✅ sveltekit 145 0 9
✅ vite 126 0 28

✅ 💻 Local Development

App Passed Failed Skipped
✅ astro-stable 128 0 26
✅ express-stable 128 0 26
✅ fastify-stable 128 0 26
✅ hono-stable 128 0 26
✅ nextjs-turbopack-canary 135 0 19
✅ nextjs-turbopack-stable 154 0 0
✅ nextjs-webpack-canary 135 0 19
✅ nextjs-webpack-stable 154 0 0
✅ nitro-stable 128 0 26
✅ nuxt-stable 128 0 26
✅ sveltekit-stable 147 0 7
✅ vite-stable 128 0 26

✅ 📦 Local Production

App Passed Failed Skipped
✅ astro-stable 128 0 26
✅ express-stable 128 0 26
✅ fastify-stable 128 0 26
✅ hono-stable 128 0 26
✅ nextjs-turbopack-canary 135 0 19
✅ nextjs-turbopack-stable 154 0 0
✅ nextjs-webpack-canary 135 0 19
✅ nextjs-webpack-stable 154 0 0
✅ nitro-stable 128 0 26
✅ nuxt-stable 128 0 26
✅ sveltekit-stable 147 0 7
✅ vite-stable 128 0 26

✅ 🐘 Local Postgres

App Passed Failed Skipped
✅ astro-stable 128 0 26
✅ express-stable 128 0 26
✅ fastify-stable 128 0 26
✅ hono-stable 128 0 26
✅ nextjs-turbopack-canary 135 0 19
✅ nextjs-turbopack-stable 154 0 0
✅ nextjs-webpack-canary 135 0 19
✅ nextjs-webpack-stable 154 0 0
✅ nitro-stable 128 0 26
✅ nuxt-stable 128 0 26
✅ sveltekit-stable 147 0 7
✅ vite-stable 128 0 26

✅ 🪟 Windows

App Passed Failed Skipped
✅ nextjs-turbopack 154 0 0

✅ 📋 Other

App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 128 0 26
✅ e2e-local-dev-tanstack-start- 128 0 26
✅ e2e-local-postgres-nest-stable 128 0 26
✅ e2e-local-postgres-tanstack-start- 128 0 26
✅ e2e-local-prod-nest-stable 128 0 26
✅ e2e-local-prod-tanstack-start- 128 0 26
✅ e2e-vercel-prod-nest 126 0 28
✅ e2e-vercel-prod-tanstack-start 126 0 28

✅ vercel-multi-region

App Passed Failed Skipped
✅ nextjs-turbopack 27 0 0

📋 View full workflow run

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.

1 participant