Skip to content

fix(evals): route behavior harness through production conversation work - #1731

Merged
dcramer merged 3 commits into
mainfrom
fix/behavior-harness-dispatch-router
Aug 29, 2026
Merged

dcramer merged 3 commits into
mainfrom
fix/behavior-harness-dispatch-router

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

#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.

Requested by David Cramer.

--

View Junior Session [Sentry]

createAgentDispatchWorkRouter was removed in #1727. Point the eval drain
path at the same mailbox/invocation/dispatch/destination selection so
junior-evals typecheck stops failing on main.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 29, 2026 12:35am

Request Review

#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
dcramer marked this pull request as ready for review August 29, 2026 00:30
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 29, 2026
…dispatch-router

# Conflicts:
#	packages/junior-evals/src/behavior-harness.ts

Co-Authored-By: David Cramer <[email protected]>
@dcramer
dcramer merged commit 08e359b into main Aug 29, 2026
42 of 43 checks passed
@dcramer
dcramer deleted the fix/behavior-harness-dispatch-router branch August 29, 2026 00:50

This branch was successfully deployed

1 active deployment
Preview – junior-docs — f533643a Deployed Aug 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant