Skip to content
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 bug in InferenceUpgradeTestCase.getConfigsWithBreakingChangeHandling #118624

Merged

Conversation

original-brownbear
Copy link
Member

We need to load the two fields from the same response. Otherwise, we can have a sort of race where we load "endpoints" from pre-8.15 as empty and then load "models" from a post-8.15 node also empty, resulting in an empty list because we took the wrong info from either response.

closes #118163

We need to load the two fields from the same response. Otherwise, we can have a sort of race
where we load "endpoints" from pre-8.15 as empty and then load "models" from a post-8.15 node
also empty, resulting in an empty list because we took the wrong info from either response.

closes elastic#118163
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :ml Machine learning labels Dec 12, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine elasticsearchmachine added Team:ML Meta label for the ML team v9.0.0 labels Dec 12, 2024
Copy link
Member

@maxhniebergall maxhniebergall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks so much for your help. I'll make sure to backport this change and unmute the tests.

@maxhniebergall maxhniebergall added auto-backport Automatically create backport pull requests when merged v8.17.0 v8.18.0 v8.17.1 and removed v8.17.0 labels Dec 12, 2024
@original-brownbear
Copy link
Member Author

npnp :) sorry fell asleep before merging last night :D

@original-brownbear original-brownbear merged commit 71f9822 into elastic:main Dec 13, 2024
16 checks passed
@original-brownbear original-brownbear deleted the fix-inference-test-bug branch December 13, 2024 13:09
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Dec 13, 2024
…ing (elastic#118624)

We need to load the two fields from the same response. Otherwise, we can have a sort of race
where we load "endpoints" from pre-8.15 as empty and then load "models" from a post-8.15 node
also empty, resulting in an empty list because we took the wrong info from either response.

closes elastic#118163
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Dec 13, 2024
…ing (elastic#118624)

We need to load the two fields from the same response. Otherwise, we can have a sort of race
where we load "endpoints" from pre-8.15 as empty and then load "models" from a post-8.15 node
also empty, resulting in an empty list because we took the wrong info from either response.

closes elastic#118163
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.17
8.x

elasticsearchmachine pushed a commit that referenced this pull request Dec 13, 2024
…ing (#118624) (#118663)

We need to load the two fields from the same response. Otherwise, we can have a sort of race
where we load "endpoints" from pre-8.15 as empty and then load "models" from a post-8.15 node
also empty, resulting in an empty list because we took the wrong info from either response.

closes #118163
elasticsearchmachine pushed a commit that referenced this pull request Dec 16, 2024
…ing (#118624) (#118664)

We need to load the two fields from the same response. Otherwise, we can have a sort of race
where we load "endpoints" from pre-8.15 as empty and then load "models" from a post-8.15 node
also empty, resulting in an empty list because we took the wrong info from either response.

closes #118163

Co-authored-by: Max Hniebergall <137079448+maxhniebergall@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :ml Machine learning Team:ML Meta label for the ML team >test Issues or PRs that are addressing/adding tests v8.17.1 v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] OpenAiServiceUpgradeIT testOpenAiCompletions {upgradedNodes=2} failing
3 participants