Repository navigation
ref(chat): use one Conversation Turn worker - #1727
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
force-pushed
the
codex/1563-conversation-turn-runtime
branch
from
August 28, 2026 21:39
57bd760 to
274d13c
Compare
dcramer
marked this pull request as ready for review
August 28, 2026 21:55
sentry-junior Bot
added a commit
that referenced
this pull request
Aug 29, 2026
#1727 made createConversationWork the single Conversation work path. Stop reimplementing mailbox/invocation/dispatch routing in the eval harness. Extend createConversationWork with sendPluginTask and wrapRuntime so evals can keep TestThread Delivery and in-process plugin tasks while using the production run selector. Co-Authored-By: David Cramer <[email protected]>
dcramer
added a commit
that referenced
this pull request
Aug 29, 2026
…rk (#1731) #1727 removed `createAgentDispatchWorkRouter` and moved mailbox/invocation/dispatch/destination selection into `createConversationWork`. The behavior harness still imported the old router, so `packages/junior-evals` typecheck failed on main. Point the eval drain path at the same selection order, keep the eval Slack runtime wrapper for TestThread delivery, and use `getDispatchConversationId` for dispatch resume. <!-- junior-request-attribution:start --> Requested by **David Cramer**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0B595QDZLL%3A1787959889.120419 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0B595QDZLL%3A1787959889.120419) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0B595QDZLL%3A1787959889.120419/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: David Cramer <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Web input and resource events now start baseline Conversation Turns through one mailbox worker under
chat/task-execution. Conversation storage, web input, web authorization, and stop behavior live underchat/conversations. Slack remains a provider layer that adds Slack input and Delivery. HTTP Conversation routes only check access and shape requests and responses.The app selects mailbox Turns, Agent invocations, dispatches, or provider work in one direct flow. The unused app-scoped cancellation service and nested worker wrappers are gone. Existing Redis markers and field names remain only where deployment compatibility requires them, with removal TODOs beside each use. Review
chat/app/conversation-work.tsfirst, thenchat/task-execution/conversation-turn.tsandchat/conversations/web-input.ts.Refs #1563