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

Skip to content

Conversation

@shuyangli
Copy link
Member

@shuyangli shuyangli commented Dec 19, 2025

  • Add new GET /internal/feedback/demonstration/{inference_id} endpoint
  • Add get_demonstration_feedback route handler and core business logic
  • Add unit tests using mock FeedbackQueries trait
  • Add e2e tests for the new endpoint
  • Update TensorZero TypeScript client to use new endpoint
  • Delete DatabaseClient from tensorzero-node (no longer needed)
  • Delete database.rs from tensorzero-node
  • Update UI routes to use new getDemonstrationFeedback method

Important

Adds a new endpoint for querying demonstration feedback by inference ID, updates client and UI, and removes deprecated database client code.

  • Behavior:
    • Adds GET /internal/feedback/demonstration/{inference_id} endpoint in internal.rs.
    • Implements get_demonstration_feedback_handler and get_demonstration_feedback in get_demonstration_feedback.rs.
    • Handles pagination with before and after parameters, rejecting both simultaneously.
  • Testing:
    • Adds unit tests in get_demonstration_feedback.rs using MockFeedbackQueries.
    • Adds e2e tests in feedback.rs for the new endpoint.
  • Client Updates:
    • Updates TensorZeroClient in tensorzero.ts to use the new endpoint.
    • Removes DatabaseClient and related code from tensorzero-node.
  • Misc:
    • Updates UI routes in route.ts and route.tsx to use getDemonstrationFeedback method.

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

@shuyangli shuyangli force-pushed the sl/migrate-query-demonstration-feedback-by-inference-id branch from aabb024 to b5d6cf4 Compare December 19, 2025 23:16
@shuyangli shuyangli marked this pull request as ready for review December 19, 2025 23:32
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/20385331883

@shuyangli shuyangli force-pushed the sl/migrate-query-demonstration-feedback-by-inference-id branch from b5d6cf4 to 71499b5 Compare December 19, 2025 23:36
@shuyangli shuyangli mentioned this pull request Dec 19, 2025
52 tasks
@GabrielBianconi GabrielBianconi added this pull request to the merge queue Dec 19, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 20, 2025
- Add new GET /internal/feedback/demonstration/{inference_id} endpoint
- Add get_demonstration_feedback route handler and core business logic
- Add unit tests using mock FeedbackQueries trait
- Add e2e tests for the new endpoint
- Update TensorZero TypeScript client to use new endpoint
- Delete DatabaseClient from tensorzero-node (no longer needed)
- Delete database.rs from tensorzero-node
- Update UI routes to use new getDemonstrationFeedback method
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 20, 2025
- Add new GET /internal/feedback/demonstration/{inference_id} endpoint
- Add get_demonstration_feedback route handler and core business logic
- Add unit tests using mock FeedbackQueries trait
- Add e2e tests for the new endpoint
- Update TensorZero TypeScript client to use new endpoint
- Delete DatabaseClient from tensorzero-node (no longer needed)
- Delete database.rs from tensorzero-node
- Update UI routes to use new getDemonstrationFeedback method
@shuyangli shuyangli force-pushed the sl/migrate-query-demonstration-feedback-by-inference-id branch from 71499b5 to 08a8604 Compare December 20, 2025 02:32
@shuyangli
Copy link
Member Author

Fixed a request validation test failure

@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/20388034478

@shuyangli shuyangli added this pull request to the merge queue Dec 20, 2025
Merged via the queue into main with commit d764384 Dec 21, 2025
61 checks passed
@shuyangli shuyangli deleted the sl/migrate-query-demonstration-feedback-by-inference-id branch December 21, 2025 00:17
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