Skip to content

feat(evals): Upload eval results to Sentry Evals - #602

Merged
dcramer merged 3 commits into
mainfrom
feat/sentry-evals-upload
Dec 2, 2026
Merged

dcramer merged 3 commits into
mainfrom
feat/sentry-evals-upload

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Warden eval results currently live only in a GitHub check and workflow logs, so there is no history across runs and no place to read a case's transcript, scores, or cost. This uploads each CI eval run to Sentry Evals, where junior and other repos already report.

  • pnpm evals (PRs and pushes to main) uploads as the warden dataset.
  • The weekly security corpus uploads its merged shards as warden-security-corpus.
  • Only the head of each run is uploaded. There is no base comparison, so Sentry Evals posts no PR comment or check. The existing eval checks do not change.

packages/evals/src/sentry-evals.ts maps the Vitest JSON report that vitest-evals writes. A harness error reports as error, and a wrong result reports as failed. Input and transcript come from the harness session messages. CI runs the file directly with Node 24, so the security report job needs no install. Usage metadata now includes costUsd, so runs show cost.

Nothing breaks. The upload needs a SENTRY_EVALS_API_KEY repo secret. Without it, the step logs a skip and does nothing.

via @dcramer.

--

View Session [Sentry]

Upload each CI eval run to evals.sentry.dev: pnpm evals as the warden
dataset, and the weekly security corpus as warden-security-corpus.
Harness errors report as errors, wrong results as failures. Usage now
carries costUsd so runs show cost.

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
The weekly security corpus is a benchmark, not an eval suite, so it does
not report to Sentry Evals.

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
warden-prod Ready Ready Preview Dec 2, 2026 3:44am UTC

Request Review

The weekly security corpus is an eval suite, so it uploads to Sentry
Evals as warden-security-corpus again.

Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com>
@dcramer
dcramer merged commit 9e9cf69 into main Dec 2, 2026
24 checks passed
@dcramer
dcramer deleted the feat/sentry-evals-upload branch December 2, 2026 03:54

This branch was successfully deployed

2 active deployments
Preview – warden-prod — c6015d3b Deployed Dec 2, 2026 by vercel[bot]
Preview – warden — c6015d3b Deployed Dec 2, 2026 by vercel[bot]
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