Skip to content

Commit

Permalink
[8.x] Sustainable Kibana Architecture: Move modules owned by `@elasti…
Browse files Browse the repository at this point in the history
…c/fleet` (#202422) (#205145)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/fleet`
(#202422)](#202422)

<!--- 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":"2024-12-24T14:32:43Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/fleet`
(#202422)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/custom-integrations-plugin`
|\r\n`src/platform/plugins/shared/custom_integrations` |\r\n|
`@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet`
|\r\n\r\n\r\n\r\n\r\n#### 1 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-fleet`
|\r\n`src/platform/packages/shared/deeplinks/fleet`
|\r\n\r\n\r\n<details open>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/fleet/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/jest.config.js:12\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:7\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:22\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:28\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8\r\nx-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7\r\nx-pack/platform/plugins/shared/fleet/jest.config.js:10\r\nx-pack/platform/plugins/shared/fleet/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/fleet/package.json:11\r\nx-pack/platform/plugins/shared/fleet/package.json:12\r\nx-pack/platform/plugins/shared/fleet/package.json:15\r\nx-pack/platform/plugins/shared/fleet/package.json:16\r\nx-pack/platform/plugins/shared/fleet/package.json:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:22\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:26\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <[email protected]>\r\nCo-authored-by: Nicolas
Chaulet <[email protected]>\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"fce686bc88ae4eb9606279f34ce097bd17900949","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","plugin
groups"],"number":202422,"url":"https://github.com/elastic/kibana/pull/202422","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/fleet`
(#202422)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/custom-integrations-plugin`
|\r\n`src/platform/plugins/shared/custom_integrations` |\r\n|
`@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet`
|\r\n\r\n\r\n\r\n\r\n#### 1 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-fleet`
|\r\n`src/platform/packages/shared/deeplinks/fleet`
|\r\n\r\n\r\n<details open>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/fleet/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/jest.config.js:12\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:7\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:22\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:28\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8\r\nx-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7\r\nx-pack/platform/plugins/shared/fleet/jest.config.js:10\r\nx-pack/platform/plugins/shared/fleet/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/fleet/package.json:11\r\nx-pack/platform/plugins/shared/fleet/package.json:12\r\nx-pack/platform/plugins/shared/fleet/package.json:15\r\nx-pack/platform/plugins/shared/fleet/package.json:16\r\nx-pack/platform/plugins/shared/fleet/package.json:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:22\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:26\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <[email protected]>\r\nCo-authored-by: Nicolas
Chaulet <[email protected]>\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"fce686bc88ae4eb9606279f34ce097bd17900949"}},"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/202422","number":202422,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/fleet`
(#202422)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the
Kibana modules (plugins and\r\npackages) into a new folder structure,
according to the _Sustainable\r\nKibana Architecture_
initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> *
Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
2 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/custom-integrations-plugin`
|\r\n`src/platform/plugins/shared/custom_integrations` |\r\n|
`@kbn/fleet-plugin` | `x-pack/platform/plugins/shared/fleet`
|\r\n\r\n\r\n\r\n\r\n#### 1 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/deeplinks-fleet`
|\r\n`src/platform/packages/shared/deeplinks/fleet`
|\r\n\r\n\r\n<details open>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:12\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../..\" in the same line, please fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:8\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/pgayvallet/DEV/workspaces/elastic/kibana/x-pack/platform/plugins/shared/fleet/package.json:16\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/fleet/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.json:2\r\nsrc/platform/packages/shared/deeplinks/fleet/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/jest.config.js:12\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.json:7\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:2\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:20\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:26\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:29\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:32\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:35\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:38\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:41\r\nsrc/platform/plugins/shared/custom_integrations/tsconfig.type_check.json:9\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:22\r\nx-pack/platform/plugins/shared/fleet/cypress.config.js:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:26\r\nx-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts:29\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:25\r\nx-pack/platform/plugins/shared/fleet/cypress.config.ts:28\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:122\r\nx-pack/platform/plugins/shared/fleet/cypress/README.md:128\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:6\r\nx-pack/platform/plugins/shared/fleet/cypress/reporter_config.json:8\r\nx-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts:21\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.json:7\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:25\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:28\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:31\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:37\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:40\r\nx-pack/platform/plugins/shared/fleet/cypress/tsconfig.type_check.json:7\r\nx-pack/platform/plugins/shared/fleet/jest.config.js:10\r\nx-pack/platform/plugins/shared/fleet/jest.integration.config.js:10\r\nx-pack/platform/plugins/shared/fleet/package.json:11\r\nx-pack/platform/plugins/shared/fleet/package.json:12\r\nx-pack/platform/plugins/shared/fleet/package.json:15\r\nx-pack/platform/plugins/shared/fleet/package.json:16\r\nx-pack/platform/plugins/shared/fleet/package.json:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js:8\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:25\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:26\r\nx-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:22\r\nx-pack/platform/plugins/shared/fleet/tsconfig.json:26\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:102\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:105\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:111\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:114\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:120\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:123\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:126\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:129\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:132\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:135\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:144\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:147\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:150\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:153\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:156\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:159\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:162\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:165\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:168\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:171\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:174\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:177\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:180\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:183\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:186\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:189\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:192\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:195\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:198\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:2\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:201\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:204\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:207\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:210\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:213\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:216\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:219\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:222\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:225\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:228\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:23\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:231\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:234\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:237\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:240\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:243\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:246\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:249\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:252\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:255\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:261\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:264\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:27\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:270\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:273\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:276\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:279\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:30\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:36\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:42\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:45\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:57\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:60\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:63\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:66\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:72\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:75\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:78\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:81\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:84\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:87\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:90\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:93\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:96\r\nx-pack/platform/plugins/shared/fleet/tsconfig.type_check.json:99\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
pgayvallet <[email protected]>\r\nCo-authored-by: Nicolas
Chaulet <[email protected]>\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"fce686bc88ae4eb9606279f34ce097bd17900949"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
3 people authored Dec 24, 2024
1 parent 91b6a29 commit 1672b33
Show file tree
Hide file tree
Showing 1,967 changed files with 11,252 additions and 17,354 deletions.
7 changes: 5 additions & 2 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/solutions\/observability\/plugins\/observability_onboarding/,
/^x-pack\/plugins\/fleet/,
/^x-pack\/platform\/plugins\/shared\/fleet/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
Expand All @@ -116,7 +116,10 @@ const getPipeline = (filename: string, removeSteps = true) => {
}

if (
(await doAnyChangesMatch([/^x-pack\/plugins\/fleet/, /^x-pack\/test\/fleet_cypress/])) ||
(await doAnyChangesMatch([
/^x-pack\/platform\/plugins\/shared\/fleet/,
/^x-pack\/test\/fleet_cypress/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/fleet_cypress.yml'));
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/functional/fleet_cypress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}

echo "--- Fleet Cypress tests (Chrome)"

cd x-pack/plugins/fleet
cd x-pack/platform/plugins/shared/fleet

set +e
yarn cypress:run:reporter; status=$?; yarn cypress_space_awareness:run:reporter; space_status=$?; yarn junit:merge || :; [ "$status" -ne 0 ] && exit $status || [ "$space_status" -ne 0 ] && exit $space_status || exit 0
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ module.exports = {
* Fleet overrides
*/
{
files: ['x-pack/plugins/fleet/**/*.{js,mjs,ts,tsx}'],
files: ['x-pack/platform/plugins/shared/fleet/**/*.{js,mjs,ts,tsx}'],
plugins: ['testing-library'],
rules: {
'testing-library/await-async-utils': 'error',
Expand Down
12 changes: 6 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ packages/kbn-crypto-browser @elastic/kibana-core
x-pack/plugins/custom_branding @elastic/appex-sharedux
packages/kbn-custom-icons @elastic/obs-ux-logs-team
packages/kbn-custom-integrations @elastic/obs-ux-logs-team
src/plugins/custom_integrations @elastic/fleet
src/platform/plugins/shared/custom_integrations @elastic/fleet
packages/kbn-cypress-config @elastic/kibana-operations
x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation
src/platform/plugins/shared/dashboard @elastic/kibana-presentation
Expand All @@ -371,7 +371,7 @@ x-pack/plugins/observability_solution/dataset_quality @elastic/obs-ux-logs-team
packages/kbn-datemath @elastic/kibana-data-discovery
packages/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations
src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management
packages/deeplinks/fleet @elastic/fleet
src/platform/packages/shared/deeplinks/fleet @elastic/fleet
src/platform/packages/shared/deeplinks/management @elastic/kibana-management
src/platform/packages/shared/deeplinks/ml @elastic/ml-ui
src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-team
Expand Down Expand Up @@ -485,7 +485,7 @@ examples/files_example @elastic/appex-sharedux
src/plugins/files_management @elastic/appex-sharedux
src/plugins/files @elastic/appex-sharedux
packages/kbn-find-used-node-modules @elastic/kibana-operations
x-pack/plugins/fleet @elastic/fleet
x-pack/platform/plugins/shared/fleet @elastic/fleet
packages/kbn-flot-charts @elastic/kibana-operations
x-pack/test/ui_capabilities/common/plugins/foo_plugin @elastic/kibana-security
packages/kbn-formatters @elastic/obs-ux-logs-team
Expand Down Expand Up @@ -1252,7 +1252,7 @@ x-pack/test_serverless/**/test_suites/observability/ai_assistant @elastic/obs-ai
/x-pack/test/fleet_cypress @elastic/fleet
/x-pack/test/fleet_functional @elastic/fleet
/src/dev/build/tasks/bundle_fleet_packages.ts @elastic/fleet @elastic/kibana-operations
/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts @elastic/fleet @elastic/obs-cloudnative-monitoring
/x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts @elastic/fleet @elastic/obs-cloudnative-monitoring
/x-pack/test_serverless/**/test_suites/**/fleet/ @elastic/fleet

# APM
Expand Down Expand Up @@ -1925,7 +1925,7 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat
**/*.scss @elastic/kibana-design

# Observability design
/x-pack/plugins/fleet/**/*.scss @elastic/observability-design
/x-pack/platform/plugins/shared/fleet/**/*.scss @elastic/observability-design
/x-pack/platform/plugins/private/monitoring/**/*.scss @elastic/observability-design

# Ent. Search design
Expand Down Expand Up @@ -1981,7 +1981,7 @@ oas_docs/kibana.info.yaml @elastic/platform-docs
# maintaining ESOs has been documented and consuming teams have acclimated to ZDT changes.
x-pack/plugins/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security
x-pack/plugins/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security
x-pack/plugins/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security
x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security
x-pack/plugins/observability_solution/synthetics/server/saved_objects/saved_objects.ts @elastic/obs-ux-management-team @elastic/kibana-security
x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_monitor.ts @elastic/obs-ux-management-team @elastic/kibana-security
x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_param.ts @elastic/obs-ux-management-team @elastic/kibana-security
Expand Down
2 changes: 1 addition & 1 deletion .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ paths-ignore:
- x-pack/solutions/security/plugins/cloud_security_posture/common/scripts
- x-pack/solutions/security/plugins/elastic_assistant/scripts
- x-pack/plugins/event_log/scripts
- x-pack/plugins/fleet/scripts
- x-pack/platform/plugins/shared/fleet/scripts
- x-pack/solutions/security/plugins/lists/scripts
- x-pack/solutions/security/plugins/lists/server/scripts
- x-pack/plugins/observability_solution/*/scripts
Expand Down
2 changes: 1 addition & 1 deletion .github/paths-labeller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- 'packages/kbn-apm-utils/**/*.*'
- 'x-pack/solutions/observability/plugins/ux/**/*.*'
- 'Team:Fleet':
- 'x-pack/plugins/fleet/**/*.*'
- 'x-pack/platform/plugins/shared/fleet/**/*.*'
- 'x-pack/test/fleet_api_integration/**/*.*'
- 'Team:obs-ux-management':
- 'x-pack/solutions/observability/plugins/observability/**/*.*'
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ npm-debug.log*
/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png

# transpiled cypress config
x-pack/plugins/fleet/cypress.config.d.ts
x-pack/plugins/fleet/cypress.config.js
x-pack/platform/plugins/shared/fleet/cypress.config.d.ts
x-pack/platform/plugins/shared/fleet/cypress.config.js
x-pack/platform/plugins/shared/osquery/cypress.config.d.ts
x-pack/platform/plugins/shared/osquery/cypress.config.js
x-pack/plugins/enterprise_search/cypress.config.d.ts
Expand Down
2 changes: 1 addition & 1 deletion .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"console": "src/platform/plugins/shared/console",
"contentManagement": "packages/content-management",
"core": ["src/core", "packages/core"],
"customIntegrations": "src/plugins/custom_integrations",
"customIntegrations": "src/platform/plugins/shared/custom_integrations",
"customIntegrationsPackage": "packages/kbn-custom-integrations",
"dashboard": "src/platform/plugins/shared/dashboard",
"cloud": "packages/cloud",
Expand Down
4 changes: 2 additions & 2 deletions docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ as uiSettings within the code.
|The Controls plugin contains Embeddables which can be used to add user-friendly interactivity to apps.
|{kib-repo}blob/{branch}/src/plugins/custom_integrations/README.md[customIntegrations]
|{kib-repo}blob/{branch}/src/platform/plugins/shared/custom_integrations/README.md[customIntegrations]
|Register add-data cards
Expand Down Expand Up @@ -605,7 +605,7 @@ activities.
|WARNING: Missing README.
|{kib-repo}blob/{branch}/x-pack/plugins/fleet/README.md[fleet]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/fleet/README.md[fleet]
|Fleet provides a web-based UI in Kibana for centrally managing Elastic Agents and their policies.
Expand Down
Loading

0 comments on commit 1672b33

Please sign in to comment.