Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shuyangli
Copy link
Member

@shuyangli shuyangli commented Dec 16, 2025

  • Added a new API endpoint /internal/workflow-evaluations/projects/count that returns the count of workflow evaluation projects

Important

Add API endpoint to count workflow evaluation projects and integrate it into the UI and database queries.

  • API:
    • Added /internal/workflow-evaluations/projects/count endpoint in internal.rs to return workflow evaluation project count.
  • Database:
    • Implemented count_workflow_evaluation_projects() in workflow_evaluation_queries.rs to query distinct project names.
    • Updated WorkflowEvaluationQueries trait in workflow_evaluation_queries.rs to include count_workflow_evaluation_projects().
  • Handlers:
    • Added get_workflow_evaluation_project_count_handler() in get_project_count.rs to handle new endpoint.
  • UI:
    • Updated index.tsx and route.tsx to use countWorkflowEvaluationProjects() from tensorzero.ts.
  • Tests:
    • Added E2E tests in workflow_evaluation_queries.rs and workflow_evaluations.rs for project count functionality.
    • Updated unit tests in workflow_evaluations.test.ts to cover new API behavior.

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

@shuyangli shuyangli marked this pull request as ready for review December 17, 2025 03:22
@shuyangli shuyangli requested a review from virajmehta December 17, 2025 03:22
@shuyangli shuyangli mentioned this pull request Dec 17, 2025
52 tasks
virajmehta
virajmehta previously approved these changes Dec 17, 2025
@virajmehta virajmehta added this pull request to the merge queue Dec 17, 2025
@shuyangli shuyangli removed this pull request from the merge queue due to a manual request Dec 17, 2025
@shuyangli shuyangli force-pushed the sl/migrate-count-workflow-evaluation-projects branch from b8d158f to a74b43a Compare December 17, 2025 03:46
@shuyangli shuyangli enabled auto-merge December 17, 2025 03:46
virajmehta
virajmehta previously approved these changes Dec 17, 2025
@shuyangli shuyangli added this pull request to the merge queue Dec 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 17, 2025
@shuyangli shuyangli force-pushed the sl/migrate-count-workflow-evaluation-projects branch from a74b43a to 54b8421 Compare December 17, 2025 15:41
virajmehta
virajmehta previously approved these changes Dec 17, 2025
@virajmehta virajmehta added this pull request to the merge queue Dec 17, 2025
@shuyangli shuyangli removed this pull request from the merge queue due to a manual request Dec 17, 2025
@shuyangli shuyangli force-pushed the sl/migrate-count-workflow-evaluation-projects branch from 54b8421 to b80bfe9 Compare December 17, 2025 16:22
@shuyangli shuyangli added this pull request to the merge queue Dec 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 17, 2025
@shuyangli shuyangli added this pull request to the merge queue Dec 17, 2025
Merged via the queue into main with commit 62ea316 Dec 17, 2025
55 checks passed
@shuyangli shuyangli deleted the sl/migrate-count-workflow-evaluation-projects branch December 17, 2025 18:11
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