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] Unskip Data frame analytics feature importance tests #162601

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

qn895
Copy link
Member

@qn895 qn895 commented Jul 26, 2023

Summary

This PR unskips failed tests from #162427, which should now be fixed thanks to elastic/elasticsearch#97970.

It also make it so that if topClasses is somehow undefined or unavailable in the future. It would not cause the page to go blank. The tests should still fail in that case because it should still expect the chart to exist.

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.

When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:

Risk Probability Severity Mitigation/Notes
Multiple Spaces—unexpected behavior in non-default Kibana Space. Low High Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces.
Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. High Low Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure.
Code should gracefully handle cases when feature X or plugin Y are disabled. Medium High Unit tests will verify that any feature flag or plugin combination still results in our service operational.
See more potential risk examples

For maintainers

@qn895 qn895 added :ml release_note:skip Skip the PR/issue when compiling release notes Feature:Data Frame Analytics ML data frame analytics features v8.10.0 v8.9.1 labels Jul 26, 2023
@qn895 qn895 self-assigned this Jul 26, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 3.4MB 3.4MB +32.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @qn895

@qn895 qn895 marked this pull request as ready for review July 27, 2023 14:24
@qn895 qn895 requested a review from a team as a code owner July 27, 2023 14:24
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Code LGTM

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.9

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 27, 2023
) (#162650)

# Backport

This will backport the following commits from `main` to `8.9`:
- [[ML] Unskip Data frame analytics feature importance tests
(#162601)](#162601)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-27T15:52:54Z","message":"[ML]
Unskip Data frame analytics feature importance tests
(#162601)","sha":"a3c0914dae4eb447aa6be235fff3b2fde9725400","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","Feature:Data
Frame
Analytics","v8.10.0","v8.9.1"],"number":162601,"url":"https://github.com/elastic/kibana/pull/162601","mergeCommit":{"message":"[ML]
Unskip Data frame analytics feature importance tests
(#162601)","sha":"a3c0914dae4eb447aa6be235fff3b2fde9725400"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162601","number":162601,"mergeCommit":{"message":"[ML]
Unskip Data frame analytics feature importance tests
(#162601)","sha":"a3c0914dae4eb447aa6be235fff3b2fde9725400"}},{"branch":"8.9","label":"v8.9.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <[email protected]>
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Frame Analytics ML data frame analytics features :ml release_note:skip Skip the PR/issue when compiling release notes v8.9.1 v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants