-
Notifications
You must be signed in to change notification settings - Fork 362
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: wrong notebook idleness payload [MD-447] #9571
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9571 +/- ##
=======================================
Coverage 49.80% 49.80%
=======================================
Files 1247 1247
Lines 162243 162243
Branches 2888 2888
=======================================
Hits 80805 80805
Misses 81266 81266
Partials 172 172
Flags with carried forward coverage won't be shown. Click here to find out more. |
✅ Deploy Preview for determined-ui canceled.
|
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.
Work as expected
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
(cherry picked from commit e5c5768)
Ticket
MD-447
Description
Notebooks were not terminated due to idleness because the master would parse the payload as having
idle: false
regardless of what thecheck_idle.py
was trying to report.I suspect at some point in refactoring the
Sessions
and related code, thisPUT
switched from json payload to body, and master just could not parse out the boolean out of it.Test Plan
det notebook start --config idle_timeout=5m
notebook_idle_type
value.Checklist
docs/release-notes/
See Release Note for details.