Skip to content

Conversation

@shuyangli
Copy link
Member

@shuyangli shuyangli commented Dec 17, 2025

  • Added a new API endpoint /internal/evaluations/run-infos that retrieves information about evaluation runs by their IDs

Important

Add /internal/evaluations/run-infos endpoint to retrieve evaluation run information by IDs, with backend and client-side integration.

  • API Changes:
    • Added /internal/evaluations/run-infos endpoint in internal.rs to retrieve evaluation run information by IDs.
    • Implemented get_evaluation_run_infos_handler in get_run_infos.rs.
  • Database:
    • Added get_evaluation_run_infos method in evaluation_queries.rs to query ClickHouse for evaluation run info by IDs.
    • Defined EvaluationRunInfoByIdRow struct in evaluation_queries.rs for deserialization.
  • Client:
    • Added getEvaluationRunInfos method in tensorzero.ts to call the new API endpoint.
    • Updated UI components in route.tsx and evaluations.server.ts to use the new backend API.
  • Tests:
    • Added unit tests for get_evaluation_run_infos in get_run_infos.rs.
    • Added E2E tests for the new endpoint in evaluations.rs and evaluation_queries.rs.

This description was created by Ellipsis for 89dd786. You can customize this summary. It will automatically update as commits are pushed.

@shuyangli shuyangli force-pushed the sl/migrate-get-evaluation-run-infos branch 5 times, most recently from 0ee0814 to 7dc5cd2 Compare December 17, 2025 21:48
@shuyangli shuyangli marked this pull request as ready for review December 17, 2025 21:49
@shuyangli shuyangli mentioned this pull request Dec 17, 2025
52 tasks
@shuyangli shuyangli force-pushed the sl/migrate-get-evaluation-run-infos branch from 7dc5cd2 to cc7fc00 Compare December 17, 2025 21:52
- Add EvaluationRunInfoByIdRow struct and get_evaluation_run_infos method to EvaluationQueries trait
- Implement ClickHouse query for evaluation run infos
- Add route handler at POST /internal/evaluations/run-infos
- Add e2e tests for the endpoint
- Update TensorZeroClient with getEvaluationRunInfos method
- Update evaluations.server.ts to use TensorZeroClient instead of direct ClickHouse query

wip: Fix bindings

Port getEvaluationRunInfos to backend

- Add EvaluationRunInfoByIdRow struct and get_evaluation_run_infos method to EvaluationQueries trait
- Implement ClickHouse query for evaluation run infos
- Add route handler at GET /internal/evaluations/run-infos with query parameters
- Add e2e tests for the endpoint
- Update TensorZeroClient with getEvaluationRunInfos method
- Update evaluations.server.ts to use TensorZeroClient instead of direct ClickHouse query

Port getEvaluationRunInfos to backend

- Add EvaluationRunInfoByIdRow struct and get_evaluation_run_infos method to EvaluationQueries trait
- Implement ClickHouse query for evaluation run infos
- Add route handler at GET /internal/evaluations/run-infos with query parameters
- Add e2e tests for the endpoint
- Add e2e database tests for evaluation_queries
- Update TensorZeroClient with getEvaluationRunInfos method
- Update evaluations.server.ts to use TensorZeroClient instead of direct ClickHouse query
@shuyangli shuyangli force-pushed the sl/migrate-get-evaluation-run-infos branch from cc7fc00 to 89dd786 Compare December 17, 2025 22:31
@shuyangli
Copy link
Member Author

/merge-queue

@github-actions
Copy link
Contributor

🚀 Merge queue workflow triggered!

View the run: https://github.com/tensorzero/tensorzero/actions/runs/20319335002

@GabrielBianconi GabrielBianconi added this pull request to the merge queue Dec 17, 2025
Merged via the queue into main with commit 4bbdd01 Dec 18, 2025
61 checks passed
@GabrielBianconi GabrielBianconi deleted the sl/migrate-get-evaluation-run-infos branch December 18, 2025 00:28
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.

3 participants