-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Configurable Inference timeout during Query time #131551
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
Merged
Samiul-TheSoccerFan
merged 33 commits into
elastic:main
from
Samiul-TheSoccerFan:inference-timeout-as-cluster-settings
Jul 28, 2025
+348
−38
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7b1f1da
introducing timeout as cluster settings
Samiul-TheSoccerFan 95066c7
forcing null to be send instead of default value
Samiul-TheSoccerFan e60c409
applying timeout in infer level
Samiul-TheSoccerFan 846f6c2
removing unused variable
Samiul-TheSoccerFan 74dcc03
adding unit tests for cluster timeout values
Samiul-TheSoccerFan 5be1e11
fix linting issues
Samiul-TheSoccerFan 29d5b7c
Update docs/changelog/131551.yaml
Samiul-TheSoccerFan d7b8116
update changelog
Samiul-TheSoccerFan bc67010
fix ml core SparseVectorQueryBuilder unit test
Samiul-TheSoccerFan 2fe3f60
adding comment and Nullable annotation
Samiul-TheSoccerFan 6b7a7a5
adding restriction to make sure the cluster setting is only read duri…
Samiul-TheSoccerFan c857710
Refactored timeout logic per input type and added unit tests
Samiul-TheSoccerFan 013faf4
Merge branch 'main' into inference-timeout-as-cluster-settings
elasticmachine 7f51a91
fix unit test failure due to missing inferenceStat varaible
Samiul-TheSoccerFan fdbb81f
update comment for timeout
Samiul-TheSoccerFan 4b6cfac
remove the timeout util file
Samiul-TheSoccerFan e5e9c9a
resolve timeout from Service Utils and moved unit tests to service util
Samiul-TheSoccerFan dff7190
update comment for timeout
Samiul-TheSoccerFan 62daced
removed duplicate setting
Samiul-TheSoccerFan f11f52a
update infernece plugin and utils streamline settings registration
Samiul-TheSoccerFan 9b030ac
using mockClusterService in all services
Samiul-TheSoccerFan 154aff6
adding min value
Samiul-TheSoccerFan 2275b99
Merge branch 'main' into inference-timeout-as-cluster-settings
elasticmachine b9a907b
Adding tests for provided timeout to work as expected
Samiul-TheSoccerFan 43eaf0d
simplify inference timeout settings
Samiul-TheSoccerFan 0c80477
[CI] Auto commit changes from spotless
739b4fa
added better async handling in the test and simplify response
Samiul-TheSoccerFan e3d029a
revert back ingest timeout and simplify unit tests
Samiul-TheSoccerFan 6c7b1fa
remove redundant code
Samiul-TheSoccerFan e54c7f6
Merge branch 'main' into inference-timeout-as-cluster-settings
elasticmachine 1bb407c
fix unnecessary instance creation
Samiul-TheSoccerFan 4f3d3ae
Merge branch 'main' into inference-timeout-as-cluster-settings
elasticmachine aa1240e
Merge branch 'main' into inference-timeout-as-cluster-settings
elasticmachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 131551 | ||
summary: Added support to configure query timeout for inference | ||
area: Inference | ||
type: enhancement | ||
issues: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.