Skip to content

fix: reject empty results arrays on POST /api/runs - #6

Open
VedantMadane wants to merge 1 commit into
AgentPostmortem:mainfrom
VedantMadane:fix/issue-3
Open

fix: reject empty results arrays on POST /api/runs#6
VedantMadane wants to merge 1 commit into
AgentPostmortem:mainfrom
VedantMadane:fix/issue-3

Conversation

@VedantMadane

Copy link
Copy Markdown

Summary

fix: reject empty results arrays on POST /api/runs

Changes

  • Empty results[] stored total:0 with shouldFail false and could pass CI gates.
  • Return HTTP 400 when results is an empty array.

Fixes #3

- Empty results[] stored total:0 with shouldFail false and could pass CI gates.
- Return HTTP 400 when results is an empty array.

Fixes AgentPostmortem#3

Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
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.

Reject empty result arrays so an empty eval run cannot pass CI

1 participant