Migrate queryLatestFeedbackIdByMetric to gateway #5145
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/internal/feedback/latest-id-by-metric/{target_id}that returns the most recent feedback ID for each metric associated with a target (inference or episode)Important
Adds a new internal API endpoint to fetch the latest feedback ID by metric for a given target, with corresponding database query, handler, client updates, and tests.
/internal/feedback/{target_id}/latest-id-by-metrictointernal.rsfor fetching latest feedback ID by metric.build_latest_feedback_id_by_metric_query()infeedback.rsto construct SQL query.query_latest_feedback_id_by_metric()toFeedbackQueriestrait infeedback.rs.get_latest_feedback_id_by_metric_handler()inlatest_feedback_by_metric.rs.get_latest_feedback_id_by_metric()inlatest_feedback_by_metric.rs.TensorZeroClientintensorzero.tsto includegetLatestFeedbackIdByMetric().latest_feedback_by_metric.rs.feedback.rsto verify endpoint behavior.queryLatestFeedbackIdByMetricfromfeedback.tsand updates related imports.This description was created by
for 82fc866. You can customize this summary. It will automatically update as commits are pushed.