Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Migrate getWorkflowEvaluationRunEpisodesByTaskName and countWorkflowE…#5287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
shuyangli wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromsl/migrate-workflow-eval-apis

Conversation

@shuyangli
Copy link
Member

…valuationRunEpisodesByTaskName to backend

This moves the workflow evaluation episodes by task name queries from the UI (direct ClickHouse calls) to the backend (Rust API endpoints).

Backend changes:

  • Add GroupedWorkflowEvaluationRunEpisodeWithFeedbackRow type to workflow_evaluation_queries.rs
  • Add list_workflow_evaluation_run_episodes_by_task_name and count_workflow_evaluation_run_episode_groups_by_task_name trait methods
  • Implement ClickHouse queries with complex CTEs for grouping by task_name
  • Add unit tests using MockWorkflowEvaluationQueries
  • Add e2e database tests in tests/e2e/db/workflow_evaluation_queries.rs
  • Add route handlers at /internal/workflow-evaluations/episodes-by-task-name and /internal/workflow-evaluations/episodes-by-task-name/count
  • Add e2e endpoint tests (require gateway restart)

Frontend changes:

  • Generate and export TypeScript bindings for new types
  • Add listWorkflowEvaluationRunEpisodesByTaskName and countWorkflowEvaluationRunEpisodeGroupsByTaskName methods to TensorZeroClient
  • Update route.tsx to use new client methods instead of direct ClickHouse calls
  • Delete unused getWorkflowEvaluationRunEpisodesByTaskName and countWorkflowEvaluationRunEpisodesByTaskName functions from workflow_evaluations.server.ts
  • Delete GroupedWorkflowEvaluationRunEpisodeWithFeedback Zod schema and type
  • Remove corresponding test for deleted function

…valuationRunEpisodesByTaskName to backendThis moves the workflow evaluation episodes by task name queries from theUI (direct ClickHouse calls) to the backend (Rust API endpoints).Backend changes:- Add GroupedWorkflowEvaluationRunEpisodeWithFeedbackRow type to workflow_evaluation_queries.rs- Add list_workflow_evaluation_run_episodes_by_task_name and  count_workflow_evaluation_run_episode_groups_by_task_name trait methods- Implement ClickHouse queries with complex CTEs for grouping by task_name- Add unit tests using MockWorkflowEvaluationQueries- Add e2e database tests in tests/e2e/db/workflow_evaluation_queries.rs- Add route handlers at /internal/workflow-evaluations/episodes-by-task-name  and /internal/workflow-evaluations/episodes-by-task-name/count- Add e2e endpoint tests (require gateway restart)Frontend changes:- Generate and export TypeScript bindings for new types- Add listWorkflowEvaluationRunEpisodesByTaskName and  countWorkflowEvaluationRunEpisodeGroupsByTaskName methods to TensorZeroClient- Update route.tsx to use new client methods instead of direct ClickHouse calls- Delete unused getWorkflowEvaluationRunEpisodesByTaskName and  countWorkflowEvaluationRunEpisodesByTaskName functions from workflow_evaluations.server.ts- Delete GroupedWorkflowEvaluationRunEpisodeWithFeedback Zod schema and type- Remove corresponding test for deleted function
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@shuyangli

[8]ページ先頭

©2009-2025 Movatter.jp