Repository navigation
feat: simplify MCP eval development and sharing - #514
mattrossman merged 24 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
barryroodt
left a comment
There was a problem hiding this comment.
Thanks, looking good! The repo path works well as the override and it'll carry over nicely to the CLI and docs repos.
Nothing blocking from me, I've left a few smaller comments inline.
59b2a12 to
ebcef77
Compare
## Problem PRs here inherit the org template from `supabase/.github`, and nobody fills it in. Recent evals PRs (#463, #466, #506, #514, #535) all go Problem, then Changes or Fix, then Verification with the exact `pnpm eval` command and a pass count. There's also nowhere that tells authors how to show CI results, which changed when #535 moved results to Braintrust only. ## Changes Adds `.github/PULL_REQUEST_TEMPLATE.md` with the shape those PRs already use: - **Problem** and **Changes** replace the org template's four prompts. - **How to Review** is optional, for multi-file PRs. The eval reading path sits in a comment and links to the reviewer checklist in `CONTRIBUTING.md` so it doesn't get copied. - **Verification** asks for the exact commands and before/after pass counts. The eval checklist matches `CONTRIBUTING.md` after #535: `run-evals-changed` or Refresh eval results, then link the Braintrust run. - A closing comment prompts for the Linear issue. Small PRs can still replace the whole thing with a couple of sentences. ## Verification One new file, `.github/PULL_REQUEST_TEMPLATE.md`. Both `CONTRIBUTING.md` anchors it links to (`#reviewing-an-eval`, `#submitting-evals-for-review`) exist on `main`. Closes AI-1130
Problem
Teams need a way to test MCP changes with evals locally and verify findings in CI. So far the local MCP override had no documented development workflow, and sharing unpublished changes for PR or CI testing required publishing a preview package and wiring it into an eval experiment.
Changes
This updates the contributing guide to explain how to use a local checkout and share a revision and tweaks the resolution logic. See Testing MCP Changes.
As we look towards a future where you can plug in different revisions of the MCP server, CLI, and docs source code, I've changed the local override to accept a path to the full MCP repo instead of a package directory. This keeps package layout out of contributor config and lets future CLI and docs repo overrides follow the same convention.
For sharing and CI, experiments can now target an MCP branch, tag, or commit directly. You can update this broadly across experiments using the default runtime in
presets.tsThe runner builds each revision once per process, mounts the checkout for container agents, and records the resolved SHA in results and Braintrust. We can explore optimizations to re-use checkouts across Sandboxes in follow-ups.
Verification
I tested roundtrips of eval runs with the new env var locally, and CI runs with
revisionconfig for a a commit SHA pin and a branch reference with a canary marker in the MCPlist_projectssource. Both resolved, and the SHA trace and branch trace show that build’s marker in the actuallist_projectsresponse.Closes AI-1477