Skip to content

test(evals): Run the AI evals on #20116's llms.txt changes - #20217

Closed
jaydgoss wants to merge 3 commits into
jaygoss/vdy-307-onboarding-evals-ai-evals-label-workflow-in-sentry-docsfrom
jaygoss/evals-test-llms-instructions
Closed

jaydgoss wants to merge 3 commits into
jaygoss/vdy-307-onboarding-evals-ai-evals-label-workflow-in-sentry-docsfrom
jaygoss/evals-test-llms-instructions

Conversation

@jaydgoss

Copy link
Copy Markdown
Member

Not for merging. This is #20116's commits on top of #20214, which is up to date with master, so an ai-evals: label here runs #20214's workflow with #20116's llms.txt and .md export changes in the preview and the live docs as the base. #20116 itself is 96 commits behind master, and a run there would count those as part of its change.

Refs VDY-307

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
develop-docs Ready Ready Preview Oct 23, 2026 10:44pm UTC
sentry-docs Ready Ready Preview Oct 23, 2026 10:44pm UTC

Request Review

@linear-code

linear-code Bot commented Oct 23, 2026

Copy link
Copy Markdown

VDY-307

@sentry-evals

sentry-evals Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Sentry Evals

sentry-for-ai-evals:llms_txt:opus-5.5 (Comparison)

Run Status Passed Failed Errored Cost Tokens Duration
Head Complete 1 0 0 $0.55 1.1M 227.56s
Base Complete 1 0 0 $0.80 1.3M 179.80s
Diff 0 0 0 🟢 -$0.25 (-30.9%) 🟢 -178.9k (-13.7%) 🔴 +47.76s (+26.5%)

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

AI evals

Base and head differ only in where docs.sentry.io comes from:

Tests that install the Sentry skills build them from sentry-for-ai's main at cb3ad7d on both sides.

The head is 2 commits behind master, so the preview is missing changes the live docs have, and the comparison counts their removal as part of this PR. To compare only this PR's changes, update the branch, which reruns the evals.

Runs on evals.sentry.dev:

@jaydgoss
jaydgoss force-pushed the jaygoss/evals-test-llms-instructions branch from fdd5c76 to 223c5ea Compare October 23, 2026 22:27
@jaydgoss jaydgoss added the ai-evals:llms_txt:sonnet-5.5:x3 Run the llms.txt eval 3 times on Sonnet 5.5, on this PR's preview and its merge base's docs label Oct 23, 2026
@jaydgoss jaydgoss removed the ai-evals:llms_txt:sonnet-5.5:x3 Run the llms.txt eval 3 times on Sonnet 5.5, on this PR's preview and its merge base's docs label Oct 23, 2026
@jaydgoss
jaydgoss force-pushed the jaygoss/evals-test-llms-instructions branch from 223c5ea to db9ca68 Compare October 23, 2026 22:38
@jaydgoss jaydgoss added the ai-evals:llms_txt:sonnet-5.5:x3 Run the llms.txt eval 3 times on Sonnet 5.5, on this PR's preview and its merge base's docs label Oct 23, 2026
@sentry-evals

sentry-evals Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Sentry Evals

sentry-for-ai-evals:llms_txt:sonnet-5.5:x3 (Comparison)

Run Status Passed Failed Errored Cost Tokens Duration
Head Failed: timed_out (CI) 0 0 0 $0.00 0 0.00s
Base Failed: timed_out (CI) 0 0 0 $0.00 0 0.00s

@sentry-evals

sentry-evals Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Sentry Evals

sentry-for-ai-evals:llms_txt:opus-5.5:x3 (Comparison)

Run Status Passed Failed Errored Cost Tokens Duration
Head Failed: timed_out (CI) 0 0 0 $0.00 0 0.00s
Base Failed: timed_out (CI) 0 0 0 $0.00 0 0.00s

@jaydgoss jaydgoss added ai-evals:llms_txt:x3 and removed ai-evals:llms_txt:sonnet-5.5:x3 Run the llms.txt eval 3 times on Sonnet 5.5, on this PR's preview and its merge base's docs ai-evals:llms_txt:opus-5.5:x3 labels Oct 23, 2026
@sentry-evals

sentry-evals Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Sentry Evals

sentry-for-ai-evals:llms_txt:x3 (Comparison)

Run Status Passed Failed Errored Cost Tokens Duration
Head Complete 6 0 0 $2.31 5.1M 883.15s
Base Complete 6 0 0 $2.33 4.8M 863.37s
Diff 0 0 0 -$0.02 (-0.9%) +334.2k (+6.9%) +19.78s (+2.2%)

@jaydgoss
jaydgoss removed this pull request from stack #20218 October 23, 2026 23:36
@jaydgoss jaydgoss closed this Oct 23, 2026
jaydgoss added a commit that referenced this pull request Oct 26, 2026
## DESCRIBE YOUR PR

Adds an `AI Evals` workflow that runs the
[sentry-for-ai-evals](https://github.com/getsentry/sentry-for-ai-evals)
suites on a PR labeled `ai-evals:<mark>[:<models>][:x<count>]`, the same
labels sentry-for-ai uses. Both sides use the skills from
sentry-for-ai's `main`, so only the docs differ. The head reads
docs.sentry.io from the PR's Vercel preview
([sentry-for-ai-evals#77](getsentry/sentry-for-ai-evals#77)),
and the base reads the production deploy of the PR's merge base. Results
go to evals.sentry.dev, whose bot comments on the PR with each label's
runs, and a new push reruns every eval label still on the PR.

- The plan job waits for the Vercel preview before it creates the runs,
since evals.sentry.dev fails a run that gets no result for 30 minutes. A
preview is ready about 7 minutes after a push. If Vercel skips the
sentry-docs build (a PR that only changes develop-docs), the build
fails, or a newer push supersedes the commit, the job stops without
starting any evals.
- Each test a label selects runs in its own job, on each side and each
target the label picked, so tests don't share a container and run at the
same time
([sentry-for-ai-evals#90](getsentry/sentry-for-ai-evals#90)).
A last `:x<count>` runs each test that many times
([sentry-for-ai-evals#94](getsentry/sentry-for-ai-evals#94)).
Jobs are named by the test's number and pass run-evals `test-index`,
`test-total` and `count`, so this repo's logs don't name the internal
repo's tests
([sentry-for-ai-evals#97](getsentry/sentry-for-ai-evals#97)).
- Production deploys redirect every page to docs.sentry.io unless the
request has the header the evals' docs proxy sends
([#20225](#20225),
[sentry-for-ai-evals#96](getsentry/sentry-for-ai-evals#96)).
A merge base whose deploy was built before #20225, or that has no
production deploy, still redirects, so the base reads the live docs and
the plan job warns with how many of `master`'s commits the head is
missing. Updating the branch reruns the evals.
- `labels.yml` gets `ai-evals:llms_txt:sonnet-5.5:x3`, which runs the
test that starts from llms.txt three times per side on Sonnet 5.5, for
PRs that change llms.txt. That test gives the agent no Sentry skills or
MCP, only the docs
([sentry-for-ai-evals#92](getsentry/sentry-for-ai-evals#92),
[#89](getsentry/sentry-for-ai-evals#89)). Unlike
sentry-for-ai there's no `ai-evals:products` label, since it starts 8
jobs on every push. The label sync deletes any label missing from that
file, so it also adds `Good First Issue` and `js-v11-docs`, which exist
on the repo but not in the file.
- Fork PRs get no secrets, so the workflow skips them.

Tested through
[#20217](#20217), #20116's
diff on top of this branch: `ai-evals:llms_txt:opus-5.5` completed with
the head reading the preview's llms.txt, and `ai-evals:llms_txt:x3`
passed 6 of 6 on each side. Then on this PR, rebased on #20225:
`ai-evals:llms_txt:sonnet-5.5:x3` passed 3 of 3 on each side, with the
base reading the merge base's production deploy and the jobs named `test
1` to `test 3`. The fallback ran locally: #20116's merge base, built
before #20225, gets the live docs and the warning (102 commits behind).

Fixes
[VDY-307](https://linear.app/getsentry/issue/VDY-307/onboarding-evals-ai-evals-label-workflow-in-sentry-docs)

## IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.

- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.

Thanks in advance for your help!

## PRE-MERGE CHECKLIST

_Make sure you've checked the following before merging your changes:_

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

2 active deployments
Preview – sentry-docs — db9ca68e Deployed Oct 23, 2026 by vercel[bot]
Preview – develop-docs — db9ca68e Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Needs Triage The PR description is missing valid priority information

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant