Skip to content

test(evals): Run behavioral and integration evals on Luna at high reasoning - #2866

Merged
dcramer merged 5 commits into
mainfrom
evals/luna-high-default
Nov 8, 2026
Merged

dcramer merged 5 commits into
mainfrom
evals/luna-high-default

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

The behavioral and integration eval configs now default AI_MODEL to openai/gpt-6-luna and AI_REASONING_LEVEL to high. This cuts eval cost.

Since #2681, evals use the product default, Opus 5.5 at high. Before #2681, the standard profile was Luna at high, and most eval Turns ran on it.

  • Both values use ||=. apps/example/.env.example loads both as empty strings, so ??= would keep the blanks and fall back to Opus. A non-empty AI_MODEL or AI_REASONING_LEVEL in the env or a local .env file still selects another model.
  • The Guardian suite already defaults to Luna. The classifiers suite uses the decision model. Neither changes.
  • The Roach recording key includes the model id, so the first run of each case on Luna misses and records again.

Fixes from the Luna runs

  • Auth MCP fixture: the budget-echo tool said it only confirms the MCP connection, so action review correctly rejected it for a budget lookup. It now looks up a budget and returns one.
  • Lost reply: when Slack rejects a reply, the failed-turn note for the next Turn now says the reply was not delivered. Before, it said only that the person may have seen an error. A local probe confirmed that the lost reply does not reach the next Turn's model context. The delivery_failed test in local-agent-runner.test.ts asserts the new note.
  • History fixture eval: a failing comparison now prints the first row that differs, because the eval reporter cuts off the deep-equal diff.

Integration evals keep only runtime rules

Integration evals are hard pass/fail, so cases that depend on a model choice moved to the behavioral suite (80% floor). Each moved case keeps its assertions.

  • To behavioral: no visible reply (conversation/delivery.eval.ts), the reply after a lost reply (conversation/delivery.eval.ts), the creator credential default for a new schedule (scheduler/credentials.eval.ts), one event automation for an issue or a repo (coding/event-automations.eval.ts), and the progress report after a child agent's turn budget (agent/child-agents.eval.ts).
  • Integration keeps the runtime part of two split cases: a rejected Slack reply fails the Turn and stores nothing, and a child agent past its turn budget gets a result Turn that succeeds.
  • The eyes-reaction case now checks the Slack reaction, not a direct addReaction call. If Junior did not keep the requested reaction, the completed reaction would follow, so reactions == ["eyes"] still proves the rule. A call from a Code Mode script now counts.
  • The script output-limit case now expects the cut note from feat(tools): Cap model-facing tool results and save the full text #2823 ([cut: … full: /tmp/jr/…]). The old .junior/codemode note no longer exists on main.

Not run here: the eval suites themselves, because they need AI Gateway access. local-agent-runner.test.ts and the @sentry/junior and @sentry/junior-evals typechecks pass.

via @dcramer.

--

View Session [Sentry]

@vercel

vercel Bot commented Nov 7, 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 8, 2026 6:27pm UTC

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d85045d. Configure here.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

10 screenshot changes — 10 changed · 0 added · 0 removed

Review screenshots in Frameshift

Conversation Attachment · Desktop
Conversation Attachment · Desktop
Changed
Conversation Attachment · Mobile
Conversation Attachment · Mobile
Changed
Conversation Attachment Modal · Desktop
Conversation Attachment Modal · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Create Focused · Desktop
Conversation Create Focused · Desktop
Changed
Show 4 more changed screenshots
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Details Watched Linked Work · Mobile
Conversation Details Watched Linked Work · Mobile
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed

@dcramer
dcramer merged commit 91ca494 into main Nov 8, 2026
48 of 49 checks passed
@dcramer
dcramer deleted the evals/luna-high-default branch November 8, 2026 18:39

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 62f11de1 Deployed Nov 8, 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