-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core
#201653
Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-core
#201653
Conversation
A documentation preview will be available soon. Request a new doc build by commenting
If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here. |
Pinging @elastic/kibana-core (Team:Core) |
aadc120
to
deb5701
Compare
## Summary Since we are moving code around, the schema extractor now needs to adapt to the new directories. This PR adds new per-solution schemas to the `.telemetryrc.json` files and adapts FTRs accordingly. Related #201653 ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
## Summary Since we are moving code around, the schema extractor now needs to adapt to the new directories. This PR adds new per-solution schemas to the `.telemetryrc.json` files and adapts FTRs accordingly. Related elastic#201653 ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit dac87ef)
deb5701
to
c2af66e
Compare
2c0a66d
to
47ad664
Compare
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing exports
Unknown metric groupsReferences to deprecated APIs
Unreferenced deprecated APIs
History
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12612900449 |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…c/kibana-core` (#201653) (#205563) # Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)](#201653) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-04T18:47:24Z","message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and plugins) to the new folder\nstructure, according to the _Kibana Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/cloud-chat-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n| `@kbn/cloud-experiments-plugin` |\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` |\n| `@kbn/cloud-full-story-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` |\n| `@kbn/cloud-links-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n| `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n| `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n| `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n| `@kbn/kibana-usage-collection-plugin` |\n`src/platform/plugins/private/kibana_usage_collection` |\n| `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` |\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` |\n| `@kbn/saved-objects-management-plugin` |\n`src/platform/plugins/shared/saved_objects_management` |\n| `@kbn/telemetry-collection-manager-plugin` |\n`src/platform/plugins/shared/telemetry_collection_manager` |\n| `@kbn/telemetry-collection-xpack-plugin` |\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n| `@kbn/telemetry-management-section-plugin` |\n`src/platform/plugins/shared/telemetry_management_section` |\n| `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n| `@kbn/usage-collection-plugin` |\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22 package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` |\n| `@kbn/analytics-collection-utils` |\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n| `@kbn/apm-config-loader` |\n`src/platform/packages/private/kbn-apm-config-loader` |\n| `@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` | `src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks`\n|\n| `@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema` |\n| `@kbn/crypto-browser` |\n`src/platform/packages/shared/kbn-crypto-browser` |\n| `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n| `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n| `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n| `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n| `@kbn/health-gateway-server` |\n`src/platform/packages/private/kbn-health-gateway-server` |\n| `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n| `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n| `@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n| `@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks` |\n| `@kbn/router-to-openapispec` |\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n| `@kbn/server-http-tools` |\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std` | `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types` |\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` | `src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by: Alejandro Fernández Haro <[email protected]>\nCo-authored-by: kibanamachine <[email protected]>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","plugin groups"],"number":201653,"url":"https://github.com/elastic/kibana/pull/201653","mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and plugins) to the new folder\nstructure, according to the _Kibana Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/cloud-chat-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n| `@kbn/cloud-experiments-plugin` |\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` |\n| `@kbn/cloud-full-story-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` |\n| `@kbn/cloud-links-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n| `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n| `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n| `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n| `@kbn/kibana-usage-collection-plugin` |\n`src/platform/plugins/private/kibana_usage_collection` |\n| `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` |\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` |\n| `@kbn/saved-objects-management-plugin` |\n`src/platform/plugins/shared/saved_objects_management` |\n| `@kbn/telemetry-collection-manager-plugin` |\n`src/platform/plugins/shared/telemetry_collection_manager` |\n| `@kbn/telemetry-collection-xpack-plugin` |\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n| `@kbn/telemetry-management-section-plugin` |\n`src/platform/plugins/shared/telemetry_management_section` |\n| `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n| `@kbn/usage-collection-plugin` |\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22 package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` |\n| `@kbn/analytics-collection-utils` |\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n| `@kbn/apm-config-loader` |\n`src/platform/packages/private/kbn-apm-config-loader` |\n| `@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` | `src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks`\n|\n| `@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema` |\n| `@kbn/crypto-browser` |\n`src/platform/packages/shared/kbn-crypto-browser` |\n| `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n| `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n| `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n| `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n| `@kbn/health-gateway-server` |\n`src/platform/packages/private/kbn-health-gateway-server` |\n| `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n| `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n| `@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n| `@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks` |\n| `@kbn/router-to-openapispec` |\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n| `@kbn/server-http-tools` |\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std` | `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types` |\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` | `src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by: Alejandro Fernández Haro <[email protected]>\nCo-authored-by: kibanamachine <[email protected]>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201653","number":201653,"mergeCommit":{"message":"Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-core` (#201653)\n\n## Summary\n\nStart relocating Kibana modules (packages and plugins) to the new folder\nstructure, according to the _Kibana Sustainable Architecture_\ninitiative.\n#### 16 plugin(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/cloud-chat-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_chat` |\n| `@kbn/cloud-experiments-plugin` |\n`x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` |\n| `@kbn/cloud-full-story-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` |\n| `@kbn/cloud-links-plugin` |\n`x-pack/platform/plugins/private/cloud_integrations/cloud_links` |\n| `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` |\n| `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` |\n| `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` |\n| `@kbn/kibana-usage-collection-plugin` |\n`src/platform/plugins/private/kibana_usage_collection` |\n| `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` |\n| `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` |\n| `@kbn/saved-objects-management-plugin` |\n`src/platform/plugins/shared/saved_objects_management` |\n| `@kbn/telemetry-collection-manager-plugin` |\n`src/platform/plugins/shared/telemetry_collection_manager` |\n| `@kbn/telemetry-collection-xpack-plugin` |\n`x-pack/platform/plugins/private/telemetry_collection_xpack` |\n| `@kbn/telemetry-management-section-plugin` |\n`src/platform/plugins/shared/telemetry_management_section` |\n| `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` |\n| `@kbn/usage-collection-plugin` |\n`src/platform/plugins/shared/usage_collection` |\n\n#### 22 package(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` |\n| `@kbn/analytics-collection-utils` |\n`src/platform/packages/private/analytics/utils/analytics_collection_utils`\n|\n| `@kbn/apm-config-loader` |\n`src/platform/packages/private/kbn-apm-config-loader` |\n| `@kbn/cloud` | `src/platform/packages/shared/cloud` |\n| `@kbn/config` | `src/platform/packages/shared/kbn-config` |\n| `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks`\n|\n| `@kbn/config-schema` |\n`src/platform/packages/shared/kbn-config-schema` |\n| `@kbn/crypto-browser` |\n`src/platform/packages/shared/kbn-crypto-browser` |\n| `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` |\n| `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` |\n| `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` |\n| `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` |\n| `@kbn/health-gateway-server` |\n`src/platform/packages/private/kbn-health-gateway-server` |\n| `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` |\n| `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` |\n| `@kbn/logging` | `src/platform/packages/shared/kbn-logging` |\n| `@kbn/logging-mocks` |\n`src/platform/packages/shared/kbn-logging-mocks` |\n| `@kbn/router-to-openapispec` |\n`src/platform/packages/shared/kbn-router-to-openapispec` |\n| `@kbn/server-http-tools` |\n`src/platform/packages/shared/kbn-server-http-tools` |\n| `@kbn/std` | `src/platform/packages/shared/kbn-std` |\n| `@kbn/utility-types` |\n`src/platform/packages/shared/kbn-utility-types` |\n| `@kbn/zod` | `src/platform/packages/shared/kbn-zod` |\n\n---------\n\nCo-authored-by: Alejandro Fernández Haro <[email protected]>\nCo-authored-by: kibanamachine <[email protected]>","sha":"6049493e4a2372ea22986b231ad2bd59584fe9b8"}}]}] BACKPORT--> --------- Co-authored-by: Gerard Soldevila <[email protected]>
After merging #202748, #204959, and #201653, all of the properties in some telemetry schemas were moved completely, but `node scripts/telemetry_check --fix` didn't update the `properties` object correctly. Also, in #202748 and #201653, the relocation script changed some paths, confusing them with `@kbn/security-plugin` and `@kbn/cloud-plugin`.
…#205613) After merging elastic#202748, elastic#204959, and elastic#201653, all of the properties in some telemetry schemas were moved completely, but `node scripts/telemetry_check --fix` didn't update the `properties` object correctly. Also, in elastic#202748 and elastic#201653, the relocation script changed some paths, confusing them with `@kbn/security-plugin` and `@kbn/cloud-plugin`. (cherry picked from commit 5409631)
…205613) (#205641) # Backport This will backport the following commits from `main` to `8.x`: - [Sustainable Kibana Architecture: Fix after-relocation issues (#205613)](#205613) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Michael Dokolin","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-06T18:02:36Z","message":"Sustainable Kibana Architecture: Fix after-relocation issues (#205613)\n\nAfter merging #202748, #204959, and #201653, all of the properties in\nsome telemetry schemas were moved completely, but `node\nscripts/telemetry_check --fix` didn't update the `properties` object\ncorrectly.\n\nAlso, in #202748 and #201653, the relocation script changed some paths,\nconfusing them with `@kbn/security-plugin` and `@kbn/cloud-plugin`.","sha":"540963148dc671b02655ced8285dbbd817d9d5c9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:version","v8.18.0","plugin groups"],"title":"Sustainable Kibana Architecture: Fix after-relocation issues","number":205613,"url":"https://github.com/elastic/kibana/pull/205613","mergeCommit":{"message":"Sustainable Kibana Architecture: Fix after-relocation issues (#205613)\n\nAfter merging #202748, #204959, and #201653, all of the properties in\nsome telemetry schemas were moved completely, but `node\nscripts/telemetry_check --fix` didn't update the `properties` object\ncorrectly.\n\nAlso, in #202748 and #201653, the relocation script changed some paths,\nconfusing them with `@kbn/security-plugin` and `@kbn/cloud-plugin`.","sha":"540963148dc671b02655ced8285dbbd817d9d5c9"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205613","number":205613,"mergeCommit":{"message":"Sustainable Kibana Architecture: Fix after-relocation issues (#205613)\n\nAfter merging #202748, #204959, and #201653, all of the properties in\nsome telemetry schemas were moved completely, but `node\nscripts/telemetry_check --fix` didn't update the `properties` object\ncorrectly.\n\nAlso, in #202748 and #201653, the relocation script changed some paths,\nconfusing them with `@kbn/security-plugin` and `@kbn/cloud-plugin`.","sha":"540963148dc671b02655ced8285dbbd817d9d5c9"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Michael Dokolin <[email protected]>
…na-core` (elastic#201653) ## Summary Start relocating Kibana modules (packages and plugins) to the new folder structure, according to the _Kibana Sustainable Architecture_ initiative. #### 16 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/cloud-chat-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_chat` | | `@kbn/cloud-experiments-plugin` | `x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` | | `@kbn/cloud-full-story-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` | | `@kbn/cloud-links-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_links` | | `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` | | `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` | | `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` | | `@kbn/kibana-usage-collection-plugin` | `src/platform/plugins/private/kibana_usage_collection` | | `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` | | `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` | | `@kbn/saved-objects-management-plugin` | `src/platform/plugins/shared/saved_objects_management` | | `@kbn/telemetry-collection-manager-plugin` | `src/platform/plugins/shared/telemetry_collection_manager` | | `@kbn/telemetry-collection-xpack-plugin` | `x-pack/platform/plugins/private/telemetry_collection_xpack` | | `@kbn/telemetry-management-section-plugin` | `src/platform/plugins/shared/telemetry_management_section` | | `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` | | `@kbn/usage-collection-plugin` | `src/platform/plugins/shared/usage_collection` | #### 22 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` | | `@kbn/analytics-collection-utils` | `src/platform/packages/private/analytics/utils/analytics_collection_utils` | | `@kbn/apm-config-loader` | `src/platform/packages/private/kbn-apm-config-loader` | | `@kbn/cloud` | `src/platform/packages/shared/cloud` | | `@kbn/config` | `src/platform/packages/shared/kbn-config` | | `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks` | | `@kbn/config-schema` | `src/platform/packages/shared/kbn-config-schema` | | `@kbn/crypto-browser` | `src/platform/packages/shared/kbn-crypto-browser` | | `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` | | `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` | | `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` | | `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` | | `@kbn/health-gateway-server` | `src/platform/packages/private/kbn-health-gateway-server` | | `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` | | `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` | | `@kbn/logging` | `src/platform/packages/shared/kbn-logging` | | `@kbn/logging-mocks` | `src/platform/packages/shared/kbn-logging-mocks` | | `@kbn/router-to-openapispec` | `src/platform/packages/shared/kbn-router-to-openapispec` | | `@kbn/server-http-tools` | `src/platform/packages/shared/kbn-server-http-tools` | | `@kbn/std` | `src/platform/packages/shared/kbn-std` | | `@kbn/utility-types` | `src/platform/packages/shared/kbn-utility-types` | | `@kbn/zod` | `src/platform/packages/shared/kbn-zod` | --------- Co-authored-by: Alejandro Fernández Haro <[email protected]> Co-authored-by: kibanamachine <[email protected]>
…#205613) After merging elastic#202748, elastic#204959, and elastic#201653, all of the properties in some telemetry schemas were moved completely, but `node scripts/telemetry_check --fix` didn't update the `properties` object correctly. Also, in elastic#202748 and elastic#201653, the relocation script changed some paths, confusing them with `@kbn/security-plugin` and `@kbn/cloud-plugin`.
…na-core` (elastic#201653) ## Summary Start relocating Kibana modules (packages and plugins) to the new folder structure, according to the _Kibana Sustainable Architecture_ initiative. #### 16 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/cloud-chat-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_chat` | | `@kbn/cloud-experiments-plugin` | `x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments` | | `@kbn/cloud-full-story-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_full_story` | | `@kbn/cloud-links-plugin` | `x-pack/platform/plugins/private/cloud_integrations/cloud_links` | | `@kbn/cloud-plugin` | `x-pack/platform/plugins/shared/cloud` | | `@kbn/features-plugin` | `x-pack/platform/plugins/shared/features` | | `@kbn/ftr-apis-plugin` | `src/platform/plugins/private/ftr_apis` | | `@kbn/kibana-usage-collection-plugin` | `src/platform/plugins/private/kibana_usage_collection` | | `@kbn/licensing-plugin` | `x-pack/platform/plugins/shared/licensing` | | `@kbn/newsfeed-plugin` | `src/platform/plugins/shared/newsfeed` | | `@kbn/saved-objects-management-plugin` | `src/platform/plugins/shared/saved_objects_management` | | `@kbn/telemetry-collection-manager-plugin` | `src/platform/plugins/shared/telemetry_collection_manager` | | `@kbn/telemetry-collection-xpack-plugin` | `x-pack/platform/plugins/private/telemetry_collection_xpack` | | `@kbn/telemetry-management-section-plugin` | `src/platform/plugins/shared/telemetry_management_section` | | `@kbn/telemetry-plugin` | `src/platform/plugins/shared/telemetry` | | `@kbn/usage-collection-plugin` | `src/platform/plugins/shared/usage_collection` | #### 22 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/analytics` | `src/platform/packages/shared/kbn-analytics` | | `@kbn/analytics-collection-utils` | `src/platform/packages/private/analytics/utils/analytics_collection_utils` | | `@kbn/apm-config-loader` | `src/platform/packages/private/kbn-apm-config-loader` | | `@kbn/cloud` | `src/platform/packages/shared/cloud` | | `@kbn/config` | `src/platform/packages/shared/kbn-config` | | `@kbn/config-mocks` | `src/platform/packages/private/kbn-config-mocks` | | `@kbn/config-schema` | `src/platform/packages/shared/kbn-config-schema` | | `@kbn/crypto-browser` | `src/platform/packages/shared/kbn-crypto-browser` | | `@kbn/ebt-tools` | `src/platform/packages/shared/kbn-ebt-tools` | | `@kbn/es-errors` | `src/platform/packages/shared/kbn-es-errors` | | `@kbn/es-types` | `src/platform/packages/shared/kbn-es-types` | | `@kbn/hapi-mocks` | `src/platform/packages/private/kbn-hapi-mocks` | | `@kbn/health-gateway-server` | `src/platform/packages/private/kbn-health-gateway-server` | | `@kbn/i18n` | `src/platform/packages/shared/kbn-i18n` | | `@kbn/i18n-react` | `src/platform/packages/shared/kbn-i18n-react` | | `@kbn/logging` | `src/platform/packages/shared/kbn-logging` | | `@kbn/logging-mocks` | `src/platform/packages/shared/kbn-logging-mocks` | | `@kbn/router-to-openapispec` | `src/platform/packages/shared/kbn-router-to-openapispec` | | `@kbn/server-http-tools` | `src/platform/packages/shared/kbn-server-http-tools` | | `@kbn/std` | `src/platform/packages/shared/kbn-std` | | `@kbn/utility-types` | `src/platform/packages/shared/kbn-utility-types` | | `@kbn/zod` | `src/platform/packages/shared/kbn-zod` | --------- Co-authored-by: Alejandro Fernández Haro <[email protected]> Co-authored-by: kibanamachine <[email protected]>
…#205613) After merging elastic#202748, elastic#204959, and elastic#201653, all of the properties in some telemetry schemas were moved completely, but `node scripts/telemetry_check --fix` didn't update the `properties` object correctly. Also, in elastic#202748 and elastic#201653, the relocation script changed some paths, confusing them with `@kbn/security-plugin` and `@kbn/cloud-plugin`.
Summary
This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the Sustainable Kibana Architecture initiative.
Important
packages[\/\\]
andplugins[\/\\]
patterns in the source code (Babel and Eslint config files), and update them appropriately..buildkite/scripts/pipelines/pull_request/pipeline.ts
to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names.ts
and.js
files listed in the sections below, as some of them contain relative paths that have been updated.Note
Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe here.
17 plugin(s) are going to be relocated:
@kbn/cloud-chat-plugin
x-pack/platform/plugins/private/cloud_integrations/cloud_chat
@kbn/cloud-experiments-plugin
x-pack/platform/plugins/shared/cloud_integrations/cloud_experiments
@kbn/cloud-full-story-plugin
x-pack/platform/plugins/private/cloud_integrations/cloud_full_story
@kbn/cloud-links-plugin
x-pack/platform/plugins/private/cloud_integrations/cloud_links
@kbn/cloud-plugin
x-pack/platform/plugins/shared/cloud
@kbn/features-plugin
x-pack/platform/plugins/shared/features
@kbn/ftr-apis-plugin
src/platform/plugins/private/ftr_apis
@kbn/kibana-usage-collection-plugin
src/platform/plugins/private/kibana_usage_collection
@kbn/licensing-plugin
x-pack/platform/plugins/shared/licensing
@kbn/newsfeed-plugin
src/platform/plugins/shared/newsfeed
@kbn/saved-objects-management-plugin
src/platform/plugins/shared/saved_objects_management
@kbn/telemetry-collection-manager-plugin
src/platform/plugins/shared/telemetry_collection_manager
@kbn/telemetry-collection-xpack-plugin
x-pack/platform/plugins/private/telemetry_collection_xpack
@kbn/telemetry-management-section-plugin
src/platform/plugins/shared/telemetry_management_section
@kbn/telemetry-plugin
src/platform/plugins/shared/telemetry
@kbn/upgrade-assistant-plugin
x-pack/platform/plugins/private/upgrade_assistant
@kbn/usage-collection-plugin
src/platform/plugins/shared/usage_collection
145 packages(s) are going to be relocated:
@kbn/analytics
src/platform/packages/shared/kbn-analytics
@kbn/analytics-collection-utils
src/platform/packages/private/analytics/utils/analytics_collection_utils
@kbn/apm-config-loader
src/platform/packages/private/kbn-apm-config-loader
@kbn/cloud
src/platform/packages/shared/cloud
@kbn/config
src/platform/packages/shared/kbn-config
@kbn/config-mocks
src/platform/packages/private/kbn-config-mocks
@kbn/config-schema
src/platform/packages/shared/kbn-config-schema
@kbn/core-base-common-internal
src/core/packages/base/common-internal
@kbn/core-base-server-internal
src/core/packages/base/server-internal
@kbn/core-capabilities-browser-internal
src/core/packages/capabilities/browser-internal
@kbn/core-capabilities-common
src/core/packages/capabilities/common
@kbn/core-capabilities-server
src/core/packages/capabilities/server
@kbn/core-capabilities-server-internal
src/core/packages/capabilities/server-internal
@kbn/core-config-server-internal
src/core/packages/config/server-internal
@kbn/core-deprecations-browser
src/core/packages/deprecations/browser
@kbn/core-deprecations-browser-internal
src/core/packages/deprecations/browser-internal
@kbn/core-deprecations-common
src/core/packages/deprecations/common
@kbn/core-deprecations-server
src/core/packages/deprecations/server
@kbn/core-deprecations-server-internal
src/core/packages/deprecations/server-internal
@kbn/core-doc-links-browser
src/core/packages/doc-links/browser
@kbn/core-doc-links-browser-internal
src/core/packages/doc-links/browser-internal
@kbn/core-doc-links-server
src/core/packages/doc-links/server
@kbn/core-doc-links-server-internal
src/core/packages/doc-links/server-internal
@kbn/core-elasticsearch-client-server-internal
src/core/packages/elasticsearch/client-server-internal
@kbn/core-elasticsearch-server
src/core/packages/elasticsearch/server
@kbn/core-elasticsearch-server-internal
src/core/packages/elasticsearch/server-internal
@kbn/core-environment-server-internal
src/core/packages/environment/server-internal
@kbn/core-execution-context-browser
src/core/packages/execution-context/browser
@kbn/core-execution-context-browser-internal
src/core/packages/execution-context/browser-internal
@kbn/core-execution-context-common
src/core/packages/execution-context/common
@kbn/core-execution-context-server
src/core/packages/execution-context/server
@kbn/core-execution-context-server-internal
src/core/packages/execution-context/server-internal
@kbn/core-fatal-errors-browser
src/core/packages/fatal-errors/browser
@kbn/core-fatal-errors-browser-internal
src/core/packages/fatal-errors/browser-internal
@kbn/core-feature-flags-browser
src/core/packages/feature-flags/browser
@kbn/core-feature-flags-browser-internal
src/core/packages/feature-flags/browser-internal
@kbn/core-feature-flags-browser-mocks
src/core/packages/feature-flags/browser-mocks
@kbn/core-feature-flags-server
src/core/packages/feature-flags/server
@kbn/core-feature-flags-server-internal
src/core/packages/feature-flags/server-internal
@kbn/core-feature-flags-server-mocks
src/core/packages/feature-flags/server-mocks
@kbn/core-http-browser
src/core/packages/http/browser
@kbn/core-http-browser-internal
src/core/packages/http/browser-internal
@kbn/core-http-common
src/core/packages/http/common
@kbn/core-http-context-server-internal
src/core/packages/http/context-server-internal
@kbn/core-http-request-handler-context-server
src/core/packages/http/request-handler-context-server
@kbn/core-http-request-handler-context-server-internal
src/core/packages/http/request-handler-context-server-internal
@kbn/core-http-resources-server
src/core/packages/http/resources-server
@kbn/core-http-resources-server-internal
src/core/packages/http/resources-server-internal
@kbn/core-http-router-server-internal
src/core/packages/http/router-server-internal
@kbn/core-http-server
src/core/packages/http/server
@kbn/core-http-server-internal
src/core/packages/http/server-internal
@kbn/core-http-server-utils
src/core/packages/http/server-utils
@kbn/core-i18n-browser
src/core/packages/i18n/browser
@kbn/core-i18n-browser-internal
src/core/packages/i18n/browser-internal
@kbn/core-i18n-server
src/core/packages/i18n/server
@kbn/core-i18n-server-internal
src/core/packages/i18n/server-internal
@kbn/core-injected-metadata-browser-internal
src/core/packages/injected-metadata/browser-internal
@kbn/core-injected-metadata-common-internal
src/core/packages/injected-metadata/common-internal
@kbn/core-integrations-browser-internal
src/core/packages/integrations/browser-internal
@kbn/core-lifecycle-browser
src/core/packages/lifecycle/browser
@kbn/core-lifecycle-browser-internal
src/core/packages/lifecycle/browser-internal
@kbn/core-lifecycle-server
src/core/packages/lifecycle/server
@kbn/core-lifecycle-server-internal
src/core/packages/lifecycle/server-internal
@kbn/core-logging-browser-internal
src/core/packages/logging/browser-internal
@kbn/core-logging-common-internal
src/core/packages/logging/common-internal
@kbn/core-logging-server
src/core/packages/logging/server
@kbn/core-logging-server-internal
src/core/packages/logging/server-internal
@kbn/core-metrics-collectors-server-internal
src/core/packages/metrics/collectors-server-internal
@kbn/core-metrics-server
src/core/packages/metrics/server
@kbn/core-metrics-server-internal
src/core/packages/metrics/server-internal
@kbn/core-mount-utils-browser
src/core/packages/mount-utils/browser
@kbn/core-mount-utils-browser-internal
src/core/packages/mount-utils/browser-internal
@kbn/core-node-server
src/core/packages/node/server
@kbn/core-node-server-internal
src/core/packages/node/server-internal
@kbn/core-notifications-browser
src/core/packages/notifications/browser
@kbn/core-notifications-browser-internal
src/core/packages/notifications/browser-internal
@kbn/core-overlays-browser
src/core/packages/overlays/browser
@kbn/core-overlays-browser-internal
src/core/packages/overlays/browser-internal
@kbn/core-plugins-base-server-internal
src/core/packages/plugins/base-server-internal
@kbn/core-plugins-browser
src/core/packages/plugins/browser
@kbn/core-plugins-browser-internal
src/core/packages/plugins/browser-internal
@kbn/core-plugins-contracts-browser
src/core/packages/plugins/contracts-browser
@kbn/core-plugins-contracts-server
src/core/packages/plugins/contracts-server
@kbn/core-plugins-server
src/core/packages/plugins/server
@kbn/core-plugins-server-internal
src/core/packages/plugins/server-internal
@kbn/core-preboot-server
src/core/packages/preboot/server
@kbn/core-preboot-server-internal
src/core/packages/preboot/server-internal
@kbn/core-rendering-browser
src/core/packages/rendering/browser
@kbn/core-rendering-browser-internal
src/core/packages/rendering/browser-internal
@kbn/core-rendering-server-internal
src/core/packages/rendering/server-internal
@kbn/core-root-browser-internal
src/core/packages/root/browser-internal
@kbn/core-root-server-internal
src/core/packages/root/server-internal
@kbn/core-saved-objects-api-browser
src/core/packages/saved-objects/api-browser
@kbn/core-saved-objects-api-server
src/core/packages/saved-objects/api-server
@kbn/core-saved-objects-api-server-internal
src/core/packages/saved-objects/api-server-internal
@kbn/core-saved-objects-base-server-internal
src/core/packages/saved-objects/base-server-internal
@kbn/core-saved-objects-browser
src/core/packages/saved-objects/browser
@kbn/core-saved-objects-browser-internal
src/core/packages/saved-objects/browser-internal
@kbn/core-saved-objects-common
src/core/packages/saved-objects/common
@kbn/core-saved-objects-import-export-server-internal
src/core/packages/saved-objects/import-export-server-internal
@kbn/core-saved-objects-migration-server-internal
src/core/packages/saved-objects/migration-server-internal
@kbn/core-saved-objects-server
src/core/packages/saved-objects/server
@kbn/core-saved-objects-server-internal
src/core/packages/saved-objects/server-internal
@kbn/core-saved-objects-utils-server
src/core/packages/saved-objects/utils-server
@kbn/core-security-browser
src/core/packages/security/browser
@kbn/core-security-browser-internal
src/core/packages/security/browser-internal
@kbn/core-security-browser-mocks
src/core/packages/security/browser-mocks
@kbn/core-security-common
src/core/packages/security/common
@kbn/core-security-server
src/core/packages/security/server
@kbn/core-security-server-internal
src/core/packages/security/server-internal
@kbn/core-security-server-mocks
src/core/packages/security/server-mocks
@kbn/core-status-common
src/core/packages/status/common
@kbn/core-status-server
src/core/packages/status/server
@kbn/core-status-server-internal
src/core/packages/status/server-internal
@kbn/core-test-helpers-deprecations-getters
src/core/packages/test-helpers/deprecations-getters
@kbn/core-test-helpers-http-setup-browser
src/core/packages/test-helpers/http-setup-browser
@kbn/core-test-helpers-so-type-serializer
src/core/packages/test-helpers/so-type-serializer
@kbn/core-test-helpers-test-utils
src/core/packages/test-helpers/test-utils
@kbn/core-theme-browser
src/core/packages/theme/browser
@kbn/core-theme-browser-internal
src/core/packages/theme/browser-internal
@kbn/core-usage-data-base-server-internal
src/core/packages/usage-data/base-server-internal
@kbn/core-usage-data-server
src/core/packages/usage-data/server
@kbn/core-usage-data-server-internal
src/core/packages/usage-data/server-internal
@kbn/core-user-profile-browser
src/core/packages/user-profile/browser
@kbn/core-user-profile-browser-internal
src/core/packages/user-profile/browser-internal
@kbn/core-user-profile-browser-mocks
src/core/packages/user-profile/browser-mocks
@kbn/core-user-profile-common
src/core/packages/user-profile/common
@kbn/core-user-profile-server
src/core/packages/user-profile/server
@kbn/core-user-profile-server-internal
src/core/packages/user-profile/server-internal
@kbn/core-user-profile-server-mocks
src/core/packages/user-profile/server-mocks
@kbn/crypto-browser
src/platform/packages/shared/kbn-crypto-browser
@kbn/ebt-tools
src/platform/packages/shared/kbn-ebt-tools
@kbn/es-errors
src/platform/packages/shared/kbn-es-errors
@kbn/es-types
src/platform/packages/shared/kbn-es-types
@kbn/hapi-mocks
src/platform/packages/private/kbn-hapi-mocks
@kbn/health-gateway-server
src/platform/packages/private/kbn-health-gateway-server
@kbn/i18n
src/platform/packages/shared/kbn-i18n
@kbn/i18n-react
src/platform/packages/shared/kbn-i18n-react
@kbn/logging
src/platform/packages/shared/kbn-logging
@kbn/logging-mocks
src/platform/packages/shared/kbn-logging-mocks
@kbn/router-to-openapispec
src/platform/packages/shared/kbn-router-to-openapispec
@kbn/server-http-tools
src/platform/packages/shared/kbn-server-http-tools
@kbn/std
src/platform/packages/shared/kbn-std
@kbn/utility-types
src/platform/packages/shared/kbn-utility-types
@kbn/zod
src/platform/packages/shared/kbn-zod
Updated references
Updated relative paths