Skip to content

chore: refresh eval results - #215

Merged
mattrossman merged 1 commit into
mainfrom
chore/refresh-eval-results-main-schedule
Aug 20, 2026
Merged

mattrossman merged 1 commit into
mainfrom
chore/refresh-eval-results-main-schedule

Conversation

@supabase-evals-releaser

Copy link
Copy Markdown
Contributor

Refreshes apps/web/src/data/eval-results.json from the latest automated eval run.

@supabase-evals-releaser
supabase-evals-releaser Bot requested a review from a team August 19, 2026 06:39
@vercel

vercel Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
evals Ready Ready Preview Aug 20, 2026 6:42am

Request Review

@supabase-evals-releaser
supabase-evals-releaser Bot force-pushed the chore/refresh-eval-results-main-schedule branch from a512242 to 2acd26e Compare August 20, 2026 06:42
mattrossman added a commit that referenced this pull request Aug 20, 2026
## Problem

Sometimes (~15% of the time) nightly regression refreshes fail because
of our required reviewers rule, leaving stale data in Hex.

For example last night's PR is stuck unmerged:
#215

You can see the corresponding failing step here:
https://github.com/supabase/evals/actions/runs/32223257049/job/95980723901#step:13:1

<img width="822" height="168" alt="CleanShot 2026-08-19 at 14 38 41@2x"
src="https://github.com/user-attachments/assets/6bfb168a-900e-4eef-8b34-22ad9566bfa0"
/>

## Fix

The bot is already on our bypass list, however it needs to opt-in with
`--admin` which is similar to an AI team member clicking the checkbox on
PRs:

<img width="846" height="130" alt="CleanShot 2026-08-19 at 14 39 03@2x"
src="https://github.com/user-attachments/assets/9adc4769-ad82-4d24-b44f-ff21f6874513"
/>

Oddly, `gh` will happily allow the auto merge if the merge status is
UNKNOWN which is why this wasn't noticed earlier. The flakiness is a
race condition if `gh` has finished determining that the merge status is
[blocked](https://github.com/cli/cli/blob/95d3a1db45abd547c2dafbee4f8a68ca53fb9c80/pkg/cmd/pr/merge/merge.go#L716-L733)
before we attempt to auto merge. The `--admin` flag makes the bypass
consistent.

Possibly related [issue](cli/cli#13388)
reporting the merge status quirk.

## How to review

We can't easily test this manually outside of the CI refresh path. So
you'll have to just review based on the evidence [logged in our failing
run](https://github.com/supabase/evals/actions/runs/32223257049/job/95980723901#step:13:1),
and `gh` docs: https://cli.github.com/manual/gh_pr_merge

After merge, we should monitor the nightly refreshes and confirm they
merge uninhibited.

## Note for the future

If we decide to add any additional required checks on PRs, we should add
those on a separate ruleset, that bot's bypass ability only applies to
the required reviewers check.

To prevent this footgun, I've renamed the ruleset to `main: review
required` so its scope is clearer.
@mattrossman

Copy link
Copy Markdown
Collaborator

(unrelated, noticed possible bug in workflow because the PR description says this updates eval-results.json but it actually touched only the regression results)

@mattrossman
mattrossman merged commit 6a96135 into main Aug 20, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2acd26ee Deployed Aug 20, 2026 by vercel[bot]
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