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

[7.17] [ML] Removing use of re2 library (#186104) #188372

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

mistic
Copy link
Member

@mistic mistic commented Jul 15, 2024

Backport

This will backport the following commits from main to 7.17:

Questions ?

Please refer to the Backport tool documentation

We no longer need to use `re2` over the standard regex library.

(cherry picked from commit ed70d4c)

# Conflicts:
#	x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/logs.ts
#	x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/metrics.ts
#	x-pack/plugins/ml/server/saved_objects/service.ts
@mistic mistic requested review from jgowdyelastic and removed request for jgowdyelastic July 15, 2024 20:32
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

LGTM

@mistic mistic merged commit 0e46798 into elastic:7.17 Jul 16, 2024
107 of 108 checks passed
adelisle pushed a commit to Makila-AI/kibana that referenced this pull request Aug 5, 2024
)

# Backport

This will backport the following commits from `main` to `7.17`:
- [[ML] Removing use of re2 library
(elastic#186104)](elastic#186104)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-06-13T05:43:40Z","message":"[ML]
Removing use of re2 library (elastic#186104)\n\nWe no longer need to use `re2`
over the standard regex
library.","sha":"ed70d4c6ffb77324f9c6e74e26ed559303ae6c3f","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","backport:skip","v8.15.0"],"number":186104,"url":"https://github.com/elastic/kibana/pull/186104","mergeCommit":{"message":"[ML]
Removing use of re2 library (elastic#186104)\n\nWe no longer need to use `re2`
over the standard regex
library.","sha":"ed70d4c6ffb77324f9c6e74e26ed559303ae6c3f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/186104","number":186104,"mergeCommit":{"message":"[ML]
Removing use of re2 library (elastic#186104)\n\nWe no longer need to use `re2`
over the standard regex
library.","sha":"ed70d4c6ffb77324f9c6e74e26ed559303ae6c3f"}}]}]
BACKPORT-->

---------

Co-authored-by: James Gowdy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants