Repository navigation
perf(evals): Upload Sentry Evals results in concurrent batches - #5336
Open
sentry-junior[bot] wants to merge 1 commit into
Open
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
report.mjs posted one scenario per request. Send up to 25 scenarios, and at most 1 MB, per request, with four requests in flight. A failed or partly accepted batch still fails the step, and no new batch starts after a failure. Co-Authored-By: Thomas Jiang <20501235+thomasjiangcy@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
The "Report evals to Sentry Evals" step is slow because
report.mjsposts one scenario perPOST /api/runs/{id}/casesrequest, one after another, so the step's time grows with the number of scenarios. The endpoint already takes an array of scenarios, so the uploader now sends them in batches:Failure behavior stays as strict as before:
reportedortotalcount does not match the batch size fails the step. The server ignores names it does not know, so the count check catches a dropped scenario.via @thomasjiangcy.
--
View Session [Sentry]