-
Notifications
You must be signed in to change notification settings - Fork 356
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: sorting by arbitrary metadata #9874
Conversation
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9874 +/- ##
==========================================
- Coverage 54.75% 54.75% -0.01%
==========================================
Files 1261 1261
Lines 156346 156356 +10
Branches 3598 3599 +1
==========================================
+ Hits 85608 85613 +5
- Misses 70607 70612 +5
Partials 131 131
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
||
require.NoError(t, err) | ||
require.Equal(t, int32(exp2.ID), resp.Runs[0].Experiment.Id) | ||
require.Equal(t, int32(exp.ID), resp.Runs[1].Experiment.Id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this test would probably benefit from parameterization / "table-driven" design. But, it does what we need it to, and I've run it a few times locally with different inputs/expectations, and it's good as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Ticket
ET-748
Description
Add sorting for arbitrary metadata
Test Plan
Go to run table and select a metadata column and sort
Checklist
docs/release-notes/
See Release Note for details.