Skip to content

test(evals): Add behavioral evals for the review desk tools - #2478

Merged
dcramer merged 2 commits into
mainfrom
evals/review-desk
Nov 1, 2026
Merged

dcramer merged 2 commits into
mainfrom
evals/review-desk

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

The review desk tools had no evals for how the agent keeps an item up to date or closes it.

evals/review-desk/items.eval.ts adds two behavioral cases. Each one asserts tool calls and their outputs. There is no rubric judge, because each result is a fixed tool effect.

  • Later run, same subject. An open item from the same Automation exists. The run uses the review desk tools, and no completed addReviewItem starts a new item. Each add updates the existing item.
  • Pull request merged. A person says in Slack that the pull request merged. The agent closes the open item once with updateReviewItem, with done or dismissed and a reason.

evals/conversation/asking.eval.ts on main already checks that an Automation run asks with an action item and finishes, so this file has no case for that.

insertReviewItem in src/fixture/insert.ts stores a public open item through the product store (chat/review-items/store.ts), like the other insert functions. insertCreationThread now returns its Conversation id, so the item can link to it.

Status of the cases in CI

via David Cramer.

--

View Session [Sentry]

@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 1, 2026 7:46pm UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Oct 31, 2026
sentry-junior Bot and others added 2 commits November 1, 2026 19:43
Cover three agent choices: an Automation run adds an action item for a
person's decision and does not wait, a later run updates the open item
instead of adding another, and a merged pull request closes its item
with a reason. Add an insertReviewItem fixture that writes through the
product store.

Co-Authored-By: David Cramer <[email protected]>
main added evals/conversation/asking.eval.ts with requestUserInput removed.
Its Automation case already checks that a run adds an action item and
finishes. The review desk evals keep the dedupe and close cases.

Co-Authored-By: David Cramer <[email protected]>
@dcramer
dcramer merged commit 496cd69 into main Nov 1, 2026
46 checks passed
@dcramer
dcramer deleted the evals/review-desk branch November 1, 2026 21:18

This branch was successfully deployed

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

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant