Skip to content

fix(runtime): forward concurrent initial deliveries#644

Open
iroiro147 wants to merge 1 commit into
vercel:mainfrom
iroiro147:fix/serialize-continuation-deliveries-624
Open

fix(runtime): forward concurrent initial deliveries#644
iroiro147 wants to merge 1 commit into
vercel:mainfrom
iroiro147:fix/serialize-continuation-deliveries-624

Conversation

@iroiro147

Copy link
Copy Markdown
Contributor

Summary

  • forward a duplicate initial delivery to the session that already owns the requested continuation token when workflow start races with an existing hook owner
  • keep unrelated hook conflicts on the original error path by requiring an exact token match before forwarding
  • reuse the runtime run-handle creation path for both newly started and forwarded-to-owner sessions
  • add a patch changeset

Refs #624.

Tests

  • pnpm --filter eve run build:compiled
  • pnpm --filter eve exec vitest run --config vitest.unit.config.ts src/execution/workflow-runtime.test.ts src/channel/send.test.ts
  • pnpm --filter eve run typecheck
  • pnpm exec oxfmt --check packages/eve/src/execution/workflow-runtime.ts packages/eve/src/execution/workflow-runtime.test.ts .changeset/strong-deliveries-queue.md
  • pnpm exec oxlint --deny-warnings packages/eve/src/execution/workflow-runtime.ts packages/eve/src/execution/workflow-runtime.test.ts
  • pnpm guard:invariants
  • git diff --cached --check
  • pnpm changeset status --since origin/main
  • pnpm --filter eve exec vitest run --config vitest.unit.config.ts src/execution/workflow-entry.test.ts src/execution/session-delivery-hook.test.ts src/execution/turn-control-receiver.test.ts src/execution/turn-workflow.test.ts

Signed-off-by: iroiro147 <sarthak.singh@juspay.in>
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@iroiro147 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

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