Skip to content

[ML] Type updates after esclient type update#95658

Merged
jgowdyelastic merged 7 commits intoelastic:masterfrom
jgowdyelastic:type-fixes-after-esclient-update
Apr 20, 2021
Merged

[ML] Type updates after esclient type update#95658
jgowdyelastic merged 7 commits intoelastic:masterfrom
jgowdyelastic:type-fixes-after-esclient-update

Conversation

@jgowdyelastic
Copy link
Copy Markdown
Member

@jgowdyelastic jgowdyelastic commented Mar 29, 2021

Follow on type updates, correcting some type changes made in #83808 and updating some // @ts-expect-error descriptions.

Requires additional esclient type changes requested here
elastic/elasticsearch-specification#252

Update: // @ts-expect-error changes have been reverted as the current esclient version has not been bumped and so does not contain the fixed types. So in an effort to get this merged for 7.13, it was decided to revert these changes.

@jgowdyelastic
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@jgowdyelastic jgowdyelastic self-assigned this Mar 30, 2021
@jgowdyelastic jgowdyelastic added :ml non-issue Indicates to automation that a pull request should not appear in the release notes release_note:skip Skip the PR/issue when compiling release notes review v7.13.0 v8.0.0 labels Mar 30, 2021
@jgowdyelastic jgowdyelastic marked this pull request as ready for review March 30, 2021 08:23
@jgowdyelastic jgowdyelastic requested a review from a team as a code owner March 30, 2021 08:23
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@jgowdyelastic
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

merge conflict between base and head

@jgowdyelastic
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
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.

LGTM

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

API count

id before after diff
ml 343 279 -64

API count missing comments

id before after diff
ml 339 275 -64

API count with any type

id before after diff
ml 14 10 -4

Non-exported public API item count

id before after diff
ml 34 28 -6

History

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

cc @jgowdyelastic

@jgowdyelastic jgowdyelastic added the auto-backport Deprecated - use backport:version if exact versions are needed label Apr 20, 2021
@jgowdyelastic jgowdyelastic merged commit c107641 into elastic:master Apr 20, 2021
@jgowdyelastic jgowdyelastic deleted the type-fixes-after-esclient-update branch April 20, 2021 18:34
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Apr 20, 2021
* [ML] Type updates after esclient type update

* reverting expect errors

* fixing type errors

* tiny refactor

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Apr 20, 2021
* [ML] Type updates after esclient type update

* reverting expect errors

* fixing type errors

* tiny refactor

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: James Gowdy <jgowdy@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed :ml non-issue Indicates to automation that a pull request should not appear in the release notes release_note:skip Skip the PR/issue when compiling release notes review v7.13.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants