-
Notifications
You must be signed in to change notification settings - Fork 365
fix: fix regression caused by join on trials view #9091
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
Conversation
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9091 +/- ##
==========================================
+ Coverage 46.65% 46.67% +0.01%
==========================================
Files 1172 1172
Lines 143621 143617 -4
Branches 2409 2410 +1
==========================================
+ Hits 67013 67028 +15
+ Misses 76403 76384 -19
Partials 205 205
Flags with carried forward coverage won't be shown. Click here to find out more.
|
5ebd618
to
7cb2665
Compare
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.
Looks good to me
I would check the performance test run first and get someone who has more context on this project to make sure it makes sense to have it on both tasks and runs
69a0297
to
d37e55b
Compare
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.
LGTM but I would get @erikwilson to make sure the design look right since I'm not familiar with this feature
@@ -109,4 +109,6 @@ message FlatRun { | |||
bool parent_archived = 18; | |||
// Data related the the experiment associated with this run. | |||
optional FlatRunExperiment experiment = 19; | |||
// Number of days to retain logs for. | |||
optional int32 log_retention_days = 20; |
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.
is this set or returned anywhere?
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.
actually, I don't think so. i'll remove it
5bd9f2f
to
d859408
Compare
d859408
to
15fa3eb
Compare
Description
Join on trials view was causing regression, and slowing down GetExperiments. Fixed it by removing join and adding column to runs table.
Test Plan
Make sure all tests pass
For CLI -
Experiment:
det e set log-retention-days <exp-id> --days 50
det e set log-retention-days <exp-id> --days none --forever
Trial:
det t set log-retention-days <trial-id> --days 50
for any trial in the experiment.det t set log-retention-days <trial-id> --days none --forever
For API -
Check the tasks table in the database to see if the associated trials for the experiment have updated the log retention days to 40.
Check the tasks table in the database to see if the trial has updated the log retention days to -1.
For WebUI -
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket