Skip to content

feat(evals): add regression eval for edge function console output (mcp#375) - #271

Open
Rjabov wants to merge 1 commit into
supabase:mainfrom
Rjabov:eval/edge-function-console-output
Open

feat(evals): add regression eval for edge function console output (mcp#375)#271
Rjabov wants to merge 1 commit into
supabase:mainfrom
Rjabov:eval/edge-function-console-output

Conversation

@Rjabov

@Rjabov Rjabov commented Sep 7, 2026

Copy link
Copy Markdown

Adds a regression eval for supabase/mcp#375 (fix in supabase/mcp#376). @mattrossman asked for one there before the fix lands.

An order-sync edge function returns 200 on every call but logs a missing warehouse SKU with console.error, and the user asks for the exact error. The request envelopes in function_edge_logs show nothing wrong; the error text is only in function_logs.event_message, which the current query_logs hint doesn't mention. The scorer is deterministic: the answer has to quote the SKU and name one of the affected orders.

Checked with the published mcp-server-supabase 0.12.0 over stdio against platform-lite: get_logs is hidden, the hint names neither function_logs nor event_message, and the error text is only reachable through event_message. eval:dry, biome and typecheck pass. I haven't run an agent on it (no API credits), so could someone add run-evals-changed? Allow edits by maintainers is on.

@Rjabov
Rjabov requested a review from a team September 7, 2026 21:38
@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

@Rjabov is attempting to deploy a commit to the Supabase Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant