Skip to content

Conversation

@timgrein
Copy link
Contributor

@timgrein timgrein commented Mar 13, 2025

If an instance of a subclass of BaseInferenceActionRequest gets initialized through the transport layer and the overall transport version is before adaptive rate limiting was added, then hasBeenRerouted will always be set to true. This can fail in this test case as the default value for a primitive boolean is false (found & fixed in the backport). Therefore we need to handle this case in mutateInstanceForVersion specifically.

@timgrein timgrein added >test Issues or PRs that are addressing/adding tests :ml Machine learning Team:ML Meta label for the ML team labels Mar 13, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@timgrein timgrein merged commit b3eeb96 into elastic:main Mar 18, 2025
17 checks passed
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning Team:ML Meta label for the ML team >test Issues or PRs that are addressing/adding tests v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants