-
Notifications
You must be signed in to change notification settings - Fork 354
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: historical allocations not showing task allocation workspace #9496
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9496 +/- ##
=======================================
Coverage 49.00% 49.00%
=======================================
Files 1235 1235
Lines 160191 160208 +17
Branches 2781 2781
=======================================
+ Hits 78494 78515 +21
+ Misses 81522 81518 -4
Partials 175 175
Flags with carried forward coverage won't be shown. Click here to find out more.
|
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Make sure e2e_cpu tests pass.
e2e_cpu does not pass.
@@ -48,15 +48,20 @@ def test_notebook_capture() -> None: | |||
|
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 like on line 36, int(row["experiment_id"]
is resulting an error in the test because it's now sending an empty string instead of 0.
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.
good catch! I think the line 36 one is actually ok because we don't have any tasks that cause that case to come up. The failure was in test_tensorboard_experiment_capture
. In any case, I fixed both instances!
Edit: my bad, I stand corrected! circleCI showed both erroring out, but my local test was only failing the tensorboard test.
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!
Ticket
DET-10323
Description
Downloading historical allocations resulted in the workspace field being empty for tasks. This is because we queried for experiment workspace, but not task workspace. This PR fixes that issue, and adds test cases to verify the outputted CSV contains the tasks's workspace. This also fixes a broken test (
test_notebook_capture
).Test Plan
Make sure e2e_cpu tests pass.
To manually test, run some tasks (notebooks, commands, or tensorboards), then sign in as admin, go to the clusters page, and the historical usage tab. Download the CSV, making sure to select allocations and not workspaces, and verify that the workspace name field is populated for the tasks you ran.
Checklist
docs/release-notes/
.See Release Note for details.