-
Notifications
You must be signed in to change notification settings - Fork 74
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: add batch job timeout duration #2824
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @agatha197 and the rest of your teammates on Graphite |
e5bf63c
to
f2c5d1b
Compare
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.26% | 386/7332 |
🔴 | Branches | 4.52% | 229/5062 |
🔴 | Functions | 3.14% | 76/2418 |
🔴 | Lines | 5.17% | 371/7171 |
Test suite run success
109 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from b082f8a
f2c5d1b
to
2fded01
Compare
8facaeb
to
8c3cb7d
Compare
70e68bf
to
5214926
Compare
b4b6bbd
to
e67a827
Compare
e67a827
to
4b90096
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.
I push a commit to apply related to my reviews. LGTM, now!
Merge activity
|
resolves #2812 related PR: lablup/backend.ai#3066 Add batch job timeout duration to the session launcher. User can select the time unit and input the timeout duration. **How to test:** > test endpoint: 10.82.230.49 1. Modify the support version of `batch-timeout` in `backend.ai-client-esm` for testing. (24.09) 2. Set session type to the batch. 3. Enable `Batch Job Timeout Duration` - eg start command: sleep 20 && echo \"hello world\" timeout: 3s **Checklist:** - [ ] Batch job timeout value remains after refreshing - [ ] The 'Confirm and Launch' page has the same value if you set the 'Batch job timeout duration'. - [ ] (API is not implemented yet) Create a new session with batch session timeout option. **Screentshots:** ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/5adbf314-e521-4410-bed8-075124fad6c8.png) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/c9dd0f12-695e-4960-ba98-9b6371c6a47a.png) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/4075faa3-a61e-4ce3-833c-c858e6d6b75a.png) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/600fd8cb-0040-43e4-b8fe-307730d292c0.png) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/55116de0-e7eb-4ef7-8077-abde8ea73b3b.png) **Checklist:** - [ ] Documentation - [ ] Test case: Verify timeout can be enabled/disabled - [ ] Test case: Confirm time picker accepts valid duration formats - [ ] Test case: Check default value initialization - [ ] Test case: Validate timeout enforcement on batch sessions
97b638e
to
b082f8a
Compare
resolves #2812
related PR: lablup/backend.ai#3066
Add batch job timeout duration to the session launcher.
User can select the time unit and input the timeout duration.
How to test:
batch-timeout
inbackend.ai-client-esm
for testing. (24.09)Batch Job Timeout Duration
start command: sleep 20 && echo "hello world"
timeout: 3s
Checklist:
Screentshots:
Checklist: