ci: run evals weekly and record results on main - #239
Open
angeloashmore wants to merge 1 commit into
Open
Conversation
angeloashmore
marked this pull request as ready for review
July 28, 2026 01:10
angeloashmore
force-pushed
the
aa/evals-workflow
branch
from
July 28, 2026 19:39
988272f to
1adbd64
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1adbd64. Configure here.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
angeloashmore
force-pushed
the
aa/evals-workflow
branch
2 times, most recently
from
July 28, 2026 20:27
68bb4ab to
bdfcff3
Compare
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.

Resolves:
Description
Runs the eval suite in CI: weekly on Monday 06:00 UTC, and on demand via workflow dispatch. Results land on
mainthrough a bot-opened PR the job squash-merges immediately, since main's ruleset requires changes to arrive by PR. The results PR body carries the run's report, so watching the repo's PRs doubles as a weekly report; run-over-run history is the git log ofevals/results.json.Eval failures do not fail the job; evals are measurements, not gates. The job fails only when
evals/results.jsonwas not rewritten (the commit is the gate), meaning the harness died before grading. The eval step never receivesGH_TOKENbecause the agent under test can read the step's environment.Requires one new repository secret:
ANTHROPIC_API_KEY(already set).Checklist
Preview
How to QA 1
After this merges: Actions → evals → Run workflow. The run takes roughly 10–15 minutes and about $31; confirm it opens and squash-merges a
test(eval): record eval run at …PR whose body shows the per-eval report.🤖 Generated with Claude Code
Note
Medium Risk
Grants CI write/PR permissions and uses production API and e2e secrets, but scope is limited to eval automation with deliberate token isolation from the agent step.
Overview
Adds a new evals GitHub Actions workflow that runs the existing
npm run evalssuite on a schedule (Mondays 06:00 UTC), on workflow_dispatch, and temporarily on pushes toaa/evals-workflowfor pre-merge testing.The job uses a concurrency group so runs don’t overlap on the shared e2e Prismic account, checks out with
persist-credentials: falseso the agent under test can’t use the checkout token to push, and keepsGH_TOKENout of the eval step (only the record step gets it). Eval failures are non-blocking (|| true); recording onmainonly opens a bot PR that commitsevals/results.json, embeds theevals:reportoutput in the PR body, and squash-merges immediately to satisfy branch protection.Reviewed by Cursor Bugbot for commit 68bb4ab. Bugbot is set up for automated code reviews on this repo. Configure here.
Footnotes
Please use these labels when submitting a review:
⚠️ #issue: Strongly suggest a change.
❓ #ask: Ask a question.
💡 #idea: Suggest an idea.
🎉 #nice: Share a compliment. ↩