Skip to content
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

Merged
merged 4 commits into from
Aug 28, 2024
Merged

Conversation

AmanuelAaron
Copy link
Contributor

@AmanuelAaron AmanuelAaron commented Aug 28, 2024

Ticket

ET-748

Description

Add sorting for arbitrary metadata

Test Plan

Go to run table and select a metadata column and sort

Checklist

  • Changes have been manually QA'd
  • New features have been approved by the corresponding PM
  • User-facing API changes have the "User-facing API Change" label
  • Release notes have been added as a separate file under docs/release-notes/
    See Release Note for details.
  • Licenses have been included for new code which was copied and/or modified from any external code

@cla-bot cla-bot bot added the cla-signed label Aug 28, 2024
Copy link

netlify bot commented Aug 28, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 7691de3
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/66cf719ac462750008d598df

Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.75%. Comparing base (a773551) to head (7691de3).
Report is 3 commits behind head on main.

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              
Flag Coverage Δ
backend 45.21% <100.00%> (+<0.01%) ⬆️
harness 72.62% <ø> (ø)
web 54.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
master/internal/api_runs.go 66.18% <100.00%> (+0.45%) ⬆️

... and 5 files with indirect coverage changes

@AmanuelAaron AmanuelAaron marked this pull request as ready for review August 28, 2024 15:37
@AmanuelAaron AmanuelAaron requested a review from a team as a code owner August 28, 2024 15:37

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)
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@AmanuelAaron AmanuelAaron merged commit 0ef81aa into main Aug 28, 2024
82 of 95 checks passed
@AmanuelAaron AmanuelAaron deleted the aaron_amanuel/metadata-sorting branch August 28, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants