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

[ML] Randomly generate uuids #116662

Merged
merged 3 commits into from
Nov 20, 2024
Merged

[ML] Randomly generate uuids #116662

merged 3 commits into from
Nov 20, 2024

Conversation

prwhelan
Copy link
Member

randomAlpha is generating UTF16 strings, which return as UTF8 and fail to match. Generating random UTF8 strings can generate control characters, which the REST handler throws an error on. So we're generating UUIDs.

Fix #113430

randomAlpha is generating UTF16 strings, which return as UTF8 and fail
to match.  Generating random UTF8 strings can generate control
characters, which the REST handler throws an error on.  So we're
generating UUIDs.

Fix elastic#113430
@prwhelan prwhelan added >test Issues or PRs that are addressing/adding tests :ml Machine learning Team:ML Meta label for the ML team auto-backport Automatically create backport pull requests when merged v9.0.0 v8.16.1 v8.17.0 labels Nov 12, 2024
@prwhelan
Copy link
Member Author

@elasticmachine update branch

@prwhelan prwhelan marked this pull request as ready for review November 12, 2024 21:08
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

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

LGTM

@prwhelan
Copy link
Member Author

@elasticmachine update branch

@prwhelan prwhelan enabled auto-merge (squash) November 20, 2024 13:24
@prwhelan prwhelan merged commit 0e64179 into elastic:main Nov 20, 2024
15 of 16 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts
8.16 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 116662

rjernst pushed a commit to rjernst/elasticsearch that referenced this pull request Nov 20, 2024
randomAlpha is generating UTF16 strings, which return as UTF8 and fail
to match.  Generating random UTF8 strings can generate control
characters, which the REST handler throws an error on.  So we're
generating UUIDs.

Fix elastic#113430
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Nov 28, 2024
randomAlpha is generating UTF16 strings, which return as UTF8 and fail
to match.  Generating random UTF8 strings can generate control
characters, which the REST handler throws an error on.  So we're
generating UUIDs.

Fix elastic#113430
@javanna
Copy link
Member

javanna commented Dec 9, 2024

@prwhelan this needs backporting it seems. The test that this fixes is still muted in 8.x.

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 backport pending :ml Machine learning Team:ML Meta label for the ML team >test Issues or PRs that are addressing/adding tests v8.16.2 v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] InferenceCrudIT testSupportedStream failing
5 participants