Repository navigation
Conversation
🦋 Changeset detectedLatest commit: c567316 The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
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 |
|
You must have Developer access to commit code to Vercel Labs on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes. Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles |
🧪 E2E Test Results
⏳ Tests are running... _Started at: _ ✅ All tests passed
|
| Passed | Failed | Skipped | Total | |
|---|---|---|---|---|
| ✅ 💻 Local Development | 5272 | 0 | 731 | 6003 |
| ✅ 📦 Local Production | 5272 | 0 | 731 | 6003 |
| ✅ 🐘 Local Postgres | 5417 | 0 | 586 | 6003 |
| ✅ 🪟 Windows | 401 | 0 | 13 | 414 |
| ✅ 🌐 Cross-language Conformance | 68 | 0 | 114 | 182 |
| ✅ dynamic-runs | 0 | 0 | 0 | 0 |
| ✅ local-postgres-spec9 | 0 | 0 | 364 | 364 |
| ✅ local-spec9 | 409 | 0 | 5 | 414 |
| ✅ vercel-http-transport | 1054 | 0 | 188 | 1242 |
| ✅ vercel-spec9 | 395 | 0 | 19 | 414 |
| ✅ vercel-ws-transport | 712 | 0 | 116 | 828 |
| Total | 19000 | 0 | 2867 | 21867 |
Details by Category
✅ 💻 Local Development
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-stable-node | 172 | 0 | 35 |
| ✅ astro-stable-quickjs | 171 | 0 | 36 |
| ✅ express-stable-node | 172 | 0 | 35 |
| ✅ express-stable-quickjs | 171 | 0 | 36 |
| ✅ fastify-stable-node | 172 | 0 | 35 |
| ✅ fastify-stable-quickjs | 171 | 0 | 36 |
| ✅ hono-stable-node | 172 | 0 | 35 |
| ✅ hono-stable-quickjs | 171 | 0 | 36 |
| ✅ nest-stable-node | 172 | 0 | 35 |
| ✅ nest-stable-quickjs | 171 | 0 | 36 |
| ✅ nextjs-turbopack-canary-node | 201 | 0 | 6 |
| ✅ nextjs-turbopack-canary-quickjs | 200 | 0 | 7 |
| ✅ nextjs-turbopack-quickjs-snapshot | 200 | 0 | 7 |
| ✅ nextjs-turbopack-stable-node | 201 | 0 | 6 |
| ✅ nextjs-turbopack-stable-quickjs | 200 | 0 | 7 |
| ✅ nextjs-webpack-canary-node | 201 | 0 | 6 |
| ✅ nextjs-webpack-canary-quickjs | 200 | 0 | 7 |
| ✅ nextjs-webpack-stable-node | 201 | 0 | 6 |
| ✅ nextjs-webpack-stable-quickjs | 200 | 0 | 7 |
| ✅ nitro-stable-node | 172 | 0 | 35 |
| ✅ nitro-stable-quickjs | 171 | 0 | 36 |
| ✅ nuxt-stable-node | 172 | 0 | 35 |
| ✅ nuxt-stable-quickjs | 171 | 0 | 36 |
| ✅ sveltekit-stable-node | 191 | 0 | 16 |
| ✅ sveltekit-stable-quickjs | 190 | 0 | 17 |
| ✅ tanstack-start-node | 172 | 0 | 35 |
| ✅ tanstack-start-quickjs | 171 | 0 | 36 |
| ✅ vite-stable-node | 172 | 0 | 35 |
| ✅ vite-stable-quickjs | 171 | 0 | 36 |
✅ 📦 Local Production
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-stable-node | 172 | 0 | 35 |
| ✅ astro-stable-quickjs | 171 | 0 | 36 |
| ✅ express-stable-node | 172 | 0 | 35 |
| ✅ express-stable-quickjs | 171 | 0 | 36 |
| ✅ fastify-stable-node | 172 | 0 | 35 |
| ✅ fastify-stable-quickjs | 171 | 0 | 36 |
| ✅ hono-stable-node | 172 | 0 | 35 |
| ✅ hono-stable-quickjs | 171 | 0 | 36 |
| ✅ nest-stable-node | 172 | 0 | 35 |
| ✅ nest-stable-quickjs | 171 | 0 | 36 |
| ✅ nextjs-turbopack-canary-node | 201 | 0 | 6 |
| ✅ nextjs-turbopack-canary-quickjs | 200 | 0 | 7 |
| ✅ nextjs-turbopack-quickjs-snapshot | 200 | 0 | 7 |
| ✅ nextjs-turbopack-stable-node | 201 | 0 | 6 |
| ✅ nextjs-turbopack-stable-quickjs | 200 | 0 | 7 |
| ✅ nextjs-webpack-canary-node | 201 | 0 | 6 |
| ✅ nextjs-webpack-canary-quickjs | 200 | 0 | 7 |
| ✅ nextjs-webpack-stable-node | 201 | 0 | 6 |
| ✅ nextjs-webpack-stable-quickjs | 200 | 0 | 7 |
| ✅ nitro-stable-node | 172 | 0 | 35 |
| ✅ nitro-stable-quickjs | 171 | 0 | 36 |
| ✅ nuxt-stable-node | 172 | 0 | 35 |
| ✅ nuxt-stable-quickjs | 171 | 0 | 36 |
| ✅ sveltekit-stable-node | 191 | 0 | 16 |
| ✅ sveltekit-stable-quickjs | 190 | 0 | 17 |
| ✅ tanstack-start-node | 172 | 0 | 35 |
| ✅ tanstack-start-quickjs | 171 | 0 | 36 |
| ✅ vite-stable-node | 172 | 0 | 35 |
| ✅ vite-stable-quickjs | 171 | 0 | 36 |
✅ 🐘 Local Postgres
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-stable-node | 177 | 0 | 30 |
| ✅ astro-stable-quickjs | 176 | 0 | 31 |
| ✅ express-stable-node | 177 | 0 | 30 |
| ✅ express-stable-quickjs | 176 | 0 | 31 |
| ✅ fastify-stable-node | 177 | 0 | 30 |
| ✅ fastify-stable-quickjs | 176 | 0 | 31 |
| ✅ hono-stable-node | 177 | 0 | 30 |
| ✅ hono-stable-quickjs | 176 | 0 | 31 |
| ✅ nest-stable-node | 177 | 0 | 30 |
| ✅ nest-stable-quickjs | 176 | 0 | 31 |
| ✅ nextjs-turbopack-canary-node | 206 | 0 | 1 |
| ✅ nextjs-turbopack-canary-quickjs | 205 | 0 | 2 |
| ✅ nextjs-turbopack-quickjs-snapshot | 205 | 0 | 2 |
| ✅ nextjs-turbopack-stable-node | 206 | 0 | 1 |
| ✅ nextjs-turbopack-stable-quickjs | 205 | 0 | 2 |
| ✅ nextjs-webpack-canary-node | 206 | 0 | 1 |
| ✅ nextjs-webpack-canary-quickjs | 205 | 0 | 2 |
| ✅ nextjs-webpack-stable-node | 206 | 0 | 1 |
| ✅ nextjs-webpack-stable-quickjs | 205 | 0 | 2 |
| ✅ nitro-stable-node | 177 | 0 | 30 |
| ✅ nitro-stable-quickjs | 176 | 0 | 31 |
| ✅ nuxt-stable-node | 177 | 0 | 30 |
| ✅ nuxt-stable-quickjs | 176 | 0 | 31 |
| ✅ sveltekit-stable-node | 196 | 0 | 11 |
| ✅ sveltekit-stable-quickjs | 195 | 0 | 12 |
| ✅ tanstack-start-node | 177 | 0 | 30 |
| ✅ tanstack-start-quickjs | 176 | 0 | 31 |
| ✅ vite-stable-node | 177 | 0 | 30 |
| ✅ vite-stable-quickjs | 176 | 0 | 31 |
✅ 🪟 Windows
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-node | 201 | 0 | 6 |
| ✅ nextjs-turbopack-quickjs | 200 | 0 | 7 |
✅ 🌐 Cross-language Conformance
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ python | 68 | 0 | 114 |
✅ dynamic-runs
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ example-vercel | 0 | 0 | 0 |
| ✅ express-vercel | 0 | 0 | 0 |
| ✅ hono-vercel | 0 | 0 | 0 |
| ✅ nextjs-turbopack-vercel | 0 | 0 | 0 |
| ✅ nitro-vercel | 0 | 0 | 0 |
| ✅ vite-vercel | 0 | 0 | 0 |
✅ local-postgres-spec9
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-stable-node | 0 | 0 | 182 |
| ✅ nextjs-turbopack-stable-quickjs | 0 | 0 | 182 |
✅ local-spec9
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-node | 205 | 0 | 2 |
| ✅ nextjs-turbopack-quickjs | 204 | 0 | 3 |
✅ vercel-http-transport
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ example | 171 | 0 | 36 |
| ✅ express | 171 | 0 | 36 |
| ✅ hono | 171 | 0 | 36 |
| ✅ nextjs-turbopack | 199 | 0 | 8 |
| ✅ nitro | 171 | 0 | 36 |
| ✅ vite | 171 | 0 | 36 |
✅ vercel-spec9
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-node | 198 | 0 | 9 |
| ✅ nextjs-turbopack-quickjs | 197 | 0 | 10 |
✅ vercel-ws-transport
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ example | 171 | 0 | 36 |
| ✅ express | 171 | 0 | 36 |
| ✅ nextjs-turbopack | 199 | 0 | 8 |
| ✅ vite | 171 | 0 | 36 |
5900ed2 to
cbb3ad4
Compare
Sim WorldSimulated world deterministic testing for races. Traces 🟢 world-sim scenario book — 0 fail of 45 total
Full trace: |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cbb3ad4 to
501c151
Compare
501c151 to
1ded8fe
Compare
1ded8fe to
7376230
Compare
7376230 to
8e4fd2e
Compare
8e4fd2e to
422b76d
Compare
📊 Workflow Benchmarks❌ The benchmark run for No benchmark results were produced. ℹ️ Metric definitions & methodologyMetrics — All timestamps are deployment-side; runs are triggered in-deployment, so the CI runner and api.vercel.com sit outside every measured window. TTFS = Cold starts stay in the numbers (real bursty-workload latency, inflates P75+); Best is the warm floor. |
422b76d to
fe978ae
Compare
| observedHookIds: suspension.observedHookIds, | ||
| selfStepIds, | ||
| }); | ||
| if (conditionalBoundary) boundaryRunAhead.conditional = true; |
About these numbersSizes are gzip; parentheses show the change against
|
fe978ae to
c3565a2
Compare
e389f89 to
306e9d7
Compare
306e9d7 to
5fb5ced
Compare
5fb5ced to
ac0641d
Compare
ac0641d to
33bee64
Compare
33bee64 to
e5aa029
Compare
e5aa029 to
a3857df
Compare
a3857df to
0923387
Compare
0923387 to
fba3d8d
Compare
…ative writes Signed-off-by: benpankow <ben.pankow@vercel.com>
… after a learned foreign slot, and hold bodies until their creation commits Signed-off-by: benpankow <ben.pankow@vercel.com>
…is held; map event-slot-taken in world-vercel Signed-off-by: benpankow <ben.pankow@vercel.com>
…sts catch a step running twice Signed-off-by: benpankow <ben.pankow@vercel.com>
…; assert which refusal stops each strict test Signed-off-by: benpankow <ben.pankow@vercel.com>
…nd strict writes in flight; narrow the hazard stand-down; align the slot-taken docs Signed-off-by: benpankow <ben.pankow@vercel.com>
… strictEventCount conformance and run it on the test World Signed-off-by: benpankow <ben.pankow@vercel.com>
fba3d8d to
c567316
Compare
What
On a World that declares the new
capabilities.strictEventCount, spec 9 run-ahead can run ahead at a boundary whose only reason not to be inert is a hook that workflow code awaits. At such a "conditional" boundary:strictEventCount: trueand exactly the position it was decided at: its predicted slot - 1, never raised to the writer'scompleteThrough. The World commits it only at sloteventCount + 1, after checking the in-band fence. Otherwise it refuses with a newEventSlotTakenError(412,event-slot-taken) and allocates nothing.RunAheadStopError. Decisions stop, as at a hazard stop. Refused outcomes of steps whose start committed are resent as ordinary writes, so no finished step runs again. Then the delivery restarts from a fresh load through the existing path.Why
eve's session inbox always has a read pending on its hook, so every step boundary of an eve turn counts as having an awaited hook, and run-ahead never engages. Today a payload landing between speculative writes would commit around them and cause a hazard stop with
possibleLogCorruption, which is why awaited hooks disable run-ahead. A conditional commit turns that case into a clean refusal before anything decided without the payload commits.Review follow-ups
wait_created, could raisecompleteThroughpast an unseenhook_received, and a strict write queued behind it then named a position covering it. Strict writes now name their decided position exactly, and the writer refuses them locally once it has learned of a foreign slot. A new test triggers this through await_created. It fails on the previous commit, where strict writes kept committing above the payload, and passes now.step_started. TheEventSlotTakenErrordoc no longer overstates the guarantee.step_startedfor one step). The outcome doesn't depend on the payload, because the step's creation had already committed. So a refused group now resends those outcomes as ordinary writes, using the hazard-stop rule for what may still be written, and drops only the creations. Both tests now assert onestep_startedand one body per step. The hazard check stands down once a strict write was refused, because every speculative write before it went out at its exact slot.EventSlotTakenErrordoc: it now agrees with the World contract that a retried write may be refused after its first attempt committed. In that case the fence refuses the next write and the run is redelivered.@workflow/worldnow shipsstrict-event-count-conformance.ts, in the shape of the fence conformance. It checks the exact slot, refusal without allocation, fence before slot, whole-batch refusal, and a slot taken out-of-band. It runs against the test World. world-vercel only maps the error and never sendsstrictEventCount, because it doesn't declare the capability.412 event-slot-takentoEventSlotTakenError.Open for the team
MAX_RUN_AHEAD_RESTARTS), so a second refusal can't occur within it. There's no strict-specific test of the restart limit.How did you test your changes?
run-ahead.runtime.test.ts(node:vm), on a World withstrictEventCount:possibleLogCorruption(now read fromconsole.error, which the run logger prints through), each step has onestep_startedand ran one body, and a cold replay matches.wait_createdis refused locally, instead of strict writes committing above it. This test fails on the first commit of this PR.append-only-world.test.ts: the test World checks the fence before the slot, and a slot refusal moves neither the log nor the fence count. Before this, the test World advanced the fence before refusing, which the salvage exposed.src/runtime/spec9,test-support, the constants, abort and serialization tests (1366 tests),@workflow/world(301),@workflow/errors(67), and world-vercel'shttp-coreandevents-v4tests (139) pass.world-local-coalescing.test.tsfails intermittently on the base branch too.PR Checklist - Required to merge
pnpm changesetwas run to create a changelog for this PRgit commit --signoffon your commits)@vercel/workflowin a comment once the PR is ready, and the above checklist is completeWritten by Claude Opus 5.5