Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sustainable Kibana Architecture: Move modules owned by @elastic/obs-knowledge-team #202766

Conversation

gsoldevila
Copy link
Contributor

@gsoldevila gsoldevila commented Dec 3, 2024

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

  • We kindly ask you to:
    • Manually fix the errors in the error section below (if there are any).
    • Search for the packages[\/\\] and plugins[\/\\] patterns in the source code (Babel and Eslint config files), and update them appropriately.
    • Manually review .buildkite/scripts/pipelines/pull_request/pipeline.ts to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names
    • Review all of the updated files, specially the .ts and .js files listed in the sections below, as some of them contain relative paths that have been updated.
    • Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.:
      • customised eslint rules
      • docs pointing to source code

Note

  • This PR has been auto-generated.
  • Any manual contributions will be lost if the 'relocate' script is re-run.
  • Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash.
  • Please use #sustainable_kibana_architecture Slack channel for feedback.

8 packages(s) are going to be relocated:

Id Target folder
@kbn/io-ts-utils src/platform/packages/shared/kbn-io-ts-utils
@kbn/server-route-repository src/platform/packages/shared/kbn-server-route-repository
@kbn/server-route-repository-client src/platform/packages/shared/kbn-server-route-repository-client
@kbn/server-route-repository-utils src/platform/packages/shared/kbn-server-route-repository-utils
@kbn/sse-utils src/platform/packages/shared/kbn-sse-utils
@kbn/sse-utils-client src/platform/packages/shared/kbn-sse-utils-client
@kbn/sse-utils-server src/platform/packages/shared/kbn-sse-utils-server
@kbn/typed-react-router-config src/platform/packages/shared/kbn-typed-react-router-config
Updated references
./.i18nrc.json
./package.json
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js
./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js
./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js
./src/platform/packages/shared/kbn-server-route-repository/jest.config.js
./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js
./src/platform/packages/shared/kbn-sse-utils-server/jest.config.js
./src/platform/packages/shared/kbn-sse-utils/jest.config.js
./src/platform/packages/shared/kbn-typed-react-router-config/jest.config.js
./src/platform/plugins/shared/ai_assistant_management/selection/tsconfig.type_check.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/tsconfig.type_check.json
./x-pack/plugins/observability_solution/apm/tsconfig.type_check.json
./x-pack/plugins/observability_solution/dataset_quality/tsconfig.type_check.json
./x-pack/plugins/observability_solution/investigate_app/tsconfig.type_check.json
./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json
./x-pack/plugins/observability_solution/observability_onboarding/tsconfig.type_check.json
./x-pack/plugins/observability_solution/profiling/tsconfig.type_check.json
./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json
./x-pack/plugins/observability_solution/ux/tsconfig.type_check.json
./x-pack/solutions/observability/plugins/observability_ai_assistant_app/tsconfig.type_check.json
./x-pack/solutions/observability/plugins/observability_ai_assistant_management/tsconfig.type_check.json
./x-pack/test/tsconfig.type_check.json
./x-pack/test_serverless/tsconfig.type_check.json
./yarn.lock
Updated relative paths
src/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12
src/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2
src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12
src/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2
src/platform/packages/shared/kbn-server-route-repository-client/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12
src/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2
src/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.type_check.json:28
src/platform/packages/shared/kbn-server-route-repository/jest.config.js:12
src/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2
src/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12
src/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2
src/platform/packages/shared/kbn-sse-utils-server/jest.config.js:12
src/platform/packages/shared/kbn-sse-utils-server/tsconfig.json:2
src/platform/packages/shared/kbn-sse-utils/jest.config.js:12
src/platform/packages/shared/kbn-sse-utils/tsconfig.json:2
src/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12
src/platform/packages/shared/kbn-typed-react-router-config/tsconfig.json:2
src/platform/packages/shared/kbn-typed-react-router-config/tsconfig.type_check.json:2

@gsoldevila gsoldevila added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting Team:obs-knowledge Observability Experience Knowledge team labels Dec 4, 2024
@gsoldevila gsoldevila marked this pull request as ready for review December 4, 2024 08:33
@gsoldevila gsoldevila requested review from a team as code owners December 4, 2024 08:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-knowledge-team (Team:obs-knowledge)

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

Obs services LGTM

@gsoldevila gsoldevila force-pushed the kbn-team-1309-move-kibana-obs-knowledge-team branch from 7ef1fde to 38bccf4 Compare December 4, 2024 12:32
@miltonhultgren
Copy link
Contributor

@gsoldevila What's the reason for the sse-utils-server package to be private instead of shared like the other ones?

@gsoldevila gsoldevila force-pushed the kbn-team-1309-move-kibana-obs-knowledge-team branch from 38bccf4 to 4373a3d Compare December 5, 2024 17:10
@gsoldevila
Copy link
Contributor Author

@gsoldevila What's the reason for the sse-utils-server package to be private instead of shared like the other ones?

It was determined automatically.
I imagine it's not used from any solution (I applied the principle of minimum visibility in my categorisation logic).

@miltonhultgren
Copy link
Contributor

miltonhultgren commented Dec 6, 2024

It's probably fine but I'd prefer if @dgieselaar weighs in on it before approving

@gsoldevila gsoldevila force-pushed the kbn-team-1309-move-kibana-obs-knowledge-team branch from 4373a3d to a2ff063 Compare December 9, 2024 15:33
@gsoldevila gsoldevila enabled auto-merge (squash) December 9, 2024 18:10
Copy link
Contributor

Choose a reason for hiding this comment

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

This package should be platform/shared, sorry for not catching this in the earlier categorization PR 🙏🏼

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@miltonhultgren I have rebased and picked up the new categorisation.
PR description has been updated too.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

gsoldevila added a commit that referenced this pull request Dec 12, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 12, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
@gsoldevila gsoldevila force-pushed the kbn-team-1309-move-kibana-obs-knowledge-team branch from 0d20170 to f604c1e Compare December 13, 2024 10:02
@gsoldevila gsoldevila merged commit 0147e74 into elastic:main Dec 13, 2024
8 checks passed
@gsoldevila gsoldevila added backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) and removed backport:skip This commit does not require backporting labels Dec 13, 2024
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12317671503

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12317671586

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- Sustainable Kibana Architecture: Move modules owned by @elastic/security-scalability (#202849)
- [Synthetics] migrate first set of tests (#198950)
- [Obs UX Management] Migrate leftover code owner !! (#203814)
- Sustainable Kibana Architecture: Add scripts/relocate CLI (beta) (#203803)
- [UA] kibana-core ownership (#203410)
- [Security Solution] - Update codeowners (#202046)
- Upgrades cypress to 13.15.1 (#198715)

Manual backport

To create the backport manually run:

node scripts/backport --pr 202766

Questions ?

Please refer to the Backport tool documentation

1 similar comment
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- Sustainable Kibana Architecture: Move modules owned by @elastic/security-scalability (#202849)
- [Synthetics] migrate first set of tests (#198950)
- [Obs UX Management] Migrate leftover code owner !! (#203814)
- Sustainable Kibana Architecture: Add scripts/relocate CLI (beta) (#203803)
- [UA] kibana-core ownership (#203410)
- [Security Solution] - Update codeowners (#202046)
- Upgrades cypress to 13.15.1 (#198715)

Manual backport

To create the backport manually run:

node scripts/backport --pr 202766

Questions ?

Please refer to the Backport tool documentation

gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Dec 15, 2024
…knowledge-team` (elastic#202766)

## 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]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> This PR has been auto-generated.
> Do not attempt to push any changes unless you know what you are doing.
> Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

#### 8 package(s) are going to be relocated:

  | Id | Target folder |
  | -- | ------------- |
| `@kbn/io-ts-utils` | `src/platform/packages/shared/kbn-io-ts-utils` |
| `@kbn/server-route-repository` |
`src/platform/packages/shared/kbn-server-route-repository` |
| `@kbn/server-route-repository-client` |
`src/platform/packages/shared/kbn-server-route-repository-client` |
| `@kbn/server-route-repository-utils` |
`src/platform/packages/shared/kbn-server-route-repository-utils` |
| `@kbn/sse-utils` | `src/platform/packages/shared/kbn-sse-utils` |
| `@kbn/sse-utils-client` |
`src/platform/packages/shared/kbn-sse-utils-client` |
| `@kbn/sse-utils-server` |
`src/platform/packages/private/kbn-sse-utils-server` |
| `@kbn/typed-react-router-config` |
`src/platform/packages/shared/kbn-typed-react-router-config` |

<details>
<summary>Updated references</summary>

```
./.i18nrc.json
./package.json
./packages/kbn-repo-packages/package-map.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-sse-utils-server/jest.config.js
./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js
./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js
./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js
./src/platform/packages/shared/kbn-server-route-repository/jest.config.js
./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js
./src/platform/packages/shared/kbn-sse-utils/jest.config.js
./src/platform/packages/shared/kbn-typed-react-router-config/jest.config.js
./tsconfig.base.json
./yarn.lock
```
</details>
<details>
<summary>Updated relative paths</summary>

```
src/platform/packages/private/kbn-sse-utils-server/jest.config.js:12
src/platform/packages/private/kbn-sse-utils-server/tsconfig.json:2
src/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12
src/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2
src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12
src/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2
src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12
src/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2
src/platform/packages/shared/kbn-server-route-repository/jest.config.js:12
src/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2
src/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12
src/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2
src/platform/packages/shared/kbn-sse-utils/jest.config.js:12
src/platform/packages/shared/kbn-sse-utils/tsconfig.json:2
src/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12
src/platform/packages/shared/kbn-typed-react-router-config/tsconfig.json:2
```
</details>
<details>
<summary>Script errors</summary>

```

```
</details>

(cherry picked from commit 0147e74)

# Conflicts:
#	.github/CODEOWNERS
#	package.json
#	tsconfig.base.json
#	yarn.lock
@gsoldevila
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x

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

Questions ?

Please refer to the Backport tool documentation

gsoldevila added a commit that referenced this pull request Dec 16, 2024
…c/obs-knowledge-team` (#202766) (#204325)

# Backport

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

<!--- 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-13T11:43:28Z","message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-knowledge-team`
(#202766)\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>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n#### 8 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/io-ts-utils` |
`src/platform/packages/shared/kbn-io-ts-utils` |\r\n|
`@kbn/server-route-repository`
|\r\n`src/platform/packages/shared/kbn-server-route-repository` |\r\n|
`@kbn/server-route-repository-client`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-client`
|\r\n| `@kbn/server-route-repository-utils`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-utils`
|\r\n| `@kbn/sse-utils` | `src/platform/packages/shared/kbn-sse-utils`
|\r\n| `@kbn/sse-utils-client`
|\r\n`src/platform/packages/shared/kbn-sse-utils-client` |\r\n|
`@kbn/sse-utils-server`
|\r\n`src/platform/packages/private/kbn-sse-utils-server` |\r\n|
`@kbn/typed-react-router-config`
|\r\n`src/platform/packages/shared/kbn-typed-react-router-config`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-sse-utils-server/jest.config.js\r\n./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-typed-react-router-config/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-sse-utils-server/jest.config.js:12\r\nsrc/platform/packages/private/kbn-sse-utils-server/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>","sha":"0147e7456e4540dc691bdb10b46f58adaa1240b4","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","Team:obs-knowledge"],"number":202766,"url":"https://github.com/elastic/kibana/pull/202766","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-knowledge-team`
(#202766)\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>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n#### 8 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/io-ts-utils` |
`src/platform/packages/shared/kbn-io-ts-utils` |\r\n|
`@kbn/server-route-repository`
|\r\n`src/platform/packages/shared/kbn-server-route-repository` |\r\n|
`@kbn/server-route-repository-client`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-client`
|\r\n| `@kbn/server-route-repository-utils`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-utils`
|\r\n| `@kbn/sse-utils` | `src/platform/packages/shared/kbn-sse-utils`
|\r\n| `@kbn/sse-utils-client`
|\r\n`src/platform/packages/shared/kbn-sse-utils-client` |\r\n|
`@kbn/sse-utils-server`
|\r\n`src/platform/packages/private/kbn-sse-utils-server` |\r\n|
`@kbn/typed-react-router-config`
|\r\n`src/platform/packages/shared/kbn-typed-react-router-config`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-sse-utils-server/jest.config.js\r\n./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-typed-react-router-config/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-sse-utils-server/jest.config.js:12\r\nsrc/platform/packages/private/kbn-sse-utils-server/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>","sha":"0147e7456e4540dc691bdb10b46f58adaa1240b4"}},"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/202766","number":202766,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by `@elastic/obs-knowledge-team`
(#202766)\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>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n#### 8 package(s) are going to be
relocated:\r\n\r\n | Id | Target folder |\r\n | -- | -------------
|\r\n| `@kbn/io-ts-utils` |
`src/platform/packages/shared/kbn-io-ts-utils` |\r\n|
`@kbn/server-route-repository`
|\r\n`src/platform/packages/shared/kbn-server-route-repository` |\r\n|
`@kbn/server-route-repository-client`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-client`
|\r\n| `@kbn/server-route-repository-utils`
|\r\n`src/platform/packages/shared/kbn-server-route-repository-utils`
|\r\n| `@kbn/sse-utils` | `src/platform/packages/shared/kbn-sse-utils`
|\r\n| `@kbn/sse-utils-client`
|\r\n`src/platform/packages/shared/kbn-sse-utils-client` |\r\n|
`@kbn/sse-utils-server`
|\r\n`src/platform/packages/private/kbn-sse-utils-server` |\r\n|
`@kbn/typed-react-router-config`
|\r\n`src/platform/packages/shared/kbn-typed-react-router-config`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.i18nrc.json\r\n./package.json\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-sse-utils-server/jest.config.js\r\n./src/platform/packages/shared/kbn-io-ts-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-client/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-server-route-repository/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils-client/jest.config.js\r\n./src/platform/packages/shared/kbn-sse-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-typed-react-router-config/jest.config.js\r\n./tsconfig.base.json\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/private/kbn-sse-utils-server/jest.config.js:12\r\nsrc/platform/packages/private/kbn-sse-utils-server/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-io-ts-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-io-ts-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-server-route-repository/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-server-route-repository/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils-client/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils-client/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-sse-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-sse-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-typed-react-router-config/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\n\r\n```\r\n</details>","sha":"0147e7456e4540dc691bdb10b46f58adaa1240b4"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:obs-knowledge Observability Experience Knowledge team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants