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

[kbn/test] move types/ftr into src #99555

Merged
merged 5 commits into from
May 17, 2021

Conversation

spalger
Copy link
Contributor

@spalger spalger commented May 6, 2021

Part of #99546

In order to support defining additional public ftr types we need to convert the ftr.d.ts file to be a concrete TS file, which means moving it into the src directory and rewriting all the imports for @kbn/test/types/ftr to @kbn/test. This PR focuses on that change with two commits, one with the functional changes and the other with all the import path updates which are all over the place and automatically applied and verified by eslint.

@spalger
Copy link
Contributor Author

spalger commented May 6, 2021

@elasticmachine merge upstream

@spalger spalger added release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.13.0 v7.14.0 v8.0.0 labels May 7, 2021
@spalger spalger marked this pull request as ready for review May 7, 2021 01:53
@spalger spalger requested a review from a team as a code owner May 7, 2021 01:53
@spalger spalger requested a review from a team May 7, 2021 01:53
@spalger spalger requested review from a team as code owners May 7, 2021 01:53
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

Copy link
Contributor

@YulNaumenko YulNaumenko left a comment

Choose a reason for hiding this comment

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

Alerting changes LGTM!

@botelastic botelastic bot added Team:APM All issues that need APM UI Team support Team:Fleet Team label for Observability Data Collection Fleet team labels May 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Member

@pheyos pheyos left a comment

Choose a reason for hiding this comment

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

ML changes LGTM

Copy link
Member

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

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

app services changes LGTM

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

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

Kibana-qa changes LGTM

@spalger
Copy link
Contributor Author

spalger commented May 17, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
canvas 29 25 -4
crossClusterReplication 8 6 -2
fleet 22 20 -2
globalSearch 4 2 -2
indexManagement 12 7 -5
infra 261 149 -112
lens 67 45 -22
licensing 18 15 -3
maps 286 208 -78
ml 121 115 -6
monitoring 109 56 -53
stackAlerts 101 95 -6
total -295

History

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

@spalger spalger added the auto-backport Deprecated - use backport:version if exact versions are needed label May 17, 2021
@spalger spalger merged commit 808b44f into elastic:master May 17, 2021
@spalger spalger deleted the implement/unified-kbn-test-import branch May 17, 2021 16:51
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request May 17, 2021
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.13 Commit could not be cherrypicked due to conflicts
7.x

Successful backport PRs will be merged automatically after passing CI.

To backport manually run:
node scripts/backport --pr 99555

spalger pushed a commit to spalger/kibana that referenced this pull request May 17, 2021
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	x-pack/test/functional_cors/config.ts
#	x-pack/test/reporting_functional/reporting_and_deprecated_security.config.ts
kibanamachine added a commit that referenced this pull request May 17, 2021
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Spencer <[email protected]>
Co-authored-by: spalger <[email protected]>
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added backport missing Added to PRs automatically when the are determined to be missing a backport. and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels May 19, 2021
spalger pushed a commit that referenced this pull request May 19, 2021
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	x-pack/test/functional_cors/config.ts
#	x-pack/test/reporting_functional/reporting_and_deprecated_security.config.ts

Co-authored-by: Kibana Machine <[email protected]>
yctercero pushed a commit to yctercero/kibana that referenced this pull request May 25, 2021
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
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 release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support Team:Fleet Team label for Observability Data Collection Fleet team Team:Operations Team label for Operations Team v7.13.0 v7.14.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.