Skip to content

feat: evals runner with vercel workflows, sandbox - #186

Draft
mattrossman wants to merge 12 commits into
mainfrom
feat/vercel-evals-runner
Draft

feat: evals runner with vercel workflows, sandbox#186
mattrossman wants to merge 12 commits into
mainfrom
feat/vercel-evals-runner

Conversation

@mattrossman

@mattrossman mattrossman commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Incomplete proof of concept using Vercel Workflows to orchestrate Sandboxes for running evals outside of GitHub Actions. Workflows can be dispatched via a new Nitro app in apps/runner, the deployment of which has Deployment Protection so you can use a bypass secret to authenticate.

I started with a single workflow runEvalWorkflow composed of 3 steps:

  • createEvalSandbox
  • runEvalInSandbox
  • deleteEvalSandbox

Idea being that sandbox creation and deletion could fail, so this will retry + continue on step failures as needed, and gracefully rollback sandbox creation on intermediate errors.

A second workflow runEvalsWorkflow (plural) uses the same steps, but adds loops / retry logic to run a batch of multiple eval runs.

CleanShot 2026-08-10 at 16 11 13@2x

I added logic so that agents write their stream of output to the workflow logs (i.e. tool calls, assistant message parts), as well as the normal framework logs (eval run status) to 2 stream "namespaces" for each run.

CleanShot 2026-08-10 at 17 34 15@2x

Not yet included:

  • A corresponding GH Action to dispatch the Vercel Workflow and collect results
  • Discovery of runs via eval / experiment suites (currently you pass an explicit list of eval x experiments to run)

Note the majority of this diff is pnpm-lock.yaml

Related: #114

Ref AI-912

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
evals Ignored Ignored Aug 10, 2026 8:20pm

Request Review

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