-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat(FR-250): show session idle checker in session detail panel #3061
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
627caeb
to
7fcbde4
Compare
7fcbde4
to
6914b8c
Compare
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 4.78% (-0.04% 🔻) |
398/8326 |
🔴 | Branches | 4.13% (-0.05% 🔻) |
239/5791 |
🔴 | Functions | 2.9% (-0.01% 🔻) |
78/2693 |
🔴 | Lines | 4.7% (-0.04% 🔻) |
383/8145 |
Show new covered files 🐣
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🔴 | ... / SessionIdleChecks.tsx |
0% | 0% | 0% | 0% |
🔴 | ... / IdleCheckDescriptionModal.tsx |
0% | 100% | 0% | 0% |
Test suite run success
124 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from 961a221
6914b8c
to
e705eba
Compare
e705eba
to
bea2be7
Compare
bea2be7
to
6a5b89a
Compare
fe213bc
to
298e0a8
Compare
298e0a8
to
a39659c
Compare
4d6726e
to
2855355
Compare
2855355
to
01cff89
Compare
react/src/components/ComputeSessionNodeItems/SessionIdleChecks.tsx
Outdated
Show resolved
Hide resolved
01cff89
to
1c63eb1
Compare
1c63eb1
to
4417ce3
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!
Merge activity
|
resolves #3062 (FR-250) <!-- replace NNN, MMM with the GitHub issue number and the corresponding Jira issue number. --> <!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> >The issues below will be addressed as separate issues. > - Utilization checks should add heterogeneity support, currently only checks for cuda and ipu devices. > - Utilization checks should return the device key as the key of the device metadata. > - The session end time calculated by the idle checker is �returned as remaining (sec) and calculated on the client side, which may cause an error from the actual calculated value. **Changes:** - Provide idle check information in the session details panel. - Fixed `SessionDetailContent` to use fetchKey of `SessionDetailDrawer` as controllableState for refetch session data via session status. - Sends an interval network request to update the information in the idle checker. - Displays an alert at the top of the drawer when the session end time, as calculated by the Idle checker, is imminent. **How to test:** - Enable idle checker on the resource policy page of the control panel. - You can set the session end time through the session lifetime and idle timeout settings in the keypair resource policy. - (Control Panel Only) You can set the session end time throught the Time window setting in the idle checker setting modal. - Shows the idle check column only for "RUNNING" status sessions. Verify that the column is not visible for sessions in other statuses. - No timer is provided for options that are not enabled in idle checker (idle checker has Network Idle Timeout, Utilization checker, and Session lifetime fields). **Checklist:** (if applicable) - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
4417ce3
to
961a221
Compare
resolves #3062 (FR-250)
Changes:
SessionDetailContent
to use fetchKey ofSessionDetailDrawer
as controllableState for refetch session data via session status.How to test:
Checklist: (if applicable)