feat(eve): benchmark loop runtime overhead#700
Draft
ruiconti wants to merge 6 commits into
Draft
Conversation
Extract the production session and turn operations so inline, Workflow DevKit, and Temporal runners execute the same behavior. Add runtime-neutral monotonic telemetry, retry-aware engine identities, and local-only runtime selection guards for benchmark use. Signed-off-by: Rui Conti <ruiconti@gmail.com>
Run correctness-gated randomized complete blocks across inline, Workflow DevKit, and Temporal locally or in one Vercel Sandbox. Record deterministic and live model lanes, client protocol phases, raw server telemetry, and paired summaries. Signed-off-by: Rui Conti <ruiconti@gmail.com>
A fresh Sandbox install fails under pnpm's allowBuilds policy because @temporalio/worker introduces @swc/core. Approve only that package so the pinned benchmark checkout installs without bypassing build-script enforcement. Signed-off-by: Rui Conti <ruiconti@gmail.com>
Sandbox port URLs are non-loopback, so the default eve channel rejects unauthenticated samples. Bind server verification to the controller token's project and environment claims, keep the token in a client-only closure, and fail closed on redirects without serializing credentials into benchmark records. Signed-off-by: Rui Conti <ruiconti@gmail.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Signed-off-by: Rui Conti <ruiconti@gmail.com>
Signed-off-by: Rui Conti <ruiconti@gmail.com>
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.
Description
Part of #512. This is stacked on #687, which is stacked on #513. The PR base is
rui/loop-interface-prototypes.This adds a correctness-gated benchmark for end-to-end eve agent latency and the runtime layers inside one turn. It compares inline execution, Workflow DevKit, and a real local Temporal server/Worker without changing the authoring API.
Runtime boundary
Measurement contract
session.waiting, with the protocol phases and reducer work reported separately.benchmark_echotool call followed by the exact tool result.Benchmark topology
openai/gpt-5.4for provider-inclusive measurements.This is internal research tooling. It adds no public API and has no changeset.
How did you test your changes?
b183017cbd93821e035fa472eb9a5c884053ad36: run421ceb71-479c-491b-9e96-2395cabf21b0completed one warmup and one measured block with six valid samples and complete telemetry for inline, Workflow DevKit, and Temporal. This is an execution proof, not a comparative result;n=1is too small to interpret.PR Checklist
CONTRIBUTING.mdevepackage (not required: internal research tooling with no public behavior change)git commit --signoff)