Repository navigation
fix(ci): prevent agent filenames from failing eval refreshes - #302
Merged
mattrossman merged 12 commits intoSep 16, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
mattrossman
marked this pull request as ready for review
September 16, 2026 19:39
gregnr
approved these changes
Sep 16, 2026
mattrossman
added a commit
that referenced
this pull request
Sep 21, 2026
Records [Vercel Sandbox's metered usage](https://vercel.com/docs/sandbox/pricing) on eval results so we can estimate total sandbox cost per experiment. See fields mirrored from [`sandbox.stop()` return type](https://vercel.com/docs/sandbox/sdk-reference#sandbox.stop). ```jsonc /* eval-results.json */ { // ... "agentRunDurationMs": 12345, "sandboxUsage": { "activeCpuDurationMs": 490837, "duration": 308496, "memory": 8192, "networkTransfer": { "ingress": 2728707529, "egress": 4804954 } }, // ... } ``` I renamed our `durationMs` -> `agentRunDurationMs` to disambiguate from the new sandbox duration fields. ## Notes In the previous PR #302 I kept all the files from the Sandbox tarred together to keep the agent-authored ones contained in case of corrupt filenames. This PR moves `result.json` out from that so we can inject the Sandbox usage stats w/o needing to untar / retar the results file. The runner tests also cover archived agent-authored filenames and incomplete `.partial` results. ## How to review I sanity checked one benchmark eval via the [refresh workflow](https://github.com/supabase/evals/actions/runs/35152800137). Take a look at the [sandbox usage snapshot](https://github.com/supabase/evals/blob/d9bc1c7447c01b7f015a391a86d0688a43ea8d3d/apps/web/src/data/eval-results.json#L31147-L31155) to vet the new fields. Closes AI-1222 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Raw eval results now stay tarred through artifact upload, so agent-written filenames never reach
upload-artifact. A"in one workspace filename previously took down a refresh where all 690 runs had passed (run).Downloads use a
.partialfilename until complete, so interrupted transfers cannot leave truncated archives forpublish-resultsto extract.Verified a
"workspace filename and a truncated.partialdon't break the workflow (run, snapshot f2fe4a7).Closes AI-1220