Skip to content

SKA: Fix kebab-case issues in observability-ui packages#211248

Merged
gsoldevila merged 3 commits intoelastic:mainfrom
gsoldevila:kbn-team-1309-relocate-20250214151920
Feb 14, 2025
Merged

SKA: Fix kebab-case issues in observability-ui packages#211248
gsoldevila merged 3 commits intoelastic:mainfrom
gsoldevila:kbn-team-1309-relocate-20250214151920

Conversation

@gsoldevila
Copy link
Copy Markdown
Member

@gsoldevila gsoldevila commented Feb 14, 2025

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.

Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe here.

3 packages(s) are going to be relocated:

Id Target folder
@kbn/observability-utils-browser x-pack/solutions/observability/packages/utils-browser
@kbn/observability-utils-common x-pack/solutions/observability/packages/utils-common
@kbn/observability-utils-server x-pack/solutions/observability/packages/utils-server
Updated references
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/solutions/observability/packages/utils-browser/jest.config.js
./x-pack/solutions/observability/packages/utils-common/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js
./yarn.lock
.github/CODEOWNERS
Updated relative paths
x-pack/solutions/observability/packages/utils-browser/jest.config.js:10
x-pack/solutions/observability/packages/utils-browser/tsconfig.json:2
x-pack/solutions/observability/packages/utils-common/jest.config.js:10
x-pack/solutions/observability/packages/utils-common/tsconfig.json:2
x-pack/solutions/observability/packages/utils-server/jest.config.js:10
x-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10
x-pack/solutions/observability/packages/utils-server/tsconfig.json:2

@gsoldevila gsoldevila requested a review from a team as a code owner February 14, 2025 15:25
@github-actions
Copy link
Copy Markdown
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

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.

@github-actions
Copy link
Copy Markdown
Contributor

Warning

It looks like this PR modifies one or more .asciidoc files. These files are being migrated to Markdown, and any changes merged now will be lost. See the migration guide for details.

@gsoldevila gsoldevila added release_note:skip Skip the PR/issue when compiling release notes Team:Observability Team label for Observability Team (for things that are handled across all of observability) backport:version Backport to applied version labels v8.18.0 labels Feb 14, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/unified-observability (Team:Observability)

Copy link
Copy Markdown
Member

@maryam-saeidi maryam-saeidi left a comment

Choose a reason for hiding this comment

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

Code review only, LGTM

Not sure whether we need to backport it to 8.18 since we are in FF for that version, 8.19 (8.x) seems like a better candidate here.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observabilityAIAssistantApp 251.8KB 251.8KB -2.0B
streamsApp 279.9KB 279.9KB -1.0B
total -3.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observabilityAIAssistantApp 15.7KB 15.7KB -2.0B
streamsApp 6.8KB 6.8KB -1.0B
total -3.0B

@gsoldevila gsoldevila merged commit 239bd8d into elastic:main Feb 14, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x, 9.0

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 14, 2025
## 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](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 3 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/observability-utils-browser` |
`x-pack/solutions/observability/packages/utils-browser` |
| `@kbn/observability-utils-common` |
`x-pack/solutions/observability/packages/utils-common` |
| `@kbn/observability-utils-server` |
`x-pack/solutions/observability/packages/utils-server` |

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

```
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/solutions/observability/packages/utils-browser/jest.config.js
./x-pack/solutions/observability/packages/utils-common/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
x-pack/solutions/observability/packages/utils-browser/jest.config.js:10
x-pack/solutions/observability/packages/utils-browser/tsconfig.json:2
x-pack/solutions/observability/packages/utils-common/jest.config.js:10
x-pack/solutions/observability/packages/utils-common/tsconfig.json:2
x-pack/solutions/observability/packages/utils-server/jest.config.js:10
x-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10
x-pack/solutions/observability/packages/utils-server/tsconfig.json:2
```

</details>

(cherry picked from commit 239bd8d)
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

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

You might need to backport the following PRs to 8.x:
- [scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761)
9.0

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 211248

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 14, 2025
… (#211311)

# Backport

This will backport the following commits from `main` to `9.0`:
- [SKA: Fix kebab-case issues in observability-ui packages
(#211248)](#211248)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T18:34:14Z","message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Observability","v9.0.0","backport:version","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in observability-ui
packages","number":211248,"url":"https://github.com/elastic/kibana/pull/211248","mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211248","number":211248,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Feb 17, 2025
## 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](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 3 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/observability-utils-browser` |
`x-pack/solutions/observability/packages/utils-browser` |
| `@kbn/observability-utils-common` |
`x-pack/solutions/observability/packages/utils-common` |
| `@kbn/observability-utils-server` |
`x-pack/solutions/observability/packages/utils-server` |

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

```
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/solutions/observability/packages/utils-browser/jest.config.js
./x-pack/solutions/observability/packages/utils-common/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
x-pack/solutions/observability/packages/utils-browser/jest.config.js:10
x-pack/solutions/observability/packages/utils-browser/tsconfig.json:2
x-pack/solutions/observability/packages/utils-common/jest.config.js:10
x-pack/solutions/observability/packages/utils-common/tsconfig.json:2
x-pack/solutions/observability/packages/utils-server/jest.config.js:10
x-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10
x-pack/solutions/observability/packages/utils-server/tsconfig.json:2
```

</details>

(cherry picked from commit 239bd8d)

# Conflicts:
#	.github/CODEOWNERS
@gsoldevila
Copy link
Copy Markdown
Member 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 Feb 17, 2025
… (#211374)

# Backport

This will backport the following commits from `main` to `8.x`:
- [SKA: Fix kebab-case issues in observability-ui packages
(#211248)](#211248)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T18:34:14Z","message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Observability","v9.0.0","backport:version","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in observability-ui
packages","number":211248,"url":"https://github.com/elastic/kibana/pull/211248","mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211311","number":211311,"state":"MERGED","mergeCommit":{"sha":"126a3d603e792be87310a80c4d3c4a39a12188e6","message":"[9.0]
SKA: Fix kebab-case issues in observability-ui packages (#211248)
(#211311)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in observability-ui
packages\n(#211248)](https://github.com/elastic/kibana/pull/211248)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Gerard\nSoldevila\",\"email\":\"gerard.soldevila@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-14T18:34:14Z\",\"message\":\"SKA:\nFix
kebab-case issues in observability-ui packages
(#211248)\\n\\n##\nSummary\\r\\n\\r\\nThis PR aims at relocating some of
the Kibana modules\n(plugins and\\r\\npackages) into a new folder
structure, according to the\n_Sustainable\\r\\nKibana Architecture_
initiative.\\r\\n\\r\\n>\n[!IMPORTANT]\\r\\n> * We kindly ask you
to:\\r\\n> * Manually fix the errors\nin the error section below (if
there are\\r\\nany).\\r\\n> * Search for the\n`packages[\\\\/\\\\\\\\]`
and `plugins[\\\\/\\\\\\\\]` patterns in the\\r\\nsource\ncode (Babel
and Eslint config files), and update\nthem\\r\\nappropriately.\\r\\n> *
Manually\nreview\\r\\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to\nensure that\\r\\nany CI pipeline customizations continue to be
correctly\napplied after\\r\\nthe changed path names\\r\\n> * Review all
of the updated\nfiles, specially the `.ts` and `.js` files\\r\\nlisted
in the sections\nbelow, as some of them contain relative paths\\r\\nthat
have been\nupdated.\\r\\n> * Think of potential impact of the move,
including tooling\nand\\r\\nconfiguration files that can be pointing to
the relocated\nmodules. E.g.:\\r\\n> * customised eslint rules\\r\\n> *
docs pointing to\nsource code\\r\\n\\r\\n> [!NOTE]\\r\\n> * This PR has
been\nauto-generated.\\r\\n> * Any manual contributions will be lost if
the\n'relocate' script is\\r\\nre-run.\\r\\n> * Try to obtain the
missing reviews\n/ approvals before applying manual\\r\\nfixes, and/or
keep your changes in\na .patch / git stash.\\r\\n> *
Please\nuse\\r\\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\\r\\nSlack\nchannel
for feedback.\\r\\n\\r\\nAre you trying to rebase this PR to
solve\nmerge conflicts? Please follow\\r\\nthe
steps\ndescribe\\r\\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\\r\\n\\r\\n####\n3
packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target
folder\n|\\r\\n| -- | ------------- |\\r\\n|
`@kbn/observability-utils-browser`\n|\\r\\n`x-pack/solutions/observability/packages/utils-browser`
|\\r\\n|\n`@kbn/observability-utils-common`\n|\\r\\n`x-pack/solutions/observability/packages/utils-common`
|\\r\\n|\n`@kbn/observability-utils-server`\n|\\r\\n`x-pack/solutions/observability/packages/utils-server`\n|\\r\\n\\r\\n\\r\\n<details
>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-ts-projects/config-paths.json\\r\\n./src/platform/packages/private/kbn-repo-packages/package-map.json\\r\\n./tsconfig.base.json\\r\\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\\r\\n./yarn.lock\\r\\n.github/CODEOWNERS\\r\\n```\\r\\n\\r\\n</details><details\n>\\r\\n<summary>Updated
relative\npaths</summary>\\r\\n\\r\\n```\\r\\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"239bd8db9be41f38289306a1356a7fad86f0a734\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:Observability\",\"v9.0.0\",\"backport:version\",\"v9.1.0\",\"v8.19.0\"],\"title\":\"SKA:\nFix
kebab-case issues in
observability-ui\npackages\",\"number\":211248,\"url\":\"https://github.com/elastic/kibana/pull/211248\",\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in observability-ui packages
(#211248)\\n\\n##\nSummary\\r\\n\\r\\nThis PR aims at relocating some of
the Kibana modules\n(plugins and\\r\\npackages) into a new folder
structure, according to the\n_Sustainable\\r\\nKibana Architecture_
initiative.\\r\\n\\r\\n>\n[!IMPORTANT]\\r\\n> * We kindly ask you
to:\\r\\n> * Manually fix the errors\nin the error section below (if
there are\\r\\nany).\\r\\n> * Search for the\n`packages[\\\\/\\\\\\\\]`
and `plugins[\\\\/\\\\\\\\]` patterns in the\\r\\nsource\ncode (Babel
and Eslint config files), and update\nthem\\r\\nappropriately.\\r\\n> *
Manually\nreview\\r\\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to\nensure that\\r\\nany CI pipeline customizations continue to be
correctly\napplied after\\r\\nthe changed path names\\r\\n> * Review all
of the updated\nfiles, specially the `.ts` and `.js` files\\r\\nlisted
in the sections\nbelow, as some of them contain relative paths\\r\\nthat
have been\nupdated.\\r\\n> * Think of potential impact of the move,
including tooling\nand\\r\\nconfiguration files that can be pointing to
the relocated\nmodules. E.g.:\\r\\n> * customised eslint rules\\r\\n> *
docs pointing to\nsource code\\r\\n\\r\\n> [!NOTE]\\r\\n> * This PR has
been\nauto-generated.\\r\\n> * Any manual contributions will be lost if
the\n'relocate' script is\\r\\nre-run.\\r\\n> * Try to obtain the
missing reviews\n/ approvals before applying manual\\r\\nfixes, and/or
keep your changes in\na .patch / git stash.\\r\\n> *
Please\nuse\\r\\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\\r\\nSlack\nchannel
for feedback.\\r\\n\\r\\nAre you trying to rebase this PR to
solve\nmerge conflicts? Please follow\\r\\nthe
steps\ndescribe\\r\\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\\r\\n\\r\\n####\n3
packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target
folder\n|\\r\\n| -- | ------------- |\\r\\n|
`@kbn/observability-utils-browser`\n|\\r\\n`x-pack/solutions/observability/packages/utils-browser`
|\\r\\n|\n`@kbn/observability-utils-common`\n|\\r\\n`x-pack/solutions/observability/packages/utils-common`
|\\r\\n|\n`@kbn/observability-utils-server`\n|\\r\\n`x-pack/solutions/observability/packages/utils-server`\n|\\r\\n\\r\\n\\r\\n<details
>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-ts-projects/config-paths.json\\r\\n./src/platform/packages/private/kbn-repo-packages/package-map.json\\r\\n./tsconfig.base.json\\r\\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\\r\\n./yarn.lock\\r\\n.github/CODEOWNERS\\r\\n```\\r\\n\\r\\n</details><details\n>\\r\\n<summary>Updated
relative\npaths</summary>\\r\\n\\r\\n```\\r\\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"239bd8db9be41f38289306a1356a7fad86f0a734\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"9.0\",\"8.x\"],\"targetPullRequestStates\":[{\"branch\":\"9.0\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/211248\",\"number\":211248,\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in observability-ui packages
(#211248)\\n\\n##\nSummary\\r\\n\\r\\nThis PR aims at relocating some of
the Kibana modules\n(plugins and\\r\\npackages) into a new folder
structure, according to the\n_Sustainable\\r\\nKibana Architecture_
initiative.\\r\\n\\r\\n>\n[!IMPORTANT]\\r\\n> * We kindly ask you
to:\\r\\n> * Manually fix the errors\nin the error section below (if
there are\\r\\nany).\\r\\n> * Search for the\n`packages[\\\\/\\\\\\\\]`
and `plugins[\\\\/\\\\\\\\]` patterns in the\\r\\nsource\ncode (Babel
and Eslint config files), and update\nthem\\r\\nappropriately.\\r\\n> *
Manually\nreview\\r\\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to\nensure that\\r\\nany CI pipeline customizations continue to be
correctly\napplied after\\r\\nthe changed path names\\r\\n> * Review all
of the updated\nfiles, specially the `.ts` and `.js` files\\r\\nlisted
in the sections\nbelow, as some of them contain relative paths\\r\\nthat
have been\nupdated.\\r\\n> * Think of potential impact of the move,
including tooling\nand\\r\\nconfiguration files that can be pointing to
the relocated\nmodules. E.g.:\\r\\n> * customised eslint rules\\r\\n> *
docs pointing to\nsource code\\r\\n\\r\\n> [!NOTE]\\r\\n> * This PR has
been\nauto-generated.\\r\\n> * Any manual contributions will be lost if
the\n'relocate' script is\\r\\nre-run.\\r\\n> * Try to obtain the
missing reviews\n/ approvals before applying manual\\r\\nfixes, and/or
keep your changes in\na .patch / git stash.\\r\\n> *
Please\nuse\\r\\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\\r\\nSlack\nchannel
for feedback.\\r\\n\\r\\nAre you trying to rebase this PR to
solve\nmerge conflicts? Please follow\\r\\nthe
steps\ndescribe\\r\\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\\r\\n\\r\\n####\n3
packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target
folder\n|\\r\\n| -- | ------------- |\\r\\n|
`@kbn/observability-utils-browser`\n|\\r\\n`x-pack/solutions/observability/packages/utils-browser`
|\\r\\n|\n`@kbn/observability-utils-common`\n|\\r\\n`x-pack/solutions/observability/packages/utils-common`
|\\r\\n|\n`@kbn/observability-utils-server`\n|\\r\\n`x-pack/solutions/observability/packages/utils-server`\n|\\r\\n\\r\\n\\r\\n<details
>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-ts-projects/config-paths.json\\r\\n./src/platform/packages/private/kbn-repo-packages/package-map.json\\r\\n./tsconfig.base.json\\r\\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\\r\\n./yarn.lock\\r\\n.github/CODEOWNERS\\r\\n```\\r\\n\\r\\n</details><details\n>\\r\\n<summary>Updated
relative\npaths</summary>\\r\\n\\r\\n```\\r\\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"239bd8db9be41f38289306a1356a7fad86f0a734\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211248","number":211248,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Feb 19, 2025
## 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](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 3 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/observability-utils-browser` |
`x-pack/solutions/observability/packages/utils-browser` |
| `@kbn/observability-utils-common` |
`x-pack/solutions/observability/packages/utils-common` |
| `@kbn/observability-utils-server` |
`x-pack/solutions/observability/packages/utils-server` |

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

```
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/solutions/observability/packages/utils-browser/jest.config.js
./x-pack/solutions/observability/packages/utils-common/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
x-pack/solutions/observability/packages/utils-browser/jest.config.js:10
x-pack/solutions/observability/packages/utils-browser/tsconfig.json:2
x-pack/solutions/observability/packages/utils-common/jest.config.js:10
x-pack/solutions/observability/packages/utils-common/tsconfig.json:2
x-pack/solutions/observability/packages/utils-server/jest.config.js:10
x-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10
x-pack/solutions/observability/packages/utils-server/tsconfig.json:2
```

</details>

(cherry picked from commit 239bd8d)

# Conflicts:
#	.github/CODEOWNERS
@gsoldevila
Copy link
Copy Markdown
Member Author

💚 All backports created successfully

Status Branch Result
8.18

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 Feb 19, 2025
…) (#211699)

# Backport

This will backport the following commits from `main` to `8.18`:
- [SKA: Fix kebab-case issues in observability-ui packages
(#211248)](#211248)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T18:34:14Z","message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Observability","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA:
Fix kebab-case issues in observability-ui
packages","number":211248,"url":"https://github.com/elastic/kibana/pull/211248","mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},"sourceBranch":"main","suggestedTargetBranches":["8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211311","number":211311,"state":"MERGED","mergeCommit":{"sha":"126a3d603e792be87310a80c4d3c4a39a12188e6","message":"[9.0]
SKA: Fix kebab-case issues in observability-ui packages (#211248)
(#211311)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [SKA: Fix kebab-case issues in observability-ui
packages\n(#211248)](https://github.com/elastic/kibana/pull/211248)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by:
Gerard Soldevila
<gerard.soldevila@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211248","number":211248,"mergeCommit":{"message":"SKA:
Fix kebab-case issues in observability-ui packages (#211248)\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####
3 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/observability-utils-browser`
|\r\n`x-pack/solutions/observability/packages/utils-browser` |\r\n|
`@kbn/observability-utils-common`
|\r\n`x-pack/solutions/observability/packages/utils-common` |\r\n|
`@kbn/observability-utils-server`
|\r\n`x-pack/solutions/observability/packages/utils-server`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./package.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\r\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\r\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"239bd8db9be41f38289306a1356a7fad86f0a734"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211374","number":211374,"state":"MERGED","mergeCommit":{"sha":"7293166bdce32ca38bc299f4c6f89d94dc8febd7","message":"[8.x]
SKA: Fix kebab-case issues in observability-ui packages (#211248)
(#211374)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [SKA: Fix kebab-case issues in observability-ui
packages\n(#211248)](https://github.com/elastic/kibana/pull/211248)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\\n\\n###
Questions ?\\nPlease refer to
the\n[Backport\ntool\\ndocumentation](https://github.com/sqren/backport)\\n\\n\\n\\nCo-authored-by:\nGerard
Soldevila\n<gerard.soldevila@elastic.co>\"}},{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/211248\",\"number\":211248,\"mergeCommit\":{\"message\":\"SKA:\nFix
kebab-case issues in observability-ui packages
(#211248)\\n\\n##\nSummary\\r\\n\\r\\nThis PR aims at relocating some of
the Kibana modules\n(plugins and\\r\\npackages) into a new folder
structure, according to the\n_Sustainable\\r\\nKibana Architecture_
initiative.\\r\\n\\r\\n>\n[!IMPORTANT]\\r\\n> * We kindly ask you
to:\\r\\n> * Manually fix the errors\nin the error section below (if
there are\\r\\nany).\\r\\n> * Search for the\n`packages[\\\\/\\\\\\\\]`
and `plugins[\\\\/\\\\\\\\]` patterns in the\\r\\nsource\ncode (Babel
and Eslint config files), and update\nthem\\r\\nappropriately.\\r\\n> *
Manually\nreview\\r\\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts`
to\nensure that\\r\\nany CI pipeline customizations continue to be
correctly\napplied after\\r\\nthe changed path names\\r\\n> * Review all
of the updated\nfiles, specially the `.ts` and `.js` files\\r\\nlisted
in the sections\nbelow, as some of them contain relative paths\\r\\nthat
have been\nupdated.\\r\\n> * Think of potential impact of the move,
including tooling\nand\\r\\nconfiguration files that can be pointing to
the relocated\nmodules. E.g.:\\r\\n> * customised eslint rules\\r\\n> *
docs pointing to\nsource code\\r\\n\\r\\n> [!NOTE]\\r\\n> * This PR has
been\nauto-generated.\\r\\n> * Any manual contributions will be lost if
the\n'relocate' script is\\r\\nre-run.\\r\\n> * Try to obtain the
missing reviews\n/ approvals before applying manual\\r\\nfixes, and/or
keep your changes in\na .patch / git stash.\\r\\n> *
Please\nuse\\r\\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\\r\\nSlack\nchannel
for feedback.\\r\\n\\r\\nAre you trying to rebase this PR to
solve\nmerge conflicts? Please follow\\r\\nthe
steps\ndescribe\\r\\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\\r\\n\\r\\n####\n3
packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target
folder\n|\\r\\n| -- | ------------- |\\r\\n|
`@kbn/observability-utils-browser`\n|\\r\\n`x-pack/solutions/observability/packages/utils-browser`
|\\r\\n|\n`@kbn/observability-utils-common`\n|\\r\\n`x-pack/solutions/observability/packages/utils-common`
|\\r\\n|\n`@kbn/observability-utils-server`\n|\\r\\n`x-pack/solutions/observability/packages/utils-server`\n|\\r\\n\\r\\n\\r\\n<details
>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-ts-projects/config-paths.json\\r\\n./src/platform/packages/private/kbn-repo-packages/package-map.json\\r\\n./tsconfig.base.json\\r\\n./x-pack/solutions/observability/packages/utils-browser/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.config.js\\r\\n./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js\\r\\n./yarn.lock\\r\\n.github/CODEOWNERS\\r\\n```\\r\\n\\r\\n</details><details\n>\\r\\n<summary>Updated
relative\npaths</summary>\\r\\n\\r\\n```\\r\\nx-pack/solutions/observability/packages/utils-browser/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-browser/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/utils-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10\\r\\nx-pack/solutions/observability/packages/utils-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"239bd8db9be41f38289306a1356a7fad86f0a734\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\n---------\n\nCo-authored-by:
kibanamachine <42973632+kibanamachine@users.noreply.github.com>"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
## 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](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 3 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/observability-utils-browser` |
`x-pack/solutions/observability/packages/utils-browser` |
| `@kbn/observability-utils-common` |
`x-pack/solutions/observability/packages/utils-common` |
| `@kbn/observability-utils-server` |
`x-pack/solutions/observability/packages/utils-server` |


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

```
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./x-pack/solutions/observability/packages/utils-browser/jest.config.js
./x-pack/solutions/observability/packages/utils-common/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.config.js
./x-pack/solutions/observability/packages/utils-server/jest.integration.config.js
./yarn.lock
.github/CODEOWNERS
```

</details><details >
<summary>Updated relative paths</summary>

```
x-pack/solutions/observability/packages/utils-browser/jest.config.js:10
x-pack/solutions/observability/packages/utils-browser/tsconfig.json:2
x-pack/solutions/observability/packages/utils-common/jest.config.js:10
x-pack/solutions/observability/packages/utils-common/tsconfig.json:2
x-pack/solutions/observability/packages/utils-server/jest.config.js:10
x-pack/solutions/observability/packages/utils-server/jest.integration.config.js:10
x-pack/solutions/observability/packages/utils-server/tsconfig.json:2
```

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Observability Team label for Observability Team (for things that are handled across all of observability) v8.18.0 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants