-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Fixes inference timeout check in File Upload #204722
[ML] Fixes inference timeout check in File Upload #204722
Conversation
PR Project deployment started at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/211 |
Project deployed, see credentials at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/211 |
PR Project deployment started at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/212 |
Project deployed, see credentials at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/212 |
PR Project deployment started at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/213 |
Project deployed, see credentials at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/213 |
Pinging @elastic/ml-ui (:ml) |
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.
Code changes LGTM
Starting backport for target branches: 8.x |
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
Fixes issue in serverless where the inference call to deploy elser times out, which is expected, but returns with an unexpected `500` error code. This causes the UI to stop the upload process. ![image](https://github.com/user-attachments/assets/57b3007f-5a67-4c99-b6bd-360c7b5b788f) This PR increases the timeout length to 10mins and allows for `500` errors just in case. Testing this shows that with the extra timeout time in kibana, another timeout happens at 1min but this returns with an expected `408`. Therefore allowing for `500`s might not be needed, but I don't think there is any harm. (cherry picked from commit 155bdd0)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) # Backport This will backport the following commits from `main` to `8.x`: - [[ML] File upload fixing inference timeout check (#204722)](#204722) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-24T20:23:14Z","message":"[ML] File upload fixing inference timeout check (#204722)\n\nFixes issue in serverless where the inference call to deploy elser times\r\nout, which is expected, but returns with an unexpected `500` error code.\r\nThis causes the UI to stop the upload process.\r\n\r\n![image](https://github.com/user-attachments/assets/57b3007f-5a67-4c99-b6bd-360c7b5b788f)\r\n\r\n\r\nThis PR increases the timeout length to 10mins and allows for `500`\r\nerrors just in case.\r\nTesting this shows that with the extra timeout time in kibana, another\r\ntimeout happens at 1min but this returns with an expected `408`.\r\nTherefore allowing for `500`s might not be needed, but I don't think\r\nthere is any harm.","sha":"155bdd02af3418d4b5d2228ea034d12c9146f934","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:File and Index Data Viz","Feature:File Upload","v9.0.0","backport:version","v8.18.0"],"title":"[ML] File upload fixing inference timeout check","number":204722,"url":"https://github.com/elastic/kibana/pull/204722","mergeCommit":{"message":"[ML] File upload fixing inference timeout check (#204722)\n\nFixes issue in serverless where the inference call to deploy elser times\r\nout, which is expected, but returns with an unexpected `500` error code.\r\nThis causes the UI to stop the upload process.\r\n\r\n![image](https://github.com/user-attachments/assets/57b3007f-5a67-4c99-b6bd-360c7b5b788f)\r\n\r\n\r\nThis PR increases the timeout length to 10mins and allows for `500`\r\nerrors just in case.\r\nTesting this shows that with the extra timeout time in kibana, another\r\ntimeout happens at 1min but this returns with an expected `408`.\r\nTherefore allowing for `500`s might not be needed, but I don't think\r\nthere is any harm.","sha":"155bdd02af3418d4b5d2228ea034d12c9146f934"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204722","number":204722,"mergeCommit":{"message":"[ML] File upload fixing inference timeout check (#204722)\n\nFixes issue in serverless where the inference call to deploy elser times\r\nout, which is expected, but returns with an unexpected `500` error code.\r\nThis causes the UI to stop the upload process.\r\n\r\n![image](https://github.com/user-attachments/assets/57b3007f-5a67-4c99-b6bd-360c7b5b788f)\r\n\r\n\r\nThis PR increases the timeout length to 10mins and allows for `500`\r\nerrors just in case.\r\nTesting this shows that with the extra timeout time in kibana, another\r\ntimeout happens at 1min but this returns with an expected `408`.\r\nTherefore allowing for `500`s might not be needed, but I don't think\r\nthere is any harm.","sha":"155bdd02af3418d4b5d2228ea034d12c9146f934"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <[email protected]>
Fixes issue in serverless where the inference call to deploy elser times out, which is expected, but returns with an unexpected `500` error code. This causes the UI to stop the upload process. ![image](https://github.com/user-attachments/assets/57b3007f-5a67-4c99-b6bd-360c7b5b788f) This PR increases the timeout length to 10mins and allows for `500` errors just in case. Testing this shows that with the extra timeout time in kibana, another timeout happens at 1min but this returns with an expected `408`. Therefore allowing for `500`s might not be needed, but I don't think there is any harm.
Fixes issue in serverless where the inference call to deploy elser times out, which is expected, but returns with an unexpected `500` error code. This causes the UI to stop the upload process. ![image](https://github.com/user-attachments/assets/57b3007f-5a67-4c99-b6bd-360c7b5b788f) This PR increases the timeout length to 10mins and allows for `500` errors just in case. Testing this shows that with the extra timeout time in kibana, another timeout happens at 1min but this returns with an expected `408`. Therefore allowing for `500`s might not be needed, but I don't think there is any harm.
Fixes issue in serverless where the inference call to deploy elser times out, which is expected, but returns with an unexpected
500
error code.This causes the UI to stop the upload process.
This PR increases the timeout length to 10mins and allows for
500
errors just in case.Testing this shows that with the extra timeout time in kibana, another timeout happens at 1min but this returns with an expected
408
. Therefore allowing for500
s might not be needed, but I don't think there is any harm.