mirror of
https://github.com/elastic/kibana.git
synced 2025-04-21 16:29:04 -04:00
1540 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
d1e856da8e
|
[8.x] SKA: Make src/test plugins part of platform (#217715) (#217791)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Make src/test plugins part of platform (#217715)](https://github.com/elastic/kibana/pull/217715) <!--- 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-04-10T08:33:31Z","message":"SKA: Make src/test plugins part of platform (#217715)\n\n## Summary\n\nThis is needed by https://github.com/elastic/kibana/pull/216088, in\norder to enable these plugins on CI for FTR tests.","sha":"4ca5e062f7a92ffcbd2832d34351261fd05dc7f3","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"SKA: Make src/test plugins part of platform","number":217715,"url":"https://github.com/elastic/kibana/pull/217715","mergeCommit":{"message":"SKA: Make src/test plugins part of platform (#217715)\n\n## Summary\n\nThis is needed by https://github.com/elastic/kibana/pull/216088, in\norder to enable these plugins on CI for FTR tests.","sha":"4ca5e062f7a92ffcbd2832d34351261fd05dc7f3"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217715","number":217715,"mergeCommit":{"message":"SKA: Make src/test plugins part of platform (#217715)\n\n## Summary\n\nThis is needed by https://github.com/elastic/kibana/pull/216088, in\norder to enable these plugins on CI for FTR tests.","sha":"4ca5e062f7a92ffcbd2832d34351261fd05dc7f3"}},{"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> |
||
|
2089267d9d
|
[8.x] @kbn/profiler-cli: collect and display CPU profiles (#216356) (#216774)
# Backport This will backport the following commits from `main` to `8.x`: - [@kbn/profiler-cli: collect and display CPU profiles (#216356)](https://github.com/elastic/kibana/pull/216356) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-04-02T06:47:33Z","message":"@kbn/profiler-cli: collect and display CPU profiles (#216356)\n\n# @kbn/profiler-cli\n\nProfile Kibana while it's running, and open the CPU profile in\nSpeedscope.\n\n## Usage\n\nRun a command by either preceding it with the profiler script:\n`node scripts/profile.js -- $command`\n\nOr by piping it in:\n`$command | node scripts/profile.js`\n\nYou can also just run it until SIGINT:\n\n`node scripts/profile.js`\n\nOr with a timeout:\n\n`node scripts/profile.js --timeout=10000`\n\n## Examples\n\n### Commands\n\nYou can copy a curl request from the browser, and place it after the\ncommand:\n\n`node scripts/profile.js --connections=10 --amount=50 -- curl ...`\n\nYou can also use stdin for this, for example:\n\n`pbpaste | node scripts/profile.js`\n\nWhen using stdin, take into consideration that there is some lag between\nstarting the script and connecting the profiler, so the profiler might\nmiss the first second or so of the running process.\n\nYou can also use any other command, like `autocannon`, `sleep` or\n`xargs`.\n\n### SigInt\n\nBy default, the profiler will run until the process exits:`node\nscripts/profile.js`. This is useful when you have a long running process\nrunning separately and you want to collect the profile over a longer\ntime period. Be aware that this might cause memory issues because the\nprofile will get huge. When you press Cmd+C, the profiler will\ngracefully exit and first write the profile to disk and open Speedscope.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d1493b98e71db3a66014e29ba3264fcf21155f2e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"@kbn/profiler-cli: collect and display CPU profiles","number":216356,"url":"https://github.com/elastic/kibana/pull/216356","mergeCommit":{"message":"@kbn/profiler-cli: collect and display CPU profiles (#216356)\n\n# @kbn/profiler-cli\n\nProfile Kibana while it's running, and open the CPU profile in\nSpeedscope.\n\n## Usage\n\nRun a command by either preceding it with the profiler script:\n`node scripts/profile.js -- $command`\n\nOr by piping it in:\n`$command | node scripts/profile.js`\n\nYou can also just run it until SIGINT:\n\n`node scripts/profile.js`\n\nOr with a timeout:\n\n`node scripts/profile.js --timeout=10000`\n\n## Examples\n\n### Commands\n\nYou can copy a curl request from the browser, and place it after the\ncommand:\n\n`node scripts/profile.js --connections=10 --amount=50 -- curl ...`\n\nYou can also use stdin for this, for example:\n\n`pbpaste | node scripts/profile.js`\n\nWhen using stdin, take into consideration that there is some lag between\nstarting the script and connecting the profiler, so the profiler might\nmiss the first second or so of the running process.\n\nYou can also use any other command, like `autocannon`, `sleep` or\n`xargs`.\n\n### SigInt\n\nBy default, the profiler will run until the process exits:`node\nscripts/profile.js`. This is useful when you have a long running process\nrunning separately and you want to collect the profile over a longer\ntime period. Be aware that this might cause memory issues because the\nprofile will get huge. When you press Cmd+C, the profiler will\ngracefully exit and first write the profile to disk and open Speedscope.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d1493b98e71db3a66014e29ba3264fcf21155f2e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216356","number":216356,"mergeCommit":{"message":"@kbn/profiler-cli: collect and display CPU profiles (#216356)\n\n# @kbn/profiler-cli\n\nProfile Kibana while it's running, and open the CPU profile in\nSpeedscope.\n\n## Usage\n\nRun a command by either preceding it with the profiler script:\n`node scripts/profile.js -- $command`\n\nOr by piping it in:\n`$command | node scripts/profile.js`\n\nYou can also just run it until SIGINT:\n\n`node scripts/profile.js`\n\nOr with a timeout:\n\n`node scripts/profile.js --timeout=10000`\n\n## Examples\n\n### Commands\n\nYou can copy a curl request from the browser, and place it after the\ncommand:\n\n`node scripts/profile.js --connections=10 --amount=50 -- curl ...`\n\nYou can also use stdin for this, for example:\n\n`pbpaste | node scripts/profile.js`\n\nWhen using stdin, take into consideration that there is some lag between\nstarting the script and connecting the profiler, so the profiler might\nmiss the first second or so of the running process.\n\nYou can also use any other command, like `autocannon`, `sleep` or\n`xargs`.\n\n### SigInt\n\nBy default, the profiler will run until the process exits:`node\nscripts/profile.js`. This is useful when you have a long running process\nrunning separately and you want to collect the profile over a longer\ntime period. Be aware that this might cause memory issues because the\nprofile will get huge. When you press Cmd+C, the profiler will\ngracefully exit and first write the profile to disk and open Speedscope.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d1493b98e71db3a66014e29ba3264fcf21155f2e"}},{"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> |
||
|
d48afc828c
|
[8.x] [Inference] Inference CLI client (#214691) (#216202)
# Backport This will backport the following commits from `main` to `8.x`: - [[Inference] Inference CLI client (#214691)](https://github.com/elastic/kibana/pull/214691) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-03-18T12:33:30Z","message":"[Inference] Inference CLI client (#214691)\n\nExposes an Inference (plugin) API client for scripts, that mimicks the\n`chatComplete` and `output` APIs that are available on its start\ncontract. It depends on the KibanaClient that is exposed from the\n`@kbn/kibana-api-cli` package. It automatically selects a connector if\navailable.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"70f1880e4fae58c6c969b5b19c9d31abf3af4c45","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","Team:Obs AI Assistant","backport:version","v9.1.0","v8.19.0"],"title":"[Inference] Inference CLI client","number":214691,"url":"https://github.com/elastic/kibana/pull/214691","mergeCommit":{"message":"[Inference] Inference CLI client (#214691)\n\nExposes an Inference (plugin) API client for scripts, that mimicks the\n`chatComplete` and `output` APIs that are available on its start\ncontract. It depends on the KibanaClient that is exposed from the\n`@kbn/kibana-api-cli` package. It automatically selects a connector if\navailable.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"70f1880e4fae58c6c969b5b19c9d31abf3af4c45"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214691","number":214691,"mergeCommit":{"message":"[Inference] Inference CLI client (#214691)\n\nExposes an Inference (plugin) API client for scripts, that mimicks the\n`chatComplete` and `output` APIs that are available on its start\ncontract. It depends on the KibanaClient that is exposed from the\n`@kbn/kibana-api-cli` package. It automatically selects a connector if\navailable.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"70f1880e4fae58c6c969b5b19c9d31abf3af4c45"}},{"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> |
||
|
3fddba179f
|
[8.x] [ResponseOps][Rules] Create Rules APIs package (#214187) (#216006)
# Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Rules] Create Rules APIs package (#214187)](https://github.com/elastic/kibana/pull/214187) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Umberto Pepato","email":"umbopepato@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-26T09:01:51Z","message":"[ResponseOps][Rules] Create Rules APIs package (#214187)\n\n## Summary\n\n- Creates a `@kbn/response-ops-rules-apis` package, following the\nproposed structure for ResponseOps Management Experiences package.\n- Moves relevant rules API fetchers and react-query hooks to the new\npackage.\n- Adds an internal variant of the `/api/alerting/rule_types` endpoint\n(`/internal/alerting/_rule_types`), that returns the same value as the\npublic one + the newly added internal [`solution`\nfield](https://github.com/elastic/kibana/issues/212017), that we don't\nwant to expose publicly.\n\n## Verification steps\n\n1. Create rules that fire alerts\n2. Verify the usages of the moved/changed hooks, with limited privileges\nas well (i.e. only `Rules Settings` but not `Stack Rules`):\n2.1. Stack management and Observability rules, rule details and alerts\npages\n2.2. Rules tab in the Connector editor flyout\n2.3. Alerts table row actions (••• icon)\n2.4. Tags filter in the rules list page\n3. Using the DevTools, compare the response of the public and internal\n`rule_types` endpoins:\n ```\n GET kbn:/api/alerting/rule_types\n GET kbn:/internal/alerting/_rule_types\n ```\nChecking that the `solution` field is present only in the internal one\n\n## References \n\nCloses #213059 \n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7aac590af4e245049f3865ea23ed88a179a80a28","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0"],"title":"[ResponseOps][Rules] Create Rules APIs package","number":214187,"url":"https://github.com/elastic/kibana/pull/214187","mergeCommit":{"message":"[ResponseOps][Rules] Create Rules APIs package (#214187)\n\n## Summary\n\n- Creates a `@kbn/response-ops-rules-apis` package, following the\nproposed structure for ResponseOps Management Experiences package.\n- Moves relevant rules API fetchers and react-query hooks to the new\npackage.\n- Adds an internal variant of the `/api/alerting/rule_types` endpoint\n(`/internal/alerting/_rule_types`), that returns the same value as the\npublic one + the newly added internal [`solution`\nfield](https://github.com/elastic/kibana/issues/212017), that we don't\nwant to expose publicly.\n\n## Verification steps\n\n1. Create rules that fire alerts\n2. Verify the usages of the moved/changed hooks, with limited privileges\nas well (i.e. only `Rules Settings` but not `Stack Rules`):\n2.1. Stack management and Observability rules, rule details and alerts\npages\n2.2. Rules tab in the Connector editor flyout\n2.3. Alerts table row actions (••• icon)\n2.4. Tags filter in the rules list page\n3. Using the DevTools, compare the response of the public and internal\n`rule_types` endpoins:\n ```\n GET kbn:/api/alerting/rule_types\n GET kbn:/internal/alerting/_rule_types\n ```\nChecking that the `solution` field is present only in the internal one\n\n## References \n\nCloses #213059 \n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7aac590af4e245049f3865ea23ed88a179a80a28"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214187","number":214187,"mergeCommit":{"message":"[ResponseOps][Rules] Create Rules APIs package (#214187)\n\n## Summary\n\n- Creates a `@kbn/response-ops-rules-apis` package, following the\nproposed structure for ResponseOps Management Experiences package.\n- Moves relevant rules API fetchers and react-query hooks to the new\npackage.\n- Adds an internal variant of the `/api/alerting/rule_types` endpoint\n(`/internal/alerting/_rule_types`), that returns the same value as the\npublic one + the newly added internal [`solution`\nfield](https://github.com/elastic/kibana/issues/212017), that we don't\nwant to expose publicly.\n\n## Verification steps\n\n1. Create rules that fire alerts\n2. Verify the usages of the moved/changed hooks, with limited privileges\nas well (i.e. only `Rules Settings` but not `Stack Rules`):\n2.1. Stack management and Observability rules, rule details and alerts\npages\n2.2. Rules tab in the Connector editor flyout\n2.3. Alerts table row actions (••• icon)\n2.4. Tags filter in the rules list page\n3. Using the DevTools, compare the response of the public and internal\n`rule_types` endpoins:\n ```\n GET kbn:/api/alerting/rule_types\n GET kbn:/internal/alerting/_rule_types\n ```\nChecking that the `solution` field is present only in the internal one\n\n## References \n\nCloses #213059 \n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7aac590af4e245049f3865ea23ed88a179a80a28"}},{"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> Co-authored-by: Alex Szabo <alex.szabo@elastic.co> |
||
|
485175a7c5
|
[8.x] [Security Solution] Move files from detections folder to detection_engine folder (#215085) (#215923)
# Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Move files from detections folder to detection_engine folder (#215085)](https://github.com/elastic/kibana/pull/215085) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-03-25T13:51:50Z","message":"[Security Solution] Move files from detections folder to detection_engine folder (#215085)\n\n## Summary\n\nThis PR is - at its core - only moving a handful of files around. A lot\nof of these files lived under the `detections` folder, but were almost\nexclusively used in files under the `detection_engine` folder. This is\nwhy the PR seems so huge. Almost everything modified here is only files\nimports...\n\nHere are the few files that were actually moved around:\n\n1. The files `detection_engine.tsx`, `detection_engine_no_index.tsx`,\n`detection_engine_user_unauthenticated.tsx` (and their respective test\nfiles) have been moved from\n`security_solution/public/detections/pages/detection_engine` to\n`security_solution/public/detections/pages/alerts`. I thought about\nrenaming them as well, but felt like there was already enough changes.\nRenaming will be done in a follow up PR.\n\n2. The content of the\n`security_solution/public/detections/pages/detection_engine/rules`\nfolder was moved to `security_solution/public/detection_engine/common`\nas almost the entire folder content is only used within the\n`security_solution/public/detection_engine` folder.\n\n#### Notes\n\n_If there is a better folder for the files moved to the\n`detection_engine/common` folder, feel free to suggest. I'll be happy to\nmake the change!_\n\nThe CODEOWNERS file has been updated and simplified accordingly.\n\nOnly imports should have been modified. No code, logic or UI changes!\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"4b2846452083943672cc7bee1a43cbcf06915903","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat Hunting:Investigations","backport:version","v9.1.0","v8.19.0"],"title":"[Security Solution] Move files from detections folder to detection_engine folder","number":215085,"url":"https://github.com/elastic/kibana/pull/215085","mergeCommit":{"message":"[Security Solution] Move files from detections folder to detection_engine folder (#215085)\n\n## Summary\n\nThis PR is - at its core - only moving a handful of files around. A lot\nof of these files lived under the `detections` folder, but were almost\nexclusively used in files under the `detection_engine` folder. This is\nwhy the PR seems so huge. Almost everything modified here is only files\nimports...\n\nHere are the few files that were actually moved around:\n\n1. The files `detection_engine.tsx`, `detection_engine_no_index.tsx`,\n`detection_engine_user_unauthenticated.tsx` (and their respective test\nfiles) have been moved from\n`security_solution/public/detections/pages/detection_engine` to\n`security_solution/public/detections/pages/alerts`. I thought about\nrenaming them as well, but felt like there was already enough changes.\nRenaming will be done in a follow up PR.\n\n2. The content of the\n`security_solution/public/detections/pages/detection_engine/rules`\nfolder was moved to `security_solution/public/detection_engine/common`\nas almost the entire folder content is only used within the\n`security_solution/public/detection_engine` folder.\n\n#### Notes\n\n_If there is a better folder for the files moved to the\n`detection_engine/common` folder, feel free to suggest. I'll be happy to\nmake the change!_\n\nThe CODEOWNERS file has been updated and simplified accordingly.\n\nOnly imports should have been modified. No code, logic or UI changes!\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"4b2846452083943672cc7bee1a43cbcf06915903"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215085","number":215085,"mergeCommit":{"message":"[Security Solution] Move files from detections folder to detection_engine folder (#215085)\n\n## Summary\n\nThis PR is - at its core - only moving a handful of files around. A lot\nof of these files lived under the `detections` folder, but were almost\nexclusively used in files under the `detection_engine` folder. This is\nwhy the PR seems so huge. Almost everything modified here is only files\nimports...\n\nHere are the few files that were actually moved around:\n\n1. The files `detection_engine.tsx`, `detection_engine_no_index.tsx`,\n`detection_engine_user_unauthenticated.tsx` (and their respective test\nfiles) have been moved from\n`security_solution/public/detections/pages/detection_engine` to\n`security_solution/public/detections/pages/alerts`. I thought about\nrenaming them as well, but felt like there was already enough changes.\nRenaming will be done in a follow up PR.\n\n2. The content of the\n`security_solution/public/detections/pages/detection_engine/rules`\nfolder was moved to `security_solution/public/detection_engine/common`\nas almost the entire folder content is only used within the\n`security_solution/public/detection_engine` folder.\n\n#### Notes\n\n_If there is a better folder for the files moved to the\n`detection_engine/common` folder, feel free to suggest. I'll be happy to\nmake the change!_\n\nThe CODEOWNERS file has been updated and simplified accordingly.\n\nOnly imports should have been modified. No code, logic or UI changes!\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"4b2846452083943672cc7bee1a43cbcf06915903"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
a2a8a0e9a8
|
[8.x] [ResponseOps][Alerts] Create embeddable alerts table plugin (#213909) (#215861)
# Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Alerts] Create embeddable alerts table plugin (#213909)](https://github.com/elastic/kibana/pull/213909) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Umberto Pepato","email":"umbopepato@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-21T10:02:54Z","message":"[ResponseOps][Alerts] Create embeddable alerts table plugin (#213909)\n\n## Summary\n\nCreates a wrapper plugin around the alerts table, that registers a basic\nalerts table embeddable panel for dashboards.\n\n> [!NOTE]\n> This PR is a preparation work for the [embeddable alerts\ntable](https://github.com/elastic/kibana/issues/197483). The feature is\ndisabled for end-users while waiting for other dependent PRs to be\nintegrated with this, and uses a partially hard-coded table\nconfiguration for testing purposes. The final panel will be fully\nconfigurable by the user.\n\n## Verification steps\n\n1. Uncomment this line\n\n |
||
|
ca54d59f2f
|
[8.x] [Query Rules]Query rules UI plugin (#215029) (#215608)
# Backport This will backport the following commits from `main` to `8.x`: - [[Query Rules]Query rules UI plugin (#215029)](https://github.com/elastic/kibana/pull/215029) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Efe Gürkan YALAMAN","email":"efeguerkan.yalaman@elastic.co"},"sourceCommit":{"committedDate":"2025-03-21T14:19:25Z","message":"[Query Rules]Query rules UI plugin (#215029)\n\n## Summary\n\nAdds Query Rules UI Plugin. It is disabled and pretty much empty as we\nwant to split the implementation in multiple parts and enable the\nfeature once implementation is done.\n\nIt is disabled for Security.\nIt is disabled for Observability.\nIt is enabled but behind a feature flag for Search while it is not\nuseful to enable it with partial implementations.\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"62f8027c57477ca5a7366b8046e73ac4dcb1789a","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Search","backport:version","v9.1.0","v8.19.0"],"title":"[Query Rules]Query rules UI plugin","number":215029,"url":"https://github.com/elastic/kibana/pull/215029","mergeCommit":{"message":"[Query Rules]Query rules UI plugin (#215029)\n\n## Summary\n\nAdds Query Rules UI Plugin. It is disabled and pretty much empty as we\nwant to split the implementation in multiple parts and enable the\nfeature once implementation is done.\n\nIt is disabled for Security.\nIt is disabled for Observability.\nIt is enabled but behind a feature flag for Search while it is not\nuseful to enable it with partial implementations.\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"62f8027c57477ca5a7366b8046e73ac4dcb1789a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215029","number":215029,"mergeCommit":{"message":"[Query Rules]Query rules UI plugin (#215029)\n\n## Summary\n\nAdds Query Rules UI Plugin. It is disabled and pretty much empty as we\nwant to split the implementation in multiple parts and enable the\nfeature once implementation is done.\n\nIt is disabled for Security.\nIt is disabled for Observability.\nIt is enabled but behind a feature flag for Search while it is not\nuseful to enable it with partial implementations.\n\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [ ]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"62f8027c57477ca5a7366b8046e73ac4dcb1789a"}},{"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> |
||
|
4d53520eea
|
[8.x] initial @kbn/scout-security plugin (#210433) (#215527)
# Backport This will backport the following commits from `main` to `8.x`: - [initial @kbn/scout-security plugin (#210433)](https://github.com/elastic/kibana/pull/210433) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Gloria Hornero","email":"gloria.hornero@elastic.co"},"sourceCommit":{"committedDate":"2025-03-21T10:59:30Z","message":"initial @kbn/scout-security plugin (#210433)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/210298\n\nIn this PR we are adding the initial structure for the\n@kibana/scout-security package, note that this is not ready to be used\nand any new test using this package, is not going to be executed as part\nof the regular pipelines, meaning, you are not going to add coverage to\nthe application. \n\n@kibana/scout-security package is a test package that extends @kbn/scout\nwith test helpers specifically designed to test Security Solution\nfunctionalities in Kibana. All tests under Security plugins should only\nimport from @kbn/scout-security, not from @kbn/scout. \n\nThis PR is a POC to start testing development by providing custom\nPlaywright fixtures, page objects, and utilities tailored for\nSecurity-related testing scenarios.\n\nThings to follow-up: \n\n- CustomQueryRule interface is already declared in\n`x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_schemas.gen.ts`\nas `QueryRuleCreateProps` \n- DETECTION_ENGINE_RULES_URL and DETECTION_ENGINE_RULES_BULK_ACTION are\nalready declared in `@kbn/security-solution-plugin/common/constants`\n\nIt would be great if all of that is extracted from the plugin to a\npackage so it can be reused instead of having to duplicate the code.\n\nUntil the package is not ready to be used and has not been introduced to\nthe different teams, appex-qa and myself will be the owners of it to\nmake sure that best practices are followed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>","sha":"d5a0501fb8148b4274a00921a6061d850b142f28","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: SecuritySolution","backport:version","Team: Sec Eng Productivity","test:scout","v9.1.0","v8.19.0"],"title":"initial @kbn/scout-security plugin","number":210433,"url":"https://github.com/elastic/kibana/pull/210433","mergeCommit":{"message":"initial @kbn/scout-security plugin (#210433)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/210298\n\nIn this PR we are adding the initial structure for the\n@kibana/scout-security package, note that this is not ready to be used\nand any new test using this package, is not going to be executed as part\nof the regular pipelines, meaning, you are not going to add coverage to\nthe application. \n\n@kibana/scout-security package is a test package that extends @kbn/scout\nwith test helpers specifically designed to test Security Solution\nfunctionalities in Kibana. All tests under Security plugins should only\nimport from @kbn/scout-security, not from @kbn/scout. \n\nThis PR is a POC to start testing development by providing custom\nPlaywright fixtures, page objects, and utilities tailored for\nSecurity-related testing scenarios.\n\nThings to follow-up: \n\n- CustomQueryRule interface is already declared in\n`x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_schemas.gen.ts`\nas `QueryRuleCreateProps` \n- DETECTION_ENGINE_RULES_URL and DETECTION_ENGINE_RULES_BULK_ACTION are\nalready declared in `@kbn/security-solution-plugin/common/constants`\n\nIt would be great if all of that is extracted from the plugin to a\npackage so it can be reused instead of having to duplicate the code.\n\nUntil the package is not ready to be used and has not been introduced to\nthe different teams, appex-qa and myself will be the owners of it to\nmake sure that best practices are followed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>","sha":"d5a0501fb8148b4274a00921a6061d850b142f28"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210433","number":210433,"mergeCommit":{"message":"initial @kbn/scout-security plugin (#210433)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/210298\n\nIn this PR we are adding the initial structure for the\n@kibana/scout-security package, note that this is not ready to be used\nand any new test using this package, is not going to be executed as part\nof the regular pipelines, meaning, you are not going to add coverage to\nthe application. \n\n@kibana/scout-security package is a test package that extends @kbn/scout\nwith test helpers specifically designed to test Security Solution\nfunctionalities in Kibana. All tests under Security plugins should only\nimport from @kbn/scout-security, not from @kbn/scout. \n\nThis PR is a POC to start testing development by providing custom\nPlaywright fixtures, page objects, and utilities tailored for\nSecurity-related testing scenarios.\n\nThings to follow-up: \n\n- CustomQueryRule interface is already declared in\n`x-pack/solutions/security/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_schemas.gen.ts`\nas `QueryRuleCreateProps` \n- DETECTION_ENGINE_RULES_URL and DETECTION_ENGINE_RULES_BULK_ACTION are\nalready declared in `@kbn/security-solution-plugin/common/constants`\n\nIt would be great if all of that is extracted from the plugin to a\npackage so it can be reused instead of having to duplicate the code.\n\nUntil the package is not ready to be used and has not been introduced to\nthe different teams, appex-qa and myself will be the owners of it to\nmake sure that best practices are followed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>","sha":"d5a0501fb8148b4274a00921a6061d850b142f28"}},{"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> Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co> |
||
|
b866dc9159
|
[8.x] [scout] extend config-discovery with CI validator (#214403) (#215343)
# Backport This will backport the following commits from `main` to `8.x`: - [[scout] extend config-discovery with CI validator (#214403)](https://github.com/elastic/kibana/pull/214403) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-03-18T20:24:54Z","message":"[scout] extend config-discovery with CI validator (#214403)\n\n## Summary\n\nMore teams are adding Scout tests in their plugins, often as a PoC and\nnot stable yet for continuous execution.\nWe don't want to block it, but need a way to manage the scope of Scout\npipeline and be able to disable it quickly to unblock the Scout\ndevelopment.\n\nSince Scout is in active development and we need it to be simple and\nquick as possible (we can iterate and improve later), we agreed with\nRobert to disable tests by plugin:\n\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n - observability_onboarding\n disabled:\n - *skipped_plugin*\n```\n\nWhen scout configuration is added to the new plugin, it will require to\nupdate `.buildkite/scout_ci_config.yml` that is owned by `appex-qa`\nteam. If there is no intention to run Scout tests on CI, plugin name\nshould be added under `disabled` section.\n\n**How to test locally:**\n\n- Scout tests were added in `observability_onboarding` plugin, pipeline\nwill throw error\n\nmodify locally `.buildkite/scout_ci_config.yml`\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n disabled:\n```\n\nrun `node scripts/scout discover-playwright-configs --validate --save`\n\n```\nERROR The following plugins are not registered in Scout CI config '.buildkite/scout_ci_config.yml'\n - observability_onboarding\n```\n\n~~On CI annotation will be added to clarify the failure:~~\n\nwe decided to move validation to \"Quick Checks\", no need to annotate.\n\n<img width=\"1583\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/ed6b5778-74cb-4473-8218-b96239aab067\"\n/>\n\n\n- `observability_onboarding` plugin is disabled, pipeline won't include\nit (excluded in `scout_playwright_configs.json`)\n\nmodify locally `.buildkite/scout_ci_config.yml`\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n disabled:\n - observability_onboarding\n```\n\nrun `node scripts/scout discover-playwright-configs --validate --save`\n\n```\n warn The following plugins are disabled in '.buildkite/scout_ci_config.yml' and will be excluded from CI run\n - observability_onboarding\n info Found Playwright config files in '4' plugins.\n Saved '3' plugins to '/Users/dmle/github/kibana/.scout/test_configs/scout_playwright_configs.json'\n```","sha":"05447fe978cd5fedbbaaf09e3f3d8ee41b760366","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","test:scout","v9.1.0","v8.19.0"],"title":"[scout] extend config-discovery with CI validator","number":214403,"url":"https://github.com/elastic/kibana/pull/214403","mergeCommit":{"message":"[scout] extend config-discovery with CI validator (#214403)\n\n## Summary\n\nMore teams are adding Scout tests in their plugins, often as a PoC and\nnot stable yet for continuous execution.\nWe don't want to block it, but need a way to manage the scope of Scout\npipeline and be able to disable it quickly to unblock the Scout\ndevelopment.\n\nSince Scout is in active development and we need it to be simple and\nquick as possible (we can iterate and improve later), we agreed with\nRobert to disable tests by plugin:\n\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n - observability_onboarding\n disabled:\n - *skipped_plugin*\n```\n\nWhen scout configuration is added to the new plugin, it will require to\nupdate `.buildkite/scout_ci_config.yml` that is owned by `appex-qa`\nteam. If there is no intention to run Scout tests on CI, plugin name\nshould be added under `disabled` section.\n\n**How to test locally:**\n\n- Scout tests were added in `observability_onboarding` plugin, pipeline\nwill throw error\n\nmodify locally `.buildkite/scout_ci_config.yml`\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n disabled:\n```\n\nrun `node scripts/scout discover-playwright-configs --validate --save`\n\n```\nERROR The following plugins are not registered in Scout CI config '.buildkite/scout_ci_config.yml'\n - observability_onboarding\n```\n\n~~On CI annotation will be added to clarify the failure:~~\n\nwe decided to move validation to \"Quick Checks\", no need to annotate.\n\n<img width=\"1583\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/ed6b5778-74cb-4473-8218-b96239aab067\"\n/>\n\n\n- `observability_onboarding` plugin is disabled, pipeline won't include\nit (excluded in `scout_playwright_configs.json`)\n\nmodify locally `.buildkite/scout_ci_config.yml`\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n disabled:\n - observability_onboarding\n```\n\nrun `node scripts/scout discover-playwright-configs --validate --save`\n\n```\n warn The following plugins are disabled in '.buildkite/scout_ci_config.yml' and will be excluded from CI run\n - observability_onboarding\n info Found Playwright config files in '4' plugins.\n Saved '3' plugins to '/Users/dmle/github/kibana/.scout/test_configs/scout_playwright_configs.json'\n```","sha":"05447fe978cd5fedbbaaf09e3f3d8ee41b760366"}},"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/215340","number":215340,"state":"OPEN"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214403","number":214403,"mergeCommit":{"message":"[scout] extend config-discovery with CI validator (#214403)\n\n## Summary\n\nMore teams are adding Scout tests in their plugins, often as a PoC and\nnot stable yet for continuous execution.\nWe don't want to block it, but need a way to manage the scope of Scout\npipeline and be able to disable it quickly to unblock the Scout\ndevelopment.\n\nSince Scout is in active development and we need it to be simple and\nquick as possible (we can iterate and improve later), we agreed with\nRobert to disable tests by plugin:\n\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n - observability_onboarding\n disabled:\n - *skipped_plugin*\n```\n\nWhen scout configuration is added to the new plugin, it will require to\nupdate `.buildkite/scout_ci_config.yml` that is owned by `appex-qa`\nteam. If there is no intention to run Scout tests on CI, plugin name\nshould be added under `disabled` section.\n\n**How to test locally:**\n\n- Scout tests were added in `observability_onboarding` plugin, pipeline\nwill throw error\n\nmodify locally `.buildkite/scout_ci_config.yml`\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n disabled:\n```\n\nrun `node scripts/scout discover-playwright-configs --validate --save`\n\n```\nERROR The following plugins are not registered in Scout CI config '.buildkite/scout_ci_config.yml'\n - observability_onboarding\n```\n\n~~On CI annotation will be added to clarify the failure:~~\n\nwe decided to move validation to \"Quick Checks\", no need to annotate.\n\n<img width=\"1583\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/ed6b5778-74cb-4473-8218-b96239aab067\"\n/>\n\n\n- `observability_onboarding` plugin is disabled, pipeline won't include\nit (excluded in `scout_playwright_configs.json`)\n\nmodify locally `.buildkite/scout_ci_config.yml`\n```\nui_tests:\n enabled:\n - apm\n - discover_enhanced\n - maps\n disabled:\n - observability_onboarding\n```\n\nrun `node scripts/scout discover-playwright-configs --validate --save`\n\n```\n warn The following plugins are disabled in '.buildkite/scout_ci_config.yml' and will be excluded from CI run\n - observability_onboarding\n info Found Playwright config files in '4' plugins.\n Saved '3' plugins to '/Users/dmle/github/kibana/.scout/test_configs/scout_playwright_configs.json'\n```","sha":"05447fe978cd5fedbbaaf09e3f3d8ee41b760366"}},{"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> |
||
|
2d8b76bb48
|
[8.x] chore(security,codeql): exclude more dev/test folders from CodeQL scans (#215303) (#215316)
# Backport This will backport the following commits from `main` to `8.x`: - [chore(security,codeql): exclude more dev/test folders from CodeQL scans (#215303)](https://github.com/elastic/kibana/pull/215303) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Aleh Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2025-03-20T11:05:16Z","message":"chore(security,codeql): exclude more dev/test folders from CodeQL scans (#215303)\n\n## Summary\n\nExclude more dev/test folders from CodeQL scans","sha":"38de01504bac45f793d59b9c135dc18b2ecf7199","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","security","v9.0.0","backport:version","v9.1.0","v8.19.0"],"title":"chore(security,codeql): exclude more dev/test folders from CodeQL scans","number":215303,"url":"https://github.com/elastic/kibana/pull/215303","mergeCommit":{"message":"chore(security,codeql): exclude more dev/test folders from CodeQL scans (#215303)\n\n## Summary\n\nExclude more dev/test folders from CodeQL scans","sha":"38de01504bac45f793d59b9c135dc18b2ecf7199"}},"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/215303","number":215303,"mergeCommit":{"message":"chore(security,codeql): exclude more dev/test folders from CodeQL scans (#215303)\n\n## Summary\n\nExclude more dev/test folders from CodeQL scans","sha":"38de01504bac45f793d59b9c135dc18b2ecf7199"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co> |
||
|
e7d1c9215e
|
[8.x] [Streams] [Dedicated Grok UI] Package / highlight matched parts / suggestions (#213278) (#215204)
# Backport This will backport the following commits from `main` to `8.x`: - [[Streams] [Dedicated Grok UI] Package / highlight matched parts / suggestions (#213278)](https://github.com/elastic/kibana/pull/213278) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Kerry Gallagher","email":"kerry.gallagher@elastic.co"},"sourceCommit":{"committedDate":"2025-03-18T22:56:58Z","message":"[Streams] [Dedicated Grok UI] Package / highlight matched parts / suggestions (#213278)\n\n## Summary\n\nCloses https://github.com/elastic/streams-program/issues/170 and\nhttps://github.com/elastic/streams-program/issues/171\n\n## Reviewer notes\n\nIt's worth reading the research in\nhttps://github.com/elastic/streams-program/issues/168 to understand why\ncertain decisions were made. Some of the resolving code is inspired by\n`grok-js`, unfortunately this wasn't something we could use directly.\n\nThe design / UX is **not** final. This is just a functional version. The\neditor is currently on the streams > enrichment page so it can be played\nwith, this will **not** be merged.\n\nThere is pattern support for our ECS patterns, I have not added the\nlegacy ones.\n\nThere will almost certainly be some edge cases that don't work, every\nrepo for a Grok tool I looked at had their own 😅 I've tried to test this\nwith lots of varied examples though.\n\nI'd recommend unticking \"No extension\" from the file filter to remove\nthe pattern files.\n\n<img width=\"323\" alt=\"Screenshot 2025-03-06 at 22 40 19\"\nsrc=\"https://github.com/user-attachments/assets/5b594f5f-0b0f-4ed0-ae10-2412fcf9e31a\"\n/>\n\n## Possible improvements / followups\n\n- We could in the future expand the UI to toggle on and off certain\npattern collections.\n\n- Ability to add custom patterns (like in our Grok debugger). This can\nstill be achieved with `(?<queue_id>[0-9A-F]{10,11})` syntax.\n\n- Point out when regex is invalid (right now it's silent).\n\n- I've copied over the patterns from the ES repo for now, with a light\nscript to generate an object from them. There's a CLI skeleton in place\nif we feel we want to actually pull these from the ES repo directly.\nThese patterns don't change often, and aren't heavy size wise.\n\n- Debouncing etc for processing, but I'd like to see how the final UX\nends up.\n\n## Media\n\nScreenshot\n\n\n\nSimple example\n\n\n\n\nComplex example\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"f9783504bbc9993027967c36cdcfb8d2a37bddfb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"[Streams] [Dedicated Grok UI] Package / highlight matched parts / suggestions","number":213278,"url":"https://github.com/elastic/kibana/pull/213278","mergeCommit":{"message":"[Streams] [Dedicated Grok UI] Package / highlight matched parts / suggestions (#213278)\n\n## Summary\n\nCloses https://github.com/elastic/streams-program/issues/170 and\nhttps://github.com/elastic/streams-program/issues/171\n\n## Reviewer notes\n\nIt's worth reading the research in\nhttps://github.com/elastic/streams-program/issues/168 to understand why\ncertain decisions were made. Some of the resolving code is inspired by\n`grok-js`, unfortunately this wasn't something we could use directly.\n\nThe design / UX is **not** final. This is just a functional version. The\neditor is currently on the streams > enrichment page so it can be played\nwith, this will **not** be merged.\n\nThere is pattern support for our ECS patterns, I have not added the\nlegacy ones.\n\nThere will almost certainly be some edge cases that don't work, every\nrepo for a Grok tool I looked at had their own 😅 I've tried to test this\nwith lots of varied examples though.\n\nI'd recommend unticking \"No extension\" from the file filter to remove\nthe pattern files.\n\n<img width=\"323\" alt=\"Screenshot 2025-03-06 at 22 40 19\"\nsrc=\"https://github.com/user-attachments/assets/5b594f5f-0b0f-4ed0-ae10-2412fcf9e31a\"\n/>\n\n## Possible improvements / followups\n\n- We could in the future expand the UI to toggle on and off certain\npattern collections.\n\n- Ability to add custom patterns (like in our Grok debugger). This can\nstill be achieved with `(?<queue_id>[0-9A-F]{10,11})` syntax.\n\n- Point out when regex is invalid (right now it's silent).\n\n- I've copied over the patterns from the ES repo for now, with a light\nscript to generate an object from them. There's a CLI skeleton in place\nif we feel we want to actually pull these from the ES repo directly.\nThese patterns don't change often, and aren't heavy size wise.\n\n- Debouncing etc for processing, but I'd like to see how the final UX\nends up.\n\n## Media\n\nScreenshot\n\n\n\nSimple example\n\n\n\n\nComplex example\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"f9783504bbc9993027967c36cdcfb8d2a37bddfb"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213278","number":213278,"mergeCommit":{"message":"[Streams] [Dedicated Grok UI] Package / highlight matched parts / suggestions (#213278)\n\n## Summary\n\nCloses https://github.com/elastic/streams-program/issues/170 and\nhttps://github.com/elastic/streams-program/issues/171\n\n## Reviewer notes\n\nIt's worth reading the research in\nhttps://github.com/elastic/streams-program/issues/168 to understand why\ncertain decisions were made. Some of the resolving code is inspired by\n`grok-js`, unfortunately this wasn't something we could use directly.\n\nThe design / UX is **not** final. This is just a functional version. The\neditor is currently on the streams > enrichment page so it can be played\nwith, this will **not** be merged.\n\nThere is pattern support for our ECS patterns, I have not added the\nlegacy ones.\n\nThere will almost certainly be some edge cases that don't work, every\nrepo for a Grok tool I looked at had their own 😅 I've tried to test this\nwith lots of varied examples though.\n\nI'd recommend unticking \"No extension\" from the file filter to remove\nthe pattern files.\n\n<img width=\"323\" alt=\"Screenshot 2025-03-06 at 22 40 19\"\nsrc=\"https://github.com/user-attachments/assets/5b594f5f-0b0f-4ed0-ae10-2412fcf9e31a\"\n/>\n\n## Possible improvements / followups\n\n- We could in the future expand the UI to toggle on and off certain\npattern collections.\n\n- Ability to add custom patterns (like in our Grok debugger). This can\nstill be achieved with `(?<queue_id>[0-9A-F]{10,11})` syntax.\n\n- Point out when regex is invalid (right now it's silent).\n\n- I've copied over the patterns from the ES repo for now, with a light\nscript to generate an object from them. There's a CLI skeleton in place\nif we feel we want to actually pull these from the ES repo directly.\nThese patterns don't change often, and aren't heavy size wise.\n\n- Debouncing etc for processing, but I'd like to see how the final UX\nends up.\n\n## Media\n\nScreenshot\n\n\n\nSimple example\n\n\n\n\nComplex example\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"f9783504bbc9993027967c36cdcfb8d2a37bddfb"}},{"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> |
||
|
ec8bdf0054
|
[8.x] [Streams] Replay loghub data with synthtrace (#212120) (#214916)
# Backport This will backport the following commits from `main` to `8.x`: - [[Streams] Replay loghub data with synthtrace (#212120)](https://github.com/elastic/kibana/pull/212120) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-03-11T12:30:06Z","message":"[Streams] Replay loghub data with synthtrace (#212120)\n\nDownload, parse and replay loghub data with Synthtrace, for use in the\nStreams project. In summary:\n\n- adds a `@kbn/sample-log-parser` package which parses Loghub sample\ndata, creates valid parsers for extracting and replacing timestamps,\nusing the LLM\n- add a `sample_logs` scenario which uses the parsed data sets to replay\nLoghub data continuously as if it were live data\n- refactor some parts of Synthtrace (follow-up work captured in\nhttps://github.com/elastic/kibana/issues/212179)\n\n## Synthtrace changes\n\n- Replace custom Logger object with Kibana-standard ToolingLog\n- Report progress and estimated time to completion for long-running jobs\n- Simplify scenarioOpts (allow comma-separated key-value pairs instead\nof just JSON)\n- Simplify client initialization\n- When using workers, only bootstrap once (in the main thread)\n- Allow workers to gracefully shutdown\n- Downgrade some logging levels for less noise\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ba13e86a70c331275d40ed8f84c3f264845afc6e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"[Streams] Replay loghub data with synthtrace","number":212120,"url":"https://github.com/elastic/kibana/pull/212120","mergeCommit":{"message":"[Streams] Replay loghub data with synthtrace (#212120)\n\nDownload, parse and replay loghub data with Synthtrace, for use in the\nStreams project. In summary:\n\n- adds a `@kbn/sample-log-parser` package which parses Loghub sample\ndata, creates valid parsers for extracting and replacing timestamps,\nusing the LLM\n- add a `sample_logs` scenario which uses the parsed data sets to replay\nLoghub data continuously as if it were live data\n- refactor some parts of Synthtrace (follow-up work captured in\nhttps://github.com/elastic/kibana/issues/212179)\n\n## Synthtrace changes\n\n- Replace custom Logger object with Kibana-standard ToolingLog\n- Report progress and estimated time to completion for long-running jobs\n- Simplify scenarioOpts (allow comma-separated key-value pairs instead\nof just JSON)\n- Simplify client initialization\n- When using workers, only bootstrap once (in the main thread)\n- Allow workers to gracefully shutdown\n- Downgrade some logging levels for less noise\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ba13e86a70c331275d40ed8f84c3f264845afc6e"}},"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/212120","number":212120,"mergeCommit":{"message":"[Streams] Replay loghub data with synthtrace (#212120)\n\nDownload, parse and replay loghub data with Synthtrace, for use in the\nStreams project. In summary:\n\n- adds a `@kbn/sample-log-parser` package which parses Loghub sample\ndata, creates valid parsers for extracting and replacing timestamps,\nusing the LLM\n- add a `sample_logs` scenario which uses the parsed data sets to replay\nLoghub data continuously as if it were live data\n- refactor some parts of Synthtrace (follow-up work captured in\nhttps://github.com/elastic/kibana/issues/212179)\n\n## Synthtrace changes\n\n- Replace custom Logger object with Kibana-standard ToolingLog\n- Report progress and estimated time to completion for long-running jobs\n- Simplify scenarioOpts (allow comma-separated key-value pairs instead\nof just JSON)\n- Simplify client initialization\n- When using workers, only bootstrap once (in the main thread)\n- Allow workers to gracefully shutdown\n- Downgrade some logging levels for less noise\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"ba13e86a70c331275d40ed8f84c3f264845afc6e"}},{"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> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
127674d46d
|
[8.x] Upgrade to Storybook 8 (#195148) (#214681)
# Backport This will backport the following commits from `main` to `8.x`: - [Upgrade to Storybook 8 (#195148)](https://github.com/elastic/kibana/pull/195148) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-14T22:41:03Z","message":"Upgrade to Storybook 8 (#195148)\n\n## Summary\n\nDepends on #191106\nCloses #171591\n\nThis PR migrates Storybook from `6.x` to `8.x`. Please see the\n[migration\nguide](https://storybook.js.org/docs/migration-guide/from-older-version)\nfor an overview of the changes because there are many breaking changes\nwhich effect Kibana. The TODO list below is not inclusive of all the\nchanges.\n\n## Reviewers\n### Each commit contains all files changed for a specific codeowner,\nplease find your respective commit to make review easier.\n\nA **first step before code review** should be checking the [`Storybooks\nPreview`](https://ci-artifacts.kibana.dev/storybooks/pr-195148/index.html)\nfrom CI for any runtime or style issues which were missed. The preview\ncan be compared to a build from `main`\n[here](https://ci-artifacts.kibana.dev/storybooks/pr-212585/index.html).\nIt is worth noting that some stories have runtime issues which existed\nbefore this migration.\n\nMost stories appear to have been migrated properly, but the Operations\nteam does not have prior knowledge into every story. Some of the\nmigration was able to be automated through Storybook provided scripts.\nIt is possible this wasn't entirely correct due to the structure of some\nstories. Additionally, part of this migration is moving Storybook to\nWebpack 5 which changed how styles are being loaded.\n\n#### TODO\n- [x] Migrate `stories.mdx`\n- [x] storyshots\n- [x] [Migrate\npackages](https://storybook.js.org/docs/migration-guide/from-older-version#package-structure-changes)\nwhich were removed in `8.0`\n- [x] `react-doc-gen` resolution\n- [x] [Migrate\nblocks](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#addon-docs-removed-deprecated-blocksjs-entry)\n- [x] Migrate deprecated `addon-knobs` to\n[addon-controls](https://www.npmjs.com/package/@storybook/addon-controls)\n- [x] React Fast Refresh support\n- [x] Watch flag callback\n- [x] `canvas` webpack\n- [x] Rerun CSF migrations for new stories\n- [x] Handle ESM import for `addon-docs`\n- [x] `'@storybook/addon-actions' should be listed in the project's\ndependencies. Run 'npm i -S @storybook/addon-actions' to add\niteslint[import/no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-extraneous-dependencies.md)`\n- [x] `addDecorator` migration \n- [x] `addParameter` migration\n- [x] static build\n- [ ] determine if #176500 is solved or push to followup PR\n - This will need to be fixed separately\n- [x] revert `.buildkite/pipelines/pull_request/base.yml` &\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to `main`\n\n---------\n\nCo-authored-by: Tiago Costa <tiago.costa@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Jacek Kolezynski <jacek.kolezynski@elastic.co>\nCo-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>\nCo-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>","sha":"403b5f23636d61809d23851f856ff0e26235b22f","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","Team:Fleet","v9.0.0","ci:build-storybooks","Team:Obs AI Assistant","backport:version","v9.1.0","v8.19.0"],"title":"Upgrade to Storybook 8","number":195148,"url":"https://github.com/elastic/kibana/pull/195148","mergeCommit":{"message":"Upgrade to Storybook 8 (#195148)\n\n## Summary\n\nDepends on #191106\nCloses #171591\n\nThis PR migrates Storybook from `6.x` to `8.x`. Please see the\n[migration\nguide](https://storybook.js.org/docs/migration-guide/from-older-version)\nfor an overview of the changes because there are many breaking changes\nwhich effect Kibana. The TODO list below is not inclusive of all the\nchanges.\n\n## Reviewers\n### Each commit contains all files changed for a specific codeowner,\nplease find your respective commit to make review easier.\n\nA **first step before code review** should be checking the [`Storybooks\nPreview`](https://ci-artifacts.kibana.dev/storybooks/pr-195148/index.html)\nfrom CI for any runtime or style issues which were missed. The preview\ncan be compared to a build from `main`\n[here](https://ci-artifacts.kibana.dev/storybooks/pr-212585/index.html).\nIt is worth noting that some stories have runtime issues which existed\nbefore this migration.\n\nMost stories appear to have been migrated properly, but the Operations\nteam does not have prior knowledge into every story. Some of the\nmigration was able to be automated through Storybook provided scripts.\nIt is possible this wasn't entirely correct due to the structure of some\nstories. Additionally, part of this migration is moving Storybook to\nWebpack 5 which changed how styles are being loaded.\n\n#### TODO\n- [x] Migrate `stories.mdx`\n- [x] storyshots\n- [x] [Migrate\npackages](https://storybook.js.org/docs/migration-guide/from-older-version#package-structure-changes)\nwhich were removed in `8.0`\n- [x] `react-doc-gen` resolution\n- [x] [Migrate\nblocks](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#addon-docs-removed-deprecated-blocksjs-entry)\n- [x] Migrate deprecated `addon-knobs` to\n[addon-controls](https://www.npmjs.com/package/@storybook/addon-controls)\n- [x] React Fast Refresh support\n- [x] Watch flag callback\n- [x] `canvas` webpack\n- [x] Rerun CSF migrations for new stories\n- [x] Handle ESM import for `addon-docs`\n- [x] `'@storybook/addon-actions' should be listed in the project's\ndependencies. Run 'npm i -S @storybook/addon-actions' to add\niteslint[import/no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-extraneous-dependencies.md)`\n- [x] `addDecorator` migration \n- [x] `addParameter` migration\n- [x] static build\n- [ ] determine if #176500 is solved or push to followup PR\n - This will need to be fixed separately\n- [x] revert `.buildkite/pipelines/pull_request/base.yml` &\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to `main`\n\n---------\n\nCo-authored-by: Tiago Costa <tiago.costa@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Jacek Kolezynski <jacek.kolezynski@elastic.co>\nCo-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>\nCo-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>","sha":"403b5f23636d61809d23851f856ff0e26235b22f"}},"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/195148","number":195148,"mergeCommit":{"message":"Upgrade to Storybook 8 (#195148)\n\n## Summary\n\nDepends on #191106\nCloses #171591\n\nThis PR migrates Storybook from `6.x` to `8.x`. Please see the\n[migration\nguide](https://storybook.js.org/docs/migration-guide/from-older-version)\nfor an overview of the changes because there are many breaking changes\nwhich effect Kibana. The TODO list below is not inclusive of all the\nchanges.\n\n## Reviewers\n### Each commit contains all files changed for a specific codeowner,\nplease find your respective commit to make review easier.\n\nA **first step before code review** should be checking the [`Storybooks\nPreview`](https://ci-artifacts.kibana.dev/storybooks/pr-195148/index.html)\nfrom CI for any runtime or style issues which were missed. The preview\ncan be compared to a build from `main`\n[here](https://ci-artifacts.kibana.dev/storybooks/pr-212585/index.html).\nIt is worth noting that some stories have runtime issues which existed\nbefore this migration.\n\nMost stories appear to have been migrated properly, but the Operations\nteam does not have prior knowledge into every story. Some of the\nmigration was able to be automated through Storybook provided scripts.\nIt is possible this wasn't entirely correct due to the structure of some\nstories. Additionally, part of this migration is moving Storybook to\nWebpack 5 which changed how styles are being loaded.\n\n#### TODO\n- [x] Migrate `stories.mdx`\n- [x] storyshots\n- [x] [Migrate\npackages](https://storybook.js.org/docs/migration-guide/from-older-version#package-structure-changes)\nwhich were removed in `8.0`\n- [x] `react-doc-gen` resolution\n- [x] [Migrate\nblocks](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#addon-docs-removed-deprecated-blocksjs-entry)\n- [x] Migrate deprecated `addon-knobs` to\n[addon-controls](https://www.npmjs.com/package/@storybook/addon-controls)\n- [x] React Fast Refresh support\n- [x] Watch flag callback\n- [x] `canvas` webpack\n- [x] Rerun CSF migrations for new stories\n- [x] Handle ESM import for `addon-docs`\n- [x] `'@storybook/addon-actions' should be listed in the project's\ndependencies. Run 'npm i -S @storybook/addon-actions' to add\niteslint[import/no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.0/docs/rules/no-extraneous-dependencies.md)`\n- [x] `addDecorator` migration \n- [x] `addParameter` migration\n- [x] static build\n- [ ] determine if #176500 is solved or push to followup PR\n - This will need to be fixed separately\n- [x] revert `.buildkite/pipelines/pull_request/base.yml` &\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to `main`\n\n---------\n\nCo-authored-by: Tiago Costa <tiago.costa@elastic.co>\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Jacek Kolezynski <jacek.kolezynski@elastic.co>\nCo-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>\nCo-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>","sha":"403b5f23636d61809d23851f856ff0e26235b22f"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
b6ae9b0518
|
[8.x] SKA: Relocate /test to /src/platform/test (#210956) (#214791)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Relocate /test to /src/platform/test (#210956)](https://github.com/elastic/kibana/pull/210956) <!--- 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-03-14T16:57:23Z","message":"SKA: Relocate /test to /src/platform/test (#210956)\n\n## Summary\n\nPart of https://github.com/elastic/kibana-team/issues/1503\n\nThis is a first step towards the relocation of all the Kibana tests.\n\nThe `/test/` folder at the root, which is in itself a package\n(`@kbn/test-suites-src`), and contains a large number of tests and test\nplugins, is being relocated under `src/platform/test`.\n\nAll the tests under this folder should be related to common platform\nfeatures, and they should not have any dependency towards\nsolution-specific components or features.\n\n<details >\n<summary>Updated relative paths</summary>\n\n```\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/jest.config.js:12\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:10\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:11\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:11\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:2\nsrc/platform/test/analytics/plugins/analytics_plugin_a/package.json:10\nsrc/platform/test/analytics/plugins/analytics_plugin_a/package.json:11\nsrc/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:10\nsrc/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:2\nsrc/platform/test/api_integration/jest.config.js:12\nsrc/platform/test/common/plugins/newsfeed/tsconfig.json:2\nsrc/platform/test/common/plugins/otel_metrics/tsconfig.json:2\nsrc/platform/test/functional/jest.config.js:12\nsrc/platform/test/harden/child_process.js:13\nsrc/platform/test/harden/lodash_template.js:13\nsrc/platform/test/harden/prototype.js:10\nsrc/platform/test/health_gateway/plugins/status/tsconfig.json:2\nsrc/platform/test/interactive_setup_api_integration/plugins/test_endpoints/tsconfig.json:2\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:11\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:12\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:11\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:2\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:11\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:12\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:2\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:9\nsrc/platform/test/package/Vagrantfile:2\nsrc/platform/test/plugin_functional/README.md:40\nsrc/platform/test/plugin_functional/plugins/app_link_test/package.json:11\nsrc/platform/test/plugin_functional/plugins/app_link_test/package.json:12\nsrc/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_app_status/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_app_status/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_history_block/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_history_block/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:6\nsrc/platform/test/plugin_functional/plugins/core_http/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_http/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_http/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_http/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/data_search/package.json:10\nsrc/platform/test/plugin_functional/plugins/data_search/package.json:9\nsrc/platform/test/plugin_functional/plugins/data_search/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/data_search/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:10\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:9\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:11\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:12\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/hardening/package.json:11\nsrc/platform/test/plugin_functional/plugins/hardening/package.json:12\nsrc/platform/test/plugin_functional/plugins/hardening/tsconfig.json:12\nsrc/platform/test/plugin_functional/plugins/hardening/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/index_patterns/package.json:11\nsrc/platform/test/plugin_functional/plugins/index_patterns/package.json:12\nsrc/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/session_notifications/package.json:11\nsrc/platform/test/plugin_functional/plugins/session_notifications/package.json:12\nsrc/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/telemetry/package.json:11\nsrc/platform/test/plugin_functional/plugins/telemetry/package.json:12\nsrc/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:6\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/usage_collection/package.json:11\nsrc/platform/test/plugin_functional/plugins/usage_collection/package.json:12\nsrc/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_a/package.json:10\nsrc/platform/test/server_integration/plugins/status_plugin_a/package.json:11\nsrc/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:9\nsrc/platform/test/server_integration/plugins/status_plugin_b/package.json:10\nsrc/platform/test/server_integration/plugins/status_plugin_b/package.json:11\nsrc/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:9\n```\n\n</details>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"355a834659b74333162008d54d44be0f2a14fb6b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:QA","release_note:skip","backport:skip","plugin groups","v9.1.0"],"title":"SKA: Relocate /test to /src/platform/test","number":210956,"url":"https://github.com/elastic/kibana/pull/210956","mergeCommit":{"message":"SKA: Relocate /test to /src/platform/test (#210956)\n\n## Summary\n\nPart of https://github.com/elastic/kibana-team/issues/1503\n\nThis is a first step towards the relocation of all the Kibana tests.\n\nThe `/test/` folder at the root, which is in itself a package\n(`@kbn/test-suites-src`), and contains a large number of tests and test\nplugins, is being relocated under `src/platform/test`.\n\nAll the tests under this folder should be related to common platform\nfeatures, and they should not have any dependency towards\nsolution-specific components or features.\n\n<details >\n<summary>Updated relative paths</summary>\n\n```\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/jest.config.js:12\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:10\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:11\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:11\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:2\nsrc/platform/test/analytics/plugins/analytics_plugin_a/package.json:10\nsrc/platform/test/analytics/plugins/analytics_plugin_a/package.json:11\nsrc/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:10\nsrc/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:2\nsrc/platform/test/api_integration/jest.config.js:12\nsrc/platform/test/common/plugins/newsfeed/tsconfig.json:2\nsrc/platform/test/common/plugins/otel_metrics/tsconfig.json:2\nsrc/platform/test/functional/jest.config.js:12\nsrc/platform/test/harden/child_process.js:13\nsrc/platform/test/harden/lodash_template.js:13\nsrc/platform/test/harden/prototype.js:10\nsrc/platform/test/health_gateway/plugins/status/tsconfig.json:2\nsrc/platform/test/interactive_setup_api_integration/plugins/test_endpoints/tsconfig.json:2\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:11\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:12\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:11\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:2\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:11\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:12\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:2\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:9\nsrc/platform/test/package/Vagrantfile:2\nsrc/platform/test/plugin_functional/README.md:40\nsrc/platform/test/plugin_functional/plugins/app_link_test/package.json:11\nsrc/platform/test/plugin_functional/plugins/app_link_test/package.json:12\nsrc/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_app_status/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_app_status/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_history_block/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_history_block/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:6\nsrc/platform/test/plugin_functional/plugins/core_http/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_http/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_http/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_http/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/data_search/package.json:10\nsrc/platform/test/plugin_functional/plugins/data_search/package.json:9\nsrc/platform/test/plugin_functional/plugins/data_search/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/data_search/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:10\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:9\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:11\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:12\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/hardening/package.json:11\nsrc/platform/test/plugin_functional/plugins/hardening/package.json:12\nsrc/platform/test/plugin_functional/plugins/hardening/tsconfig.json:12\nsrc/platform/test/plugin_functional/plugins/hardening/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/index_patterns/package.json:11\nsrc/platform/test/plugin_functional/plugins/index_patterns/package.json:12\nsrc/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/session_notifications/package.json:11\nsrc/platform/test/plugin_functional/plugins/session_notifications/package.json:12\nsrc/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/telemetry/package.json:11\nsrc/platform/test/plugin_functional/plugins/telemetry/package.json:12\nsrc/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:6\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/usage_collection/package.json:11\nsrc/platform/test/plugin_functional/plugins/usage_collection/package.json:12\nsrc/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_a/package.json:10\nsrc/platform/test/server_integration/plugins/status_plugin_a/package.json:11\nsrc/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:9\nsrc/platform/test/server_integration/plugins/status_plugin_b/package.json:10\nsrc/platform/test/server_integration/plugins/status_plugin_b/package.json:11\nsrc/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:9\n```\n\n</details>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"355a834659b74333162008d54d44be0f2a14fb6b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210956","number":210956,"mergeCommit":{"message":"SKA: Relocate /test to /src/platform/test (#210956)\n\n## Summary\n\nPart of https://github.com/elastic/kibana-team/issues/1503\n\nThis is a first step towards the relocation of all the Kibana tests.\n\nThe `/test/` folder at the root, which is in itself a package\n(`@kbn/test-suites-src`), and contains a large number of tests and test\nplugins, is being relocated under `src/platform/test`.\n\nAll the tests under this folder should be related to common platform\nfeatures, and they should not have any dependency towards\nsolution-specific components or features.\n\n<details >\n<summary>Updated relative paths</summary>\n\n```\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/jest.config.js:12\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:10\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/package.json:11\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:11\nsrc/platform/test/analytics/plugins/analytics_ftr_helpers/tsconfig.json:2\nsrc/platform/test/analytics/plugins/analytics_plugin_a/package.json:10\nsrc/platform/test/analytics/plugins/analytics_plugin_a/package.json:11\nsrc/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:10\nsrc/platform/test/analytics/plugins/analytics_plugin_a/tsconfig.json:2\nsrc/platform/test/api_integration/jest.config.js:12\nsrc/platform/test/common/plugins/newsfeed/tsconfig.json:2\nsrc/platform/test/common/plugins/otel_metrics/tsconfig.json:2\nsrc/platform/test/functional/jest.config.js:12\nsrc/platform/test/harden/child_process.js:13\nsrc/platform/test/harden/lodash_template.js:13\nsrc/platform/test/harden/prototype.js:10\nsrc/platform/test/health_gateway/plugins/status/tsconfig.json:2\nsrc/platform/test/interactive_setup_api_integration/plugins/test_endpoints/tsconfig.json:2\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:11\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/package.json:12\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:11\nsrc/platform/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json:2\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:11\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/package.json:12\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:2\nsrc/platform/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json:9\nsrc/platform/test/package/Vagrantfile:2\nsrc/platform/test/plugin_functional/README.md:40\nsrc/platform/test/plugin_functional/plugins/app_link_test/package.json:11\nsrc/platform/test/plugin_functional/plugins/app_link_test/package.json:12\nsrc/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/app_link_test/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_app_status/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_app_status/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_app_status/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_a/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_dynamic_resolving_b/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_history_block/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_history_block/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_history_block/tsconfig.json:6\nsrc/platform/test/plugin_functional/plugins/core_http/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_http/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_http/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_http/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_a/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_b/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/data_search/package.json:10\nsrc/platform/test/plugin_functional/plugins/data_search/package.json:9\nsrc/platform/test/plugin_functional/plugins/data_search/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/data_search/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:10\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/package.json:9\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:11\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/package.json:12\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/eui_provider_dev_warning/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/hardening/package.json:11\nsrc/platform/test/plugin_functional/plugins/hardening/package.json:12\nsrc/platform/test/plugin_functional/plugins/hardening/tsconfig.json:12\nsrc/platform/test/plugin_functional/plugins/hardening/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/index_patterns/package.json:11\nsrc/platform/test/plugin_functional/plugins/index_patterns/package.json:12\nsrc/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/index_patterns/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:11\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/package.json:12\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:10\nsrc/platform/test/plugin_functional/plugins/management_test_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/rendering_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:11\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/package.json:12\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json:9\nsrc/platform/test/plugin_functional/plugins/session_notifications/package.json:11\nsrc/platform/test/plugin_functional/plugins/session_notifications/package.json:12\nsrc/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/session_notifications/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/telemetry/package.json:11\nsrc/platform/test/plugin_functional/plugins/telemetry/package.json:12\nsrc/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/telemetry/tsconfig.json:6\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:11\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/package.json:12\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:2\nsrc/platform/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json:8\nsrc/platform/test/plugin_functional/plugins/usage_collection/package.json:11\nsrc/platform/test/plugin_functional/plugins/usage_collection/package.json:12\nsrc/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:11\nsrc/platform/test/plugin_functional/plugins/usage_collection/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_a/package.json:10\nsrc/platform/test/server_integration/plugins/status_plugin_a/package.json:11\nsrc/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_a/tsconfig.json:9\nsrc/platform/test/server_integration/plugins/status_plugin_b/package.json:10\nsrc/platform/test/server_integration/plugins/status_plugin_b/package.json:11\nsrc/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:2\nsrc/platform/test/server_integration/plugins/status_plugin_b/tsconfig.json:9\n```\n\n</details>\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"355a834659b74333162008d54d44be0f2a14fb6b"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
49db391e75
|
[8.x] [Discover] Added context aware logic for logs view in discover to show Load More… (#211176) (#214229)
# Backport This will backport the following commits from `main` to `8.x`: - [[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)](https://github.com/elastic/kibana/pull/211176) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Achyut Jhunjhunwala","email":"achyut.jhunjhunwala@elastic.co"},"sourceCommit":{"committedDate":"2025-03-12T12:39:27Z","message":"[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)\n\n## Summary\n\nCloses - https://github.com/elastic/kibana/issues/166679\n\n## What's included ?\n\n- The PR adds a feature in Logs View of Observability (to start with) to\nhide the regular pagination toolbar from the footer and show Load More\nonly when the user has scrolled to the bottom of the page.\n- The table would always load the items in batches of default set 500 \n- This PR also add 2 helper functions `useThrottleFn` and\n`useDebounceFn`. Current React help library which KIbana uses called\n-`react-use` does not have these and we cannot use Lodash variant of\nthese. We need such hooks which are React safe. Hence added these 2\n\n\n## What's pending ?\n\n- [x] Unit tests for the 2 new helper React hooks\n- [x] Unit tests for data table footer component\n- [x] Unit tests for Profile Resolution\n- [x] Functional Serverless Tests\n- [x] Functional Stateful Tests\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\nCo-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davis.mcphee@elastic.co>","sha":"591c5b73c00f8a4e5316aed9c1d32c7316e6dd34","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:feature","Team:obs-ux-logs","Project:OneDiscover","backport:version","v9.1.0","v8.19.0"],"title":"[Discover] Added context aware logic for logs view in discover to show Load More…","number":211176,"url":"https://github.com/elastic/kibana/pull/211176","mergeCommit":{"message":"[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)\n\n## Summary\n\nCloses - https://github.com/elastic/kibana/issues/166679\n\n## What's included ?\n\n- The PR adds a feature in Logs View of Observability (to start with) to\nhide the regular pagination toolbar from the footer and show Load More\nonly when the user has scrolled to the bottom of the page.\n- The table would always load the items in batches of default set 500 \n- This PR also add 2 helper functions `useThrottleFn` and\n`useDebounceFn`. Current React help library which KIbana uses called\n-`react-use` does not have these and we cannot use Lodash variant of\nthese. We need such hooks which are React safe. Hence added these 2\n\n\n## What's pending ?\n\n- [x] Unit tests for the 2 new helper React hooks\n- [x] Unit tests for data table footer component\n- [x] Unit tests for Profile Resolution\n- [x] Functional Serverless Tests\n- [x] Functional Stateful Tests\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\nCo-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davis.mcphee@elastic.co>","sha":"591c5b73c00f8a4e5316aed9c1d32c7316e6dd34"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211176","number":211176,"mergeCommit":{"message":"[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)\n\n## Summary\n\nCloses - https://github.com/elastic/kibana/issues/166679\n\n## What's included ?\n\n- The PR adds a feature in Logs View of Observability (to start with) to\nhide the regular pagination toolbar from the footer and show Load More\nonly when the user has scrolled to the bottom of the page.\n- The table would always load the items in batches of default set 500 \n- This PR also add 2 helper functions `useThrottleFn` and\n`useDebounceFn`. Current React help library which KIbana uses called\n-`react-use` does not have these and we cannot use Lodash variant of\nthese. We need such hooks which are React safe. Hence added these 2\n\n\n## What's pending ?\n\n- [x] Unit tests for the 2 new helper React hooks\n- [x] Unit tests for data table footer component\n- [x] Unit tests for Profile Resolution\n- [x] Functional Serverless Tests\n- [x] Functional Stateful Tests\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\nCo-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davis.mcphee@elastic.co>","sha":"591c5b73c00f8a4e5316aed9c1d32c7316e6dd34"}},{"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> |
||
|
26506ae73d
|
[8.x] move static presentationUtil code into package @kbn/expression-utils (#213659) (#214015)
# Backport This will backport the following commits from `main` to `8.x`: - [move static presentationUtil code into package @kbn/expression-utils (#213659)](https://github.com/elastic/kibana/pull/213659) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2025-03-11T20:24:00Z","message":"move static presentationUtil code into package @kbn/expression-utils (#213659)\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"99d84003281ccfba9273b7eae7d2fc4bda3fa01d","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","technical debt","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"move static presentationUtil code into package @kbn/expression-utils","number":213659,"url":"https://github.com/elastic/kibana/pull/213659","mergeCommit":{"message":"move static presentationUtil code into package @kbn/expression-utils (#213659)\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"99d84003281ccfba9273b7eae7d2fc4bda3fa01d"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213659","number":213659,"mergeCommit":{"message":"move static presentationUtil code into package @kbn/expression-utils (#213659)\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"99d84003281ccfba9273b7eae7d2fc4bda3fa01d"}},{"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> |
||
|
379badd188
|
[8.x] [ES|QL] Introduces a new package for esql types (#212754) (#212880)
# Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Introduces a new package for esql types (#212754)](https://github.com/elastic/kibana/pull/212754) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-03-03T11:04:32Z","message":"[ES|QL] Introduces a new package for esql types (#212754)\n\n## Summary\n\nThe esql types are around many packages and plugins creating problems\neither with the bundle size or cyclic dependencies.\n\nThis PR is moving some of them on the esql-types package. I am going to\nmove more there in follow up PRs.\n\n(I decided to rename it as it makes more sense to have a generic one for\nesql rather one only for the variables)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco Vettorello <vettorello.marco@gmail.com>","sha":"dab569b70ac054b1b5416f086b62a54376495def","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL] Introduces a new package for esql types","number":212754,"url":"https://github.com/elastic/kibana/pull/212754","mergeCommit":{"message":"[ES|QL] Introduces a new package for esql types (#212754)\n\n## Summary\n\nThe esql types are around many packages and plugins creating problems\neither with the bundle size or cyclic dependencies.\n\nThis PR is moving some of them on the esql-types package. I am going to\nmove more there in follow up PRs.\n\n(I decided to rename it as it makes more sense to have a generic one for\nesql rather one only for the variables)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco Vettorello <vettorello.marco@gmail.com>","sha":"dab569b70ac054b1b5416f086b62a54376495def"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212754","number":212754,"mergeCommit":{"message":"[ES|QL] Introduces a new package for esql types (#212754)\n\n## Summary\n\nThe esql types are around many packages and plugins creating problems\neither with the bundle size or cyclic dependencies.\n\nThis PR is moving some of them on the esql-types package. I am going to\nmove more there in follow up PRs.\n\n(I decided to rename it as it makes more sense to have a generic one for\nesql rather one only for the variables)\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Marco Vettorello <vettorello.marco@gmail.com>","sha":"dab569b70ac054b1b5416f086b62a54376495def"}},{"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> |
||
|
5acb5506ac
|
[8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Relocate "platform" packages that remain on `/packages` (#208704)](https://github.com/elastic/kibana/pull/208704) <!--- 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-24T11:03:30Z","message":"SKA: Relocate \"platform\" packages that remain on `/packages` (#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the Kibana repository used to\ncontain a lot of packages.\nIn the context of SKA, they have been gradually moved to various\nlocations:\n* `src/platform/packages`\n* `x-pack/platform/packages`\n* `src/core/packages`\n\nCurrently, only `devOnly: true` packages are left in this folder. This\ncomprises libraries for CLI scripts as well as testing utilities.\n\nWith this PR, we are moving ~half of these packages under\n`src/platform/packages/(private|shared)/`.\nIn particular, we are moving those packages that are being used from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`, this means they are ONLY used from\ntests, cypress tests, storybook configs, ./scripts/ folders inside some\nmodules, or other non-prod-time logic. Nonetheless, they are effectively\nreferenced from platform and/or solutions code, hence I decided they\nshould be placed under `platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Relocate \"platform\" packages that remain on `/packages`","number":208704,"url":"https://github.com/elastic/kibana/pull/208704","mergeCommit":{"message":"SKA: Relocate \"platform\" packages that remain on `/packages` (#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the Kibana repository used to\ncontain a lot of packages.\nIn the context of SKA, they have been gradually moved to various\nlocations:\n* `src/platform/packages`\n* `x-pack/platform/packages`\n* `src/core/packages`\n\nCurrently, only `devOnly: true` packages are left in this folder. This\ncomprises libraries for CLI scripts as well as testing utilities.\n\nWith this PR, we are moving ~half of these packages under\n`src/platform/packages/(private|shared)/`.\nIn particular, we are moving those packages that are being used from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`, this means they are ONLY used from\ntests, cypress tests, storybook configs, ./scripts/ folders inside some\nmodules, or other non-prod-time logic. Nonetheless, they are effectively\nreferenced from platform and/or solutions code, hence I decided they\nshould be placed under `platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212224","number":212224,"state":"OPEN"},{"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/208704","number":208704,"mergeCommit":{"message":"SKA: Relocate \"platform\" packages that remain on `/packages` (#208704)\n\n## Summary\n\nThe `/packages` folder at the root of the Kibana repository used to\ncontain a lot of packages.\nIn the context of SKA, they have been gradually moved to various\nlocations:\n* `src/platform/packages`\n* `x-pack/platform/packages`\n* `src/core/packages`\n\nCurrently, only `devOnly: true` packages are left in this folder. This\ncomprises libraries for CLI scripts as well as testing utilities.\n\nWith this PR, we are moving ~half of these packages under\n`src/platform/packages/(private|shared)/`.\nIn particular, we are moving those packages that are being used from\nplatform and/or solutions.\n\nSince they are `\"devOnly\": true`, this means they are ONLY used from\ntests, cypress tests, storybook configs, ./scripts/ folders inside some\nmodules, or other non-prod-time logic. Nonetheless, they are effectively\nreferenced from platform and/or solutions code, hence I decided they\nshould be placed under `platform` folders.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"6a7c904f921434fe21dfa00eceabfb5e64e915dc"}},{"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> |
||
|
bcfb4f41c0
|
[8.x] [Index Management + ML] Remove unused code from index management and ml (#211266) (#212591)
# Backport This will backport the following commits from `main` to `8.x`: - [[Index Management + ML] Remove unused code from index management and ml (#211266)](https://github.com/elastic/kibana/pull/211266) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Samiul Monir","email":"150824886+Samiul-TheSoccerFan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-26T21:09:44Z","message":"[Index Management + ML] Remove unused code from index management and ml (#211266)\n\n## Summary\n\nThis PR includes\n- Remove unused package from kibana\n- Remove references from index_management and ml plugins\n- Update translations file\n- Delete skipped tests\n\nCloses https://github.com/elastic/kibana/issues/204507\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [X] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5270cc621f18f8104338db046ff4c275e7c68769","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana Management","release_note:skip","Team:ML","ci:project-deploy-elasticsearch","backport:version","v9.1.0","v8.19.0"],"title":"[Index Management + ML] Remove unused code from index management and ml","number":211266,"url":"https://github.com/elastic/kibana/pull/211266","mergeCommit":{"message":"[Index Management + ML] Remove unused code from index management and ml (#211266)\n\n## Summary\n\nThis PR includes\n- Remove unused package from kibana\n- Remove references from index_management and ml plugins\n- Update translations file\n- Delete skipped tests\n\nCloses https://github.com/elastic/kibana/issues/204507\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [X] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5270cc621f18f8104338db046ff4c275e7c68769"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211266","number":211266,"mergeCommit":{"message":"[Index Management + ML] Remove unused code from index management and ml (#211266)\n\n## Summary\n\nThis PR includes\n- Remove unused package from kibana\n- Remove references from index_management and ml plugins\n- Update translations file\n- Delete skipped tests\n\nCloses https://github.com/elastic/kibana/issues/204507\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [X] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [x] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"5270cc621f18f8104338db046ff4c275e7c68769"}},{"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> |
||
|
5d36b3c095
|
[8.x] chore(security,codeql): exclude **/stub/** folders from CodeQL scans (#212608) (#212653)
# Backport This will backport the following commits from `main` to `8.x`: - [chore(security,codeql): exclude `**/stub/**` folders from CodeQL scans (#212608)](https://github.com/elastic/kibana/pull/212608) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Aleh Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2025-02-27T10:20:48Z","message":"chore(security,codeql): exclude `**/stub/**` folders from CodeQL scans (#212608)\n\n## Summary\n\nEexclude `**/stub/**` folders from CodeQL scans.","sha":"7155c05bd9954cacfd1f7f075fdda40b9350f9fb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","security","backport:version","v9.1.0","v8.19.0"],"title":"chore(security,codeql): exclude `**/stub/**` folders from CodeQL scans","number":212608,"url":"https://github.com/elastic/kibana/pull/212608","mergeCommit":{"message":"chore(security,codeql): exclude `**/stub/**` folders from CodeQL scans (#212608)\n\n## Summary\n\nEexclude `**/stub/**` folders from CodeQL scans.","sha":"7155c05bd9954cacfd1f7f075fdda40b9350f9fb"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212608","number":212608,"mergeCommit":{"message":"chore(security,codeql): exclude `**/stub/**` folders from CodeQL scans (#212608)\n\n## Summary\n\nEexclude `**/stub/**` folders from CodeQL scans.","sha":"7155c05bd9954cacfd1f7f075fdda40b9350f9fb"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
61ff8872b9
|
[8.x] 🌊 Codeownership restructure (#212337) (#212473)
# Backport This will backport the following commits from `main` to `8.x`: - [🌊 Codeownership restructure (#212337)](https://github.com/elastic/kibana/pull/212337) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Joe Reuter","email":"johannes.reuter@elastic.co"},"sourceCommit":{"committedDate":"2025-02-26T08:01:55Z","message":"🌊 Codeownership restructure (#212337)\n\nAs a first step towards making parts of streams owned by different teams\nworking on it, this PR gives some of the things to the logs UX team.\n\nThese routes and views are clearly associated with the workstreams the\nlogs UX team moves forward. It's still expected that a lot of changes\n(but probably not all) will have at least a portion outside of this code\narea, but it's meant to put a starting point into place to make the\nseparation stronger over time.\n\nFor the API it's just about certain route handlers. For the UI, the\nrelevant components are pulled into a separate directory to encapsulate\nthem somewhat.\n\n---------\n\nCo-authored-by: Milton Hultgren <miltonhultgren@gmail.com>","sha":"d348f746ff907587e26931e9ab44b984861d04c5","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"🌊 Codeownership restructure","number":212337,"url":"https://github.com/elastic/kibana/pull/212337","mergeCommit":{"message":"🌊 Codeownership restructure (#212337)\n\nAs a first step towards making parts of streams owned by different teams\nworking on it, this PR gives some of the things to the logs UX team.\n\nThese routes and views are clearly associated with the workstreams the\nlogs UX team moves forward. It's still expected that a lot of changes\n(but probably not all) will have at least a portion outside of this code\narea, but it's meant to put a starting point into place to make the\nseparation stronger over time.\n\nFor the API it's just about certain route handlers. For the UI, the\nrelevant components are pulled into a separate directory to encapsulate\nthem somewhat.\n\n---------\n\nCo-authored-by: Milton Hultgren <miltonhultgren@gmail.com>","sha":"d348f746ff907587e26931e9ab44b984861d04c5"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212337","number":212337,"mergeCommit":{"message":"🌊 Codeownership restructure (#212337)\n\nAs a first step towards making parts of streams owned by different teams\nworking on it, this PR gives some of the things to the logs UX team.\n\nThese routes and views are clearly associated with the workstreams the\nlogs UX team moves forward. It's still expected that a lot of changes\n(but probably not all) will have at least a portion outside of this code\narea, but it's meant to put a starting point into place to make the\nseparation stronger over time.\n\nFor the API it's just about certain route handlers. For the UI, the\nrelevant components are pulled into a separate directory to encapsulate\nthem somewhat.\n\n---------\n\nCo-authored-by: Milton Hultgren <miltonhultgren@gmail.com>","sha":"d348f746ff907587e26931e9ab44b984861d04c5"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Joe Reuter <johannes.reuter@elastic.co> |
||
|
221205c0ee
|
[8.x] SKA: Misc cleanup and enhancements (#212207) (#212351)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Misc cleanup and enhancements (#212207)](https://github.com/elastic/kibana/pull/212207) <!--- 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-24T13:31:00Z","message":"SKA: Misc cleanup and enhancements (#212207)\n\n## Summary\n\n* Remove some old paths pointing to `packages/kbn-pm` (no longer\nexists).\n* ~Fix group and visibility for `@kbn/streams-app-wrapper-plugin`~.\n(done in https://github.com/elastic/kibana/pull/212210)\n* Update `scripts/relocate` logic with latest enhancements.\n* Convert `@kbn/observability-synthetics-test-data` folder name to\ncamel-case (messes up with pre-commit hook).","sha":"a41badf96496c81587fca3d56c1c891abeb1a3a9","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Misc cleanup and enhancements","number":212207,"url":"https://github.com/elastic/kibana/pull/212207","mergeCommit":{"message":"SKA: Misc cleanup and enhancements (#212207)\n\n## Summary\n\n* Remove some old paths pointing to `packages/kbn-pm` (no longer\nexists).\n* ~Fix group and visibility for `@kbn/streams-app-wrapper-plugin`~.\n(done in https://github.com/elastic/kibana/pull/212210)\n* Update `scripts/relocate` logic with latest enhancements.\n* Convert `@kbn/observability-synthetics-test-data` folder name to\ncamel-case (messes up with pre-commit hook).","sha":"a41badf96496c81587fca3d56c1c891abeb1a3a9"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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/212207","number":212207,"mergeCommit":{"message":"SKA: Misc cleanup and enhancements (#212207)\n\n## Summary\n\n* Remove some old paths pointing to `packages/kbn-pm` (no longer\nexists).\n* ~Fix group and visibility for `@kbn/streams-app-wrapper-plugin`~.\n(done in https://github.com/elastic/kibana/pull/212210)\n* Update `scripts/relocate` logic with latest enhancements.\n* Convert `@kbn/observability-synthetics-test-data` folder name to\ncamel-case (messes up with pre-commit hook).","sha":"a41badf96496c81587fca3d56c1c891abeb1a3a9"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
692410c83a
|
[8.x] [Security Solution] Adds normalization for filter meta field diff (#210191) (#212319)
# Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Adds normalization for filter `meta` field diff (#210191)](https://github.com/elastic/kibana/pull/210191) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Davis Plumlee","email":"56367316+dplumlee@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-25T00:19:55Z","message":"[Security Solution] Adds normalization for filter `meta` field diff (#210191)\n\n**Fixes: https://github.com/elastic/kibana/issues/206527**\n**Partially addresses: https://github.com/elastic/kibana/issues/209518**\n\n## Summary\n\nAdds a normalization to the `filters` field in the rule diffing\ncalculation that omits all filter fields other than the `query` field\nand the `negate` and `disabled` fields within the `meta` object. This\nmakes our diffing logic much more robust and resilient as we only\ncompare data in the rule fields that have an impact on the query itself\nand not the fields that relate to UI implementation (`alias`, `key`,\netc).\n\n### To test\n\n- Open a prebuilt rule with `filters` in the non-customized rule\nparameters (e.g. `PowerShell Script with Discovery Capabilities`)\n- Edit the rule and save without editing\n- The rule should remain unmodified even though more fields have been\nadded to the rule's `filters` field\n\nUnless the user adds or deletes a filter on the rule, the rule should\nonly be marked as customized under 3 circumstances:\n\n- The user negates the filter (adds NOT to the beginning of the filter)\n- The user disables the filter\n- The user changes the filter query\n\nAll other scenarios (such as adding a custom name for the filter) should\nnot change the rule's customized status\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"3f3c8c8a4898217c3d3c9314e50e6eb46ec4b9e0","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v9.0.0","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Security Solution] Adds normalization for filter `meta` field diff","number":210191,"url":"https://github.com/elastic/kibana/pull/210191","mergeCommit":{"message":"[Security Solution] Adds normalization for filter `meta` field diff (#210191)\n\n**Fixes: https://github.com/elastic/kibana/issues/206527**\n**Partially addresses: https://github.com/elastic/kibana/issues/209518**\n\n## Summary\n\nAdds a normalization to the `filters` field in the rule diffing\ncalculation that omits all filter fields other than the `query` field\nand the `negate` and `disabled` fields within the `meta` object. This\nmakes our diffing logic much more robust and resilient as we only\ncompare data in the rule fields that have an impact on the query itself\nand not the fields that relate to UI implementation (`alias`, `key`,\netc).\n\n### To test\n\n- Open a prebuilt rule with `filters` in the non-customized rule\nparameters (e.g. `PowerShell Script with Discovery Capabilities`)\n- Edit the rule and save without editing\n- The rule should remain unmodified even though more fields have been\nadded to the rule's `filters` field\n\nUnless the user adds or deletes a filter on the rule, the rule should\nonly be marked as customized under 3 circumstances:\n\n- The user negates the filter (adds NOT to the beginning of the filter)\n- The user disables the filter\n- The user changes the filter query\n\nAll other scenarios (such as adding a custom name for the filter) should\nnot change the rule's customized status\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"3f3c8c8a4898217c3d3c9314e50e6eb46ec4b9e0"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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/210191","number":210191,"mergeCommit":{"message":"[Security Solution] Adds normalization for filter `meta` field diff (#210191)\n\n**Fixes: https://github.com/elastic/kibana/issues/206527**\n**Partially addresses: https://github.com/elastic/kibana/issues/209518**\n\n## Summary\n\nAdds a normalization to the `filters` field in the rule diffing\ncalculation that omits all filter fields other than the `query` field\nand the `negate` and `disabled` fields within the `meta` object. This\nmakes our diffing logic much more robust and resilient as we only\ncompare data in the rule fields that have an impact on the query itself\nand not the fields that relate to UI implementation (`alias`, `key`,\netc).\n\n### To test\n\n- Open a prebuilt rule with `filters` in the non-customized rule\nparameters (e.g. `PowerShell Script with Discovery Capabilities`)\n- Edit the rule and save without editing\n- The rule should remain unmodified even though more fields have been\nadded to the rule's `filters` field\n\nUnless the user adds or deletes a filter on the rule, the rule should\nonly be marked as customized under 3 circumstances:\n\n- The user negates the filter (adds NOT to the beginning of the filter)\n- The user disables the filter\n- The user changes the filter query\n\nAll other scenarios (such as adding a custom name for the filter) should\nnot change the rule's customized status\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"3f3c8c8a4898217c3d3c9314e50e6eb46ec4b9e0"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com> |
||
|
dd7020e994
|
[8.x] 🌊 Move streams to platform (#212113)
# Backport This will backport the following commits from `main` to `8.x`: - 🌊 Move streams to platform (#211893)](https://github.com/elastic/kibana/pull/211893) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
3bbf2d28c1
|
[8.x] SKA: Relocate core-test-helpers (#212029) (#212094)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Relocate core-test-helpers (#212029)](https://github.com/elastic/kibana/pull/212029) <!--- 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-21T13:38:38Z","message":"SKA: Relocate core-test-helpers (#212029)\n\n## Summary\n\nThese where the only packages under `src/dev/packages`.\nThe goal long term is to refactor the code under `src/dev` and to\nmigrate it to one (or multiple) packages.\nThus, we're moving them to `src/core/test-helpers/`, which already\nexists and contains a bunch of test-helpers.\n\n#### 2 packages(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/core-test-helpers-kbn-server` |\n`src/core/test-helpers/kbn-server` |\n| `@kbn/core-test-helpers-model-versions` |\n`src/core/test-helpers/model-versions` |\n\n\n<details >\n<summary>Updated references</summary>\n\n```\n./.github/codeql/codeql-config.yml\n./package.json\n./packages/kbn-ts-projects/config-paths.json\n./src/core/system/tsconfig.type_check.json\n./src/core/test-helpers/kbn-server/jest.config.js\n./src/core/test-helpers/model-versions/jest.config.js\n./src/dev/tsconfig.type_check.json\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\n./src/plugins/usage_collection/tsconfig.type_check.json\n./tsconfig.base.json\n./tsconfig.base.type_check.json\n./tsconfig.refs.json\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\n./x-pack/plugins/actions/tsconfig.type_check.json\n./x-pack/plugins/alerting/tsconfig.type_check.json\n./x-pack/plugins/task_manager/tsconfig.type_check.json\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details >\n<summary>Updated relative paths</summary>\n\n```\nsrc/core/test-helpers/kbn-server/jest.config.js:12\nsrc/core/test-helpers/kbn-server/tsconfig.json:2\nsrc/core/test-helpers/model-versions/jest.config.js:12\nsrc/core/test-helpers/model-versions/tsconfig.json:2\n```\n\n</details>","sha":"cff1747a76162e81e1baffb42840915ab7f57ed9","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Relocate core-test-helpers","number":212029,"url":"https://github.com/elastic/kibana/pull/212029","mergeCommit":{"message":"SKA: Relocate core-test-helpers (#212029)\n\n## Summary\n\nThese where the only packages under `src/dev/packages`.\nThe goal long term is to refactor the code under `src/dev` and to\nmigrate it to one (or multiple) packages.\nThus, we're moving them to `src/core/test-helpers/`, which already\nexists and contains a bunch of test-helpers.\n\n#### 2 packages(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/core-test-helpers-kbn-server` |\n`src/core/test-helpers/kbn-server` |\n| `@kbn/core-test-helpers-model-versions` |\n`src/core/test-helpers/model-versions` |\n\n\n<details >\n<summary>Updated references</summary>\n\n```\n./.github/codeql/codeql-config.yml\n./package.json\n./packages/kbn-ts-projects/config-paths.json\n./src/core/system/tsconfig.type_check.json\n./src/core/test-helpers/kbn-server/jest.config.js\n./src/core/test-helpers/model-versions/jest.config.js\n./src/dev/tsconfig.type_check.json\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\n./src/plugins/usage_collection/tsconfig.type_check.json\n./tsconfig.base.json\n./tsconfig.base.type_check.json\n./tsconfig.refs.json\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\n./x-pack/plugins/actions/tsconfig.type_check.json\n./x-pack/plugins/alerting/tsconfig.type_check.json\n./x-pack/plugins/task_manager/tsconfig.type_check.json\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details >\n<summary>Updated relative paths</summary>\n\n```\nsrc/core/test-helpers/kbn-server/jest.config.js:12\nsrc/core/test-helpers/kbn-server/tsconfig.json:2\nsrc/core/test-helpers/model-versions/jest.config.js:12\nsrc/core/test-helpers/model-versions/tsconfig.json:2\n```\n\n</details>","sha":"cff1747a76162e81e1baffb42840915ab7f57ed9"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/212080","number":212080,"state":"OPEN"},{"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/212029","number":212029,"mergeCommit":{"message":"SKA: Relocate core-test-helpers (#212029)\n\n## Summary\n\nThese where the only packages under `src/dev/packages`.\nThe goal long term is to refactor the code under `src/dev` and to\nmigrate it to one (or multiple) packages.\nThus, we're moving them to `src/core/test-helpers/`, which already\nexists and contains a bunch of test-helpers.\n\n#### 2 packages(s) are going to be relocated:\n\n| Id | Target folder |\n| -- | ------------- |\n| `@kbn/core-test-helpers-kbn-server` |\n`src/core/test-helpers/kbn-server` |\n| `@kbn/core-test-helpers-model-versions` |\n`src/core/test-helpers/model-versions` |\n\n\n<details >\n<summary>Updated references</summary>\n\n```\n./.github/codeql/codeql-config.yml\n./package.json\n./packages/kbn-ts-projects/config-paths.json\n./src/core/system/tsconfig.type_check.json\n./src/core/test-helpers/kbn-server/jest.config.js\n./src/core/test-helpers/model-versions/jest.config.js\n./src/dev/tsconfig.type_check.json\n./src/platform/packages/private/kbn-repo-packages/package-map.json\n./src/plugins/kibana_usage_collection/tsconfig.type_check.json\n./src/plugins/usage_collection/tsconfig.type_check.json\n./tsconfig.base.json\n./tsconfig.base.type_check.json\n./tsconfig.refs.json\n./x-pack/platform/plugins/shared/fleet/tsconfig.type_check.json\n./x-pack/platform/plugins/shared/spaces/tsconfig.type_check.json\n./x-pack/plugins/actions/tsconfig.type_check.json\n./x-pack/plugins/alerting/tsconfig.type_check.json\n./x-pack/plugins/task_manager/tsconfig.type_check.json\n./yarn.lock\n.github/CODEOWNERS\n```\n\n</details><details >\n<summary>Updated relative paths</summary>\n\n```\nsrc/core/test-helpers/kbn-server/jest.config.js:12\nsrc/core/test-helpers/kbn-server/tsconfig.json:2\nsrc/core/test-helpers/model-versions/jest.config.js:12\nsrc/core/test-helpers/model-versions/tsconfig.json:2\n```\n\n</details>","sha":"cff1747a76162e81e1baffb42840915ab7f57ed9"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
834e54f158
|
[8.x] Deprecate universal entity (#211771)
# Backport This will backport the following commits from `main` to `8.x`: - [Deprecate universal entity](https://github.com/elastic/kibana/pull/210978) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ido Cohen","email":"90558359+CohenIdo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-18T14:49:32Z","message":"Deprecate universal entity","sha":"f5c9529e37ea3dddca4db748bfa7e2391303f87e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud Security","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"Deprecate universal entity","number":210978,"url":"https://github.com/elastic/kibana/pull/210978","mergeCommit":{"message":"Deprecate universal entity","sha":"f5c9529e37ea3dddca4db748bfa7e2391303f87e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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/210978","number":210978,"mergeCommit":{"message":"Deprecate universal entity","sha":"f5c9529e37ea3dddca4db748bfa7e2391303f87e"}},{"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> |
||
|
20763c69b2
|
[8.x] Move storage adapter and traced ES client into dedicated package (#211761)
# Backport This will backport the following commits from `main` to `8.x`: - Move storage adapter and traced ES client into dedicated package (#211578)](https://github.com/elastic/kibana/pull/211578) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
23c60bec1d
|
[8.x] SKA: Fix kebab-case issues in security-threat-hunting packages (#211349) (#211732)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix kebab-case issues in security-threat-hunting packages (#211349)](https://github.com/elastic/kibana/pull/211349) <!--- 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-19T10:21:45Z","message":"SKA: Fix kebab-case issues in security-threat-hunting packages (#211349)\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/securitysolution-data-table` |\r\n`x-pack/solutions/security/packages/data-table` |\r\n| `@kbn/ecs-data-quality-dashboard` |\r\n`x-pack/solutions/security/packages/ecs-data-quality-dashboard` |\r\n| `@kbn/security-solution-side-nav` |\r\n`x-pack/solutions/security/packages/side-nav` |\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data-table/jest.config.js\r\n./x-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/side-nav/jest.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/security/packages/data-table/jest.config.js:11\r\nx-pack/solutions/security/packages/data-table/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js:24\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/side-nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side-nav/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"69a87194d17a8228d1643845c306a01201e921b7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Fix kebab-case issues in security-threat-hunting packages","number":211349,"url":"https://github.com/elastic/kibana/pull/211349","mergeCommit":{"message":"SKA: Fix kebab-case issues in security-threat-hunting packages (#211349)\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/securitysolution-data-table` |\r\n`x-pack/solutions/security/packages/data-table` |\r\n| `@kbn/ecs-data-quality-dashboard` |\r\n`x-pack/solutions/security/packages/ecs-data-quality-dashboard` |\r\n| `@kbn/security-solution-side-nav` |\r\n`x-pack/solutions/security/packages/side-nav` |\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data-table/jest.config.js\r\n./x-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/side-nav/jest.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/security/packages/data-table/jest.config.js:11\r\nx-pack/solutions/security/packages/data-table/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js:24\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/side-nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side-nav/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"69a87194d17a8228d1643845c306a01201e921b7"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211722","number":211722,"state":"OPEN"},{"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/211349","number":211349,"mergeCommit":{"message":"SKA: Fix kebab-case issues in security-threat-hunting packages (#211349)\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/securitysolution-data-table` |\r\n`x-pack/solutions/security/packages/data-table` |\r\n| `@kbn/ecs-data-quality-dashboard` |\r\n`x-pack/solutions/security/packages/ecs-data-quality-dashboard` |\r\n| `@kbn/security-solution-side-nav` |\r\n`x-pack/solutions/security/packages/side-nav` |\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-ts-projects/config-paths.json\r\n./src/platform/packages/private/kbn-repo-packages/package-map.json\r\n./tsconfig.base.json\r\n./tsconfig.base.type_check.json\r\n./tsconfig.refs.json\r\n./x-pack/solutions/security/packages/data-table/jest.config.js\r\n./x-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js\r\n./x-pack/solutions/security/packages/side-nav/jest.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/security/packages/data-table/jest.config.js:11\r\nx-pack/solutions/security/packages/data-table/tsconfig.json:2\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js:24\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10\r\nx-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2\r\nx-pack/solutions/security/packages/side-nav/jest.config.js:10\r\nx-pack/solutions/security/packages/side-nav/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"69a87194d17a8228d1643845c306a01201e921b7"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
49f8e79c92
|
[8.x] SKA: Fix kebab-case issues in obs-ux-management packages (#211312) (#211705)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix kebab-case issues in obs-ux-management packages (#211312)](https://github.com/elastic/kibana/pull/211312) <!--- 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-17T11:36:43Z","message":"SKA: Fix kebab-case issues in obs-ux-management packages (#211312)\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#### 4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils` |\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n| `@kbn/observability-alert-details` |\r\n`x-pack/solutions/observability/packages/alert-details` |\r\n| `@kbn/observability-alerting-test-data` |\r\n`x-pack/solutions/observability/packages/alerting-test-data` |\r\n| `@kbn/observability-get-padded-alert-time-range-util` |\r\n`x-pack/solutions/observability/packages/get-padded-alert-time-range-util`\r\n|\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-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/platform/packages/shared/alerting-rule-utils/jest.config.js\r\n./x-pack/solutions/observability/packages/alert-details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting-test-data/jest.config.js\r\n./x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.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/platform/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/alerting-rule-utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert-details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert-details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting-test-data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting-test-data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-management","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Fix kebab-case issues in obs-ux-management packages","number":211312,"url":"https://github.com/elastic/kibana/pull/211312","mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ux-management packages (#211312)\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#### 4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils` |\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n| `@kbn/observability-alert-details` |\r\n`x-pack/solutions/observability/packages/alert-details` |\r\n| `@kbn/observability-alerting-test-data` |\r\n`x-pack/solutions/observability/packages/alerting-test-data` |\r\n| `@kbn/observability-get-padded-alert-time-range-util` |\r\n`x-pack/solutions/observability/packages/get-padded-alert-time-range-util`\r\n|\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-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/platform/packages/shared/alerting-rule-utils/jest.config.js\r\n./x-pack/solutions/observability/packages/alert-details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting-test-data/jest.config.js\r\n./x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.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/platform/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/alerting-rule-utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert-details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert-details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting-test-data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting-test-data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211417","number":211417,"state":"MERGED","mergeCommit":{"sha":"1d49861eb1a527da2e79a83744062d6340eb9730","message":"[9.0] SKA: Fix kebab-case issues in obs-ux-management packages (#211312) (#211417)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [SKA: Fix kebab-case issues in obs-ux-management packages\n(#211312)](https://github.com/elastic/kibana/pull/211312)\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/211312","number":211312,"mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ux-management packages (#211312)\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#### 4 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/alerting-rule-utils` |\r\n`x-pack/platform/packages/shared/alerting-rule-utils` |\r\n| `@kbn/observability-alert-details` |\r\n`x-pack/solutions/observability/packages/alert-details` |\r\n| `@kbn/observability-alerting-test-data` |\r\n`x-pack/solutions/observability/packages/alerting-test-data` |\r\n| `@kbn/observability-get-padded-alert-time-range-util` |\r\n`x-pack/solutions/observability/packages/get-padded-alert-time-range-util`\r\n|\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-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/platform/packages/shared/alerting-rule-utils/jest.config.js\r\n./x-pack/solutions/observability/packages/alert-details/jest.config.js\r\n./x-pack/solutions/observability/packages/alerting-test-data/jest.config.js\r\n./x-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.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/platform/packages/shared/alerting-rule-utils/jest.config.js:10\r\nx-pack/platform/packages/shared/alerting-rule-utils/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alert-details/jest.config.js:10\r\nx-pack/solutions/observability/packages/alert-details/tsconfig.json:2\r\nx-pack/solutions/observability/packages/alerting-test-data/jest.config.js:10\r\nx-pack/solutions/observability/packages/alerting-test-data/tsconfig.json:2\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/jest.config.js:10\r\nx-pack/solutions/observability/packages/get-padded-alert-time-range-util/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"171dd6b0759710bf29df61485ebca068993b43f9"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
dd808f88d4
|
[8.x] SKA: Fix kebab-case issues in search-kibana packages (#211348) (#211380)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix kebab-case issues in search-kibana packages (#211348)](https://github.com/elastic/kibana/pull/211348) <!--- 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-16T08:39:06Z","message":"SKA: Fix kebab-case issues in search-kibana packages (#211348)\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#### 1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/search-shared-ui` | `x-pack/solutions/search/packages/shared-ui`\r\n|\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-relocate/utils/transforms.ts\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/.i18nrc.json\r\n./x-pack/solutions/search/packages/shared-ui/jest.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/search/packages/shared-ui/jest.config.js:14\r\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:version","v9.1.0","v8.19.0"],"title":"SKA: Fix kebab-case issues in search-kibana packages","number":211348,"url":"https://github.com/elastic/kibana/pull/211348","mergeCommit":{"message":"SKA: Fix kebab-case issues in search-kibana packages (#211348)\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#### 1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/search-shared-ui` | `x-pack/solutions/search/packages/shared-ui`\r\n|\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-relocate/utils/transforms.ts\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/.i18nrc.json\r\n./x-pack/solutions/search/packages/shared-ui/jest.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/search/packages/shared-ui/jest.config.js:14\r\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506"}},"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/211357","number":211357,"state":"MERGED","mergeCommit":{"sha":"e60774c3d8a01171c887e6bdd6bdcfd0ea18d8c5","message":"[9.0] SKA: Fix kebab-case issues in search-kibana packages (#211348) (#211357)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [SKA: Fix kebab-case issues in search-kibana packages\n(#211348)](https://github.com/elastic/kibana/pull/211348)\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-16T08:39:06Z\",\"message\":\"SKA:\nFix kebab-case issues in search-kibana packages (#211348)\\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####\n1 packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target folder\n|\\r\\n| -- | ------------- |\\r\\n| `@kbn/search-shared-ui` |\n`x-pack/solutions/search/packages/shared-ui`\\r\\n|\\r\\n\\r\\n\\r\\n<details\n>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-relocate/utils/transforms.ts\\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/.i18nrc.json\\r\\n./x-pack/solutions/search/packages/shared-ui/jest.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/search/packages/shared-ui/jest.config.js:14\\r\\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:Search\",\"backport:version\",\"v9.1.0\",\"v8.19.0\"],\"title\":\"SKA:\nFix kebab-case issues in search-kibana\npackages\",\"number\":211348,\"url\":\"https://github.com/elastic/kibana/pull/211348\",\"mergeCommit\":{\"message\":\"SKA:\nFix kebab-case issues in search-kibana packages (#211348)\\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####\n1 packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target folder\n|\\r\\n| -- | ------------- |\\r\\n| `@kbn/search-shared-ui` |\n`x-pack/solutions/search/packages/shared-ui`\\r\\n|\\r\\n\\r\\n\\r\\n<details\n>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-relocate/utils/transforms.ts\\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/.i18nrc.json\\r\\n./x-pack/solutions/search/packages/shared-ui/jest.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/search/packages/shared-ui/jest.config.js:14\\r\\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506\"}},\"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/211348\",\"number\":211348,\"mergeCommit\":{\"message\":\"SKA:\nFix kebab-case issues in search-kibana packages (#211348)\\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####\n1 packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target folder\n|\\r\\n| -- | ------------- |\\r\\n| `@kbn/search-shared-ui` |\n`x-pack/solutions/search/packages/shared-ui`\\r\\n|\\r\\n\\r\\n\\r\\n<details\n>\\r\\n<summary>Updated\nreferences</summary>\\r\\n\\r\\n```\\r\\n./package.json\\r\\n./packages/kbn-relocate/utils/transforms.ts\\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/.i18nrc.json\\r\\n./x-pack/solutions/search/packages/shared-ui/jest.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/search/packages/shared-ui/jest.config.js:14\\r\\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506\"}},{\"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/211348","number":211348,"mergeCommit":{"message":"SKA: Fix kebab-case issues in search-kibana packages (#211348)\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#### 1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/search-shared-ui` | `x-pack/solutions/search/packages/shared-ui`\r\n|\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-relocate/utils/transforms.ts\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/.i18nrc.json\r\n./x-pack/solutions/search/packages/shared-ui/jest.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/search/packages/shared-ui/jest.config.js:14\r\nx-pack/solutions/search/packages/shared-ui/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"11cd98bfc14ddafc87bc84b6bbe407e9a3b44506"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
af941d801c
|
[8.x] SKA: Unify serverless modules + storybook config (#211570) (#211693)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Unify `serverless` modules + storybook config (#211570)](https://github.com/elastic/kibana/pull/211570) <!--- 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-19T08:10:35Z","message":"SKA: Unify `serverless` modules + storybook config (#211570)\n\n## Summary\r\n\r\nAs part of the SKA, some groups of modules have been broken-down and\r\nrelocated in different folders, negatively impacting DX. This is the\r\ncase for `serverless` modules, that are spread across:\r\n```\r\n- packages/serverless # storybook config\r\n- src/platform/packages/private/serverless\r\n- src/platform/packages/shared/serverless\r\n```\r\n\r\nThe goal of this PR is to unify them back under\r\n`src/platform/packages/shared/severless`.\r\nIn this scenario, I believe the simplification is worth the trade off.\r\n\r\nCC @elastic/kibana-management @elastic/appex-sharedux WDYT?\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"8f7f6a7a81dd25d529b1d87c882f49afbe7bdf99","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana Management","release_note:skip","v9.0.0","Team:SharedUX","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Unify `serverless` modules + storybook config","number":211570,"url":"https://github.com/elastic/kibana/pull/211570","mergeCommit":{"message":"SKA: Unify `serverless` modules + storybook config (#211570)\n\n## Summary\r\n\r\nAs part of the SKA, some groups of modules have been broken-down and\r\nrelocated in different folders, negatively impacting DX. This is the\r\ncase for `serverless` modules, that are spread across:\r\n```\r\n- packages/serverless # storybook config\r\n- src/platform/packages/private/serverless\r\n- src/platform/packages/shared/serverless\r\n```\r\n\r\nThe goal of this PR is to unify them back under\r\n`src/platform/packages/shared/severless`.\r\nIn this scenario, I believe the simplification is worth the trade off.\r\n\r\nCC @elastic/kibana-management @elastic/appex-sharedux WDYT?\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"8f7f6a7a81dd25d529b1d87c882f49afbe7bdf99"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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/211570","number":211570,"mergeCommit":{"message":"SKA: Unify `serverless` modules + storybook config (#211570)\n\n## Summary\r\n\r\nAs part of the SKA, some groups of modules have been broken-down and\r\nrelocated in different folders, negatively impacting DX. This is the\r\ncase for `serverless` modules, that are spread across:\r\n```\r\n- packages/serverless # storybook config\r\n- src/platform/packages/private/serverless\r\n- src/platform/packages/shared/serverless\r\n```\r\n\r\nThe goal of this PR is to unify them back under\r\n`src/platform/packages/shared/severless`.\r\nIn this scenario, I believe the simplification is worth the trade off.\r\n\r\nCC @elastic/kibana-management @elastic/appex-sharedux WDYT?\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"8f7f6a7a81dd25d529b1d87c882f49afbe7bdf99"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
9022827d4b
|
[8.x] SKA: Unify kbn-management folders + storybook config (#211564) (#211690)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Unify `kbn-management` folders + storybook config (#211564)](https://github.com/elastic/kibana/pull/211564) <!--- 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-19T08:10:22Z","message":"SKA: Unify `kbn-management` folders + storybook config (#211564)\n\n## Summary\r\n\r\nAs part of the SKA, some groups of modules have been broken-down and\r\nrelocated in different folders, negatively impacting DX. This is the\r\ncase for `kbn-management` modules, that are spread across:\r\n```\r\n- packages/kbn-management (storybook config)\r\n- src/platform/packages/private/kbn-management\r\n- src/platform/packages/shared/kbn-management\r\n```\r\n\r\nThe goal of this PR is to unify them back under\r\n`src/platform/packages/shared/kbn-management`.\r\nIn this scenario, I believe the simplification is worth the trade off.\r\n\r\nCC @elastic/kibana-management WDYT?\r\n\r\nCo-authored-by: Matthew Kime <matt@mattki.me>","sha":"b2b3fa9a84034bf6a49a38ea3b434245582c7909","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana Management","release_note:skip","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Unify `kbn-management` folders + storybook config","number":211564,"url":"https://github.com/elastic/kibana/pull/211564","mergeCommit":{"message":"SKA: Unify `kbn-management` folders + storybook config (#211564)\n\n## Summary\r\n\r\nAs part of the SKA, some groups of modules have been broken-down and\r\nrelocated in different folders, negatively impacting DX. This is the\r\ncase for `kbn-management` modules, that are spread across:\r\n```\r\n- packages/kbn-management (storybook config)\r\n- src/platform/packages/private/kbn-management\r\n- src/platform/packages/shared/kbn-management\r\n```\r\n\r\nThe goal of this PR is to unify them back under\r\n`src/platform/packages/shared/kbn-management`.\r\nIn this scenario, I believe the simplification is worth the trade off.\r\n\r\nCC @elastic/kibana-management WDYT?\r\n\r\nCo-authored-by: Matthew Kime <matt@mattki.me>","sha":"b2b3fa9a84034bf6a49a38ea3b434245582c7909"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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/211564","number":211564,"mergeCommit":{"message":"SKA: Unify `kbn-management` folders + storybook config (#211564)\n\n## Summary\r\n\r\nAs part of the SKA, some groups of modules have been broken-down and\r\nrelocated in different folders, negatively impacting DX. This is the\r\ncase for `kbn-management` modules, that are spread across:\r\n```\r\n- packages/kbn-management (storybook config)\r\n- src/platform/packages/private/kbn-management\r\n- src/platform/packages/shared/kbn-management\r\n```\r\n\r\nThe goal of this PR is to unify them back under\r\n`src/platform/packages/shared/kbn-management`.\r\nIn this scenario, I believe the simplification is worth the trade off.\r\n\r\nCC @elastic/kibana-management WDYT?\r\n\r\nCo-authored-by: Matthew Kime <matt@mattki.me>","sha":"b2b3fa9a84034bf6a49a38ea3b434245582c7909"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
c8c7f22408
|
[8.x] 🌊 Move kbn-streams-schema to platform (#211230) (#211591)
# Backport This will backport the following commits from `main` to `8.x`: - 🌊 Move kbn-streams-schema to platform (#211230)](https://github.com/elastic/kibana/pull/211230) |
||
|
975485161c
|
[8.x] [scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761) (#211490)
# Backport This will backport the following commits from `main` to `8.x`: - [[scout] adding test helper `@kbn/scout-oblt` package and uptate onboarding tests (#209761)](https://github.com/elastic/kibana/pull/209761) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T17:38:41Z","message":"[scout] adding test helper `@kbn/scout-oblt` package and uptate onboarding tests (#209761)\n\n## Summary\r\n\r\n`@kbn/scout-oblt` is a test library that extends `@kbn/scout` with test\r\nhelpers specifically designed to test `Observability` applications in\r\nKibana. All Oblt plugins should only import from `@kbn/scout-oblt`\r\n\r\nIts primary goal is to simplify the test development experience for\r\nteams working on `Observability` plugins by providing custom Playwright\r\nfixtures, page objects, and utilities tailored for Observability-related\r\ntesting scenarios.\r\n\r\nContributing:\r\n- when Fixture/Page Object is sharable across all Solutions and Platform\r\n(`fleetApi` fixture), it should be added in `@kbn/scout`\r\n- when Fixture/Page Object is Oblt-specific but is shared across tests\r\nunder the multiple plugins (`OnboardingHome` page), it should be added\r\nin `@kbn/scout-oblt`\r\n- when Fixture/Page Object is only used in a single plugin (`onboarding`\r\ninternal APIs ?), it should be added in this plugin.\r\n\r\nI also re-worked existing tests with few ideas in mind:\r\n- Scout is **e2e testing tool** and should target primary e2e test\r\nscenarios; We have _API integration tests_ to test multiple short\r\nscenarios for APIs behavior (response, status code) and _jest/React\r\ntesting library_ to test components in isolation (elements rendering,\r\nfields validation). Doing all the testing with e2e tool like Playwright\r\nwill dramatically affect cost efficiency and stability of tests, but\r\nalso slows overall CI execution and PRs delivery. The goal is to follow\r\ntesting pyramid and keep in mind its principles.\r\n- We on purpose spin up new browser context for each `test` block to\r\nmake sure our **tests are independent**. Having too many short `test`\r\nblocks in the file significantly slows down the execution: every block\r\ntriggers browser context, saml authentication, adding/removing Fleet\r\nintegrations (each call up to 2 seconds) and other beforeEach/afterEach\r\nhooks. Real browser-based testing is expensive. It is not about putting\r\nevery step into 1 `test` block, but also not a Jest unit-test-style\r\ndesign. When it is possible to group similar actions on the same page\r\nand if it is a part of the same user flow - we should do it. It also\r\ndoesn't bring the testing value repeating the same UI steps multiple\r\ntimes in different scenarios. _Our CI costs are critical to cut when it\r\nis possible_\r\n- Avoid **nesting describe** blocks: it complicates test readability and\r\nalso complicates for CI bot to properly skip the failing block (it will\r\nskip the top level one). We encourage **Scout parallel test execution**\r\nbased on running test spec files in multiple workers, not the `test`\r\nblocks within the same file. Having too many `test` blocks in the same\r\nfile will be slowly run in the single thread and in case of flakiness,\r\nit means Team lose more test coverage than they probably expect.\r\n\r\nBefore (**59** test blocks - **8-8.5 min** per distro):\r\n<img width=\"1709\" alt=\"Screenshot 2025-02-08 at 18 01 40\"\r\nsrc=\"https://github.com/user-attachments/assets/5fd65a1c-85f9-4594-9dae-3f8e99a005ab\"\r\n/>\r\n\r\nAfter (**15** test blocks - **3.5-4 min** per distro):\r\n<img width=\"1578\" alt=\"Screenshot 2025-02-10 at 18 14 42\"\r\nsrc=\"https://github.com/user-attachments/assets/6846898f-7dd2-4f6b-8bc5-d06741b0b120\"\r\n/>\r\n\r\nFor reviewers: updated tests are possible to run in 2 parallel workers\r\nagainst the same Kibana/ES instance and run time is dropping to **2.5-3\r\nmin** 🚀 . It is up to UX-Logs team to decide if you want to keep\r\nparallel run (new tests can be added either to parallel or sequential\r\nrun)\r\n<img width=\"1578\" alt=\"Screenshot 2025-02-11 at 12 14 30\"\r\nsrc=\"https://github.com/user-attachments/assets/e94113f2-d7f1-470e-a6d5-cb5154d99c41\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"bd13e829498032c07bf8490f770a563f34e9f856","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","test:scout","v9.1.0","v8.19.0"],"title":"[scout] adding test helper `@kbn/scout-oblt` package and uptate onboarding tests","number":209761,"url":"https://github.com/elastic/kibana/pull/209761","mergeCommit":{"message":"[scout] adding test helper `@kbn/scout-oblt` package and uptate onboarding tests (#209761)\n\n## Summary\r\n\r\n`@kbn/scout-oblt` is a test library that extends `@kbn/scout` with test\r\nhelpers specifically designed to test `Observability` applications in\r\nKibana. All Oblt plugins should only import from `@kbn/scout-oblt`\r\n\r\nIts primary goal is to simplify the test development experience for\r\nteams working on `Observability` plugins by providing custom Playwright\r\nfixtures, page objects, and utilities tailored for Observability-related\r\ntesting scenarios.\r\n\r\nContributing:\r\n- when Fixture/Page Object is sharable across all Solutions and Platform\r\n(`fleetApi` fixture), it should be added in `@kbn/scout`\r\n- when Fixture/Page Object is Oblt-specific but is shared across tests\r\nunder the multiple plugins (`OnboardingHome` page), it should be added\r\nin `@kbn/scout-oblt`\r\n- when Fixture/Page Object is only used in a single plugin (`onboarding`\r\ninternal APIs ?), it should be added in this plugin.\r\n\r\nI also re-worked existing tests with few ideas in mind:\r\n- Scout is **e2e testing tool** and should target primary e2e test\r\nscenarios; We have _API integration tests_ to test multiple short\r\nscenarios for APIs behavior (response, status code) and _jest/React\r\ntesting library_ to test components in isolation (elements rendering,\r\nfields validation). Doing all the testing with e2e tool like Playwright\r\nwill dramatically affect cost efficiency and stability of tests, but\r\nalso slows overall CI execution and PRs delivery. The goal is to follow\r\ntesting pyramid and keep in mind its principles.\r\n- We on purpose spin up new browser context for each `test` block to\r\nmake sure our **tests are independent**. Having too many short `test`\r\nblocks in the file significantly slows down the execution: every block\r\ntriggers browser context, saml authentication, adding/removing Fleet\r\nintegrations (each call up to 2 seconds) and other beforeEach/afterEach\r\nhooks. Real browser-based testing is expensive. It is not about putting\r\nevery step into 1 `test` block, but also not a Jest unit-test-style\r\ndesign. When it is possible to group similar actions on the same page\r\nand if it is a part of the same user flow - we should do it. It also\r\ndoesn't bring the testing value repeating the same UI steps multiple\r\ntimes in different scenarios. _Our CI costs are critical to cut when it\r\nis possible_\r\n- Avoid **nesting describe** blocks: it complicates test readability and\r\nalso complicates for CI bot to properly skip the failing block (it will\r\nskip the top level one). We encourage **Scout parallel test execution**\r\nbased on running test spec files in multiple workers, not the `test`\r\nblocks within the same file. Having too many `test` blocks in the same\r\nfile will be slowly run in the single thread and in case of flakiness,\r\nit means Team lose more test coverage than they probably expect.\r\n\r\nBefore (**59** test blocks - **8-8.5 min** per distro):\r\n<img width=\"1709\" alt=\"Screenshot 2025-02-08 at 18 01 40\"\r\nsrc=\"https://github.com/user-attachments/assets/5fd65a1c-85f9-4594-9dae-3f8e99a005ab\"\r\n/>\r\n\r\nAfter (**15** test blocks - **3.5-4 min** per distro):\r\n<img width=\"1578\" alt=\"Screenshot 2025-02-10 at 18 14 42\"\r\nsrc=\"https://github.com/user-attachments/assets/6846898f-7dd2-4f6b-8bc5-d06741b0b120\"\r\n/>\r\n\r\nFor reviewers: updated tests are possible to run in 2 parallel workers\r\nagainst the same Kibana/ES instance and run time is dropping to **2.5-3\r\nmin** 🚀 . It is up to UX-Logs team to decide if you want to keep\r\nparallel run (new tests can be added either to parallel or sequential\r\nrun)\r\n<img width=\"1578\" alt=\"Screenshot 2025-02-11 at 12 14 30\"\r\nsrc=\"https://github.com/user-attachments/assets/e94113f2-d7f1-470e-a6d5-cb5154d99c41\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"bd13e829498032c07bf8490f770a563f34e9f856"}},"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/210675","number":210675,"state":"MERGED","mergeCommit":{"sha":"187b2307220a1f54776b0b3b05d131b0e75b6e03","message":"[9.0] [scout] adding test helper `@kbn/scout-oblt` package and uptate onboarding tests (#209761) (#210675)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[scout] adding test helper `@kbn/scout-oblt` package and\nuptate onboarding tests\n(#209761)](https://github.com/elastic/kibana/pull/209761)\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\":\"Dzmitry\nLemechko\",\"email\":\"dzmitry.lemechko@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-11T17:38:41Z\",\"message\":\"[scout]\nadding test helper `@kbn/scout-oblt` package and uptate onboarding tests\n(#209761)\\n\\n## Summary\\r\\n\\r\\n`@kbn/scout-oblt` is a test library that\nextends `@kbn/scout` with test\\r\\nhelpers specifically designed to test\n`Observability` applications in\\r\\nKibana. All Oblt plugins should only\nimport from `@kbn/scout-oblt`\\r\\n\\r\\nIts primary goal is to simplify the\ntest development experience for\\r\\nteams working on `Observability`\nplugins by providing custom Playwright\\r\\nfixtures, page objects, and\nutilities tailored for Observability-related\\r\\ntesting\nscenarios.\\r\\n\\r\\nContributing:\\r\\n- when Fixture/Page Object is\nsharable across all Solutions and Platform\\r\\n(`fleetApi` fixture), it\nshould be added in `@kbn/scout`\\r\\n- when Fixture/Page Object is\nOblt-specific but is shared across tests\\r\\nunder the multiple plugins\n(`OnboardingHome` page), it should be added\\r\\nin `@kbn/scout-oblt`\\r\\n-\nwhen Fixture/Page Object is only used in a single plugin\n(`onboarding`\\r\\ninternal APIs ?), it should be added in this\nplugin.\\r\\n\\r\\nI also re-worked existing tests with few ideas in\nmind:\\r\\n- Scout is **e2e testing tool** and should target primary e2e\ntest\\r\\nscenarios; We have _API integration tests_ to test multiple\nshort\\r\\nscenarios for APIs behavior (response, status code) and\n_jest/React\\r\\ntesting library_ to test components in isolation\n(elements rendering,\\r\\nfields validation). Doing all the testing with\ne2e tool like Playwright\\r\\nwill dramatically affect cost efficiency and\nstability of tests, but\\r\\nalso slows overall CI execution and PRs\ndelivery. The goal is to follow\\r\\ntesting pyramid and keep in mind its\nprinciples.\\r\\n- We on purpose spin up new browser context for each\n`test` block to\\r\\nmake sure our **tests are independent**. Having too\nmany short `test`\\r\\nblocks in the file significantly slows down the\nexecution: every block\\r\\ntriggers browser context, saml authentication,\nadding/removing Fleet\\r\\nintegrations (each call up to 2 seconds) and\nother beforeEach/afterEach\\r\\nhooks. Real browser-based testing is\nexpensive. It is not about putting\\r\\nevery step into 1 `test` block,\nbut also not a Jest unit-test-style\\r\\ndesign. When it is possible to\ngroup similar actions on the same page\\r\\nand if it is a part of the\nsame user flow - we should do it. It also\\r\\ndoesn't bring the testing\nvalue repeating the same UI steps multiple\\r\\ntimes in different\nscenarios. _Our CI costs are critical to cut when it\\r\\nis\npossible_\\r\\n- Avoid **nesting describe** blocks: it complicates test\nreadability and\\r\\nalso complicates for CI bot to properly skip the\nfailing block (it will\\r\\nskip the top level one). We encourage **Scout\nparallel test execution**\\r\\nbased on running test spec files in\nmultiple workers, not the `test`\\r\\nblocks within the same file. Having\ntoo many `test` blocks in the same\\r\\nfile will be slowly run in the\nsingle thread and in case of flakiness,\\r\\nit means Team lose more test\ncoverage than they probably expect.\\r\\n\\r\\nBefore (**59** test blocks -\n**8-8.5 min** per distro):\\r\\n<img width=\\\"1709\\\" alt=\\\"Screenshot\n2025-02-08 at 18 01\n40\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/5fd65a1c-85f9-4594-9dae-3f8e99a005ab\\\"\\r\\n/>\\r\\n\\r\\nAfter\n(**15** test blocks - **3.5-4 min** per distro):\\r\\n<img width=\\\"1578\\\"\nalt=\\\"Screenshot 2025-02-10 at 18 14\n42\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/6846898f-7dd2-4f6b-8bc5-d06741b0b120\\\"\\r\\n/>\\r\\n\\r\\nFor\nreviewers: updated tests are possible to run in 2 parallel\nworkers\\r\\nagainst the same Kibana/ES instance and run time is dropping\nto **2.5-3\\r\\nmin** 🚀 . It is up to UX-Logs team to decide if you want\nto keep\\r\\nparallel run (new tests can be added either to parallel or\nsequential\\r\\nrun)\\r\\n<img width=\\\"1578\\\" alt=\\\"Screenshot 2025-02-11 at\n12 14\n30\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/e94113f2-d7f1-470e-a6d5-cb5154d99c41\\\"\\r\\n/>\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:\nkibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"bd13e829498032c07bf8490f770a563f34e9f856\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"backport:version\",\"test:scout\",\"v9.1.0\",\"v8.19.0\"],\"title\":\"[scout]\nadding test helper `@kbn/scout-oblt` package and uptate onboarding\ntests\",\"number\":209761,\"url\":\"https://github.com/elastic/kibana/pull/209761\",\"mergeCommit\":{\"message\":\"[scout]\nadding test helper `@kbn/scout-oblt` package and uptate onboarding tests\n(#209761)\\n\\n## Summary\\r\\n\\r\\n`@kbn/scout-oblt` is a test library that\nextends `@kbn/scout` with test\\r\\nhelpers specifically designed to test\n`Observability` applications in\\r\\nKibana. All Oblt plugins should only\nimport from `@kbn/scout-oblt`\\r\\n\\r\\nIts primary goal is to simplify the\ntest development experience for\\r\\nteams working on `Observability`\nplugins by providing custom Playwright\\r\\nfixtures, page objects, and\nutilities tailored for Observability-related\\r\\ntesting\nscenarios.\\r\\n\\r\\nContributing:\\r\\n- when Fixture/Page Object is\nsharable across all Solutions and Platform\\r\\n(`fleetApi` fixture), it\nshould be added in `@kbn/scout`\\r\\n- when Fixture/Page Object is\nOblt-specific but is shared across tests\\r\\nunder the multiple plugins\n(`OnboardingHome` page), it should be added\\r\\nin `@kbn/scout-oblt`\\r\\n-\nwhen Fixture/Page Object is only used in a single plugin\n(`onboarding`\\r\\ninternal APIs ?), it should be added in this\nplugin.\\r\\n\\r\\nI also re-worked existing tests with few ideas in\nmind:\\r\\n- Scout is **e2e testing tool** and should target primary e2e\ntest\\r\\nscenarios; We have _API integration tests_ to test multiple\nshort\\r\\nscenarios for APIs behavior (response, status code) and\n_jest/React\\r\\ntesting library_ to test components in isolation\n(elements rendering,\\r\\nfields validation). Doing all the testing with\ne2e tool like Playwright\\r\\nwill dramatically affect cost efficiency and\nstability of tests, but\\r\\nalso slows overall CI execution and PRs\ndelivery. The goal is to follow\\r\\ntesting pyramid and keep in mind its\nprinciples.\\r\\n- We on purpose spin up new browser context for each\n`test` block to\\r\\nmake sure our **tests are independent**. Having too\nmany short `test`\\r\\nblocks in the file significantly slows down the\nexecution: every block\\r\\ntriggers browser context, saml authentication,\nadding/removing Fleet\\r\\nintegrations (each call up to 2 seconds) and\nother beforeEach/afterEach\\r\\nhooks. Real browser-based testing is\nexpensive. It is not about putting\\r\\nevery step into 1 `test` block,\nbut also not a Jest unit-test-style\\r\\ndesign. When it is possible to\ngroup similar actions on the same page\\r\\nand if it is a part of the\nsame user flow - we should do it. It also\\r\\ndoesn't bring the testing\nvalue repeating the same UI steps multiple\\r\\ntimes in different\nscenarios. _Our CI costs are critical to cut when it\\r\\nis\npossible_\\r\\n- Avoid **nesting describe** blocks: it complicates test\nreadability and\\r\\nalso complicates for CI bot to properly skip the\nfailing block (it will\\r\\nskip the top level one). We encourage **Scout\nparallel test execution**\\r\\nbased on running test spec files in\nmultiple workers, not the `test`\\r\\nblocks within the same file. Having\ntoo many `test` blocks in the same\\r\\nfile will be slowly run in the\nsingle thread and in case of flakiness,\\r\\nit means Team lose more test\ncoverage than they probably expect.\\r\\n\\r\\nBefore (**59** test blocks -\n**8-8.5 min** per distro):\\r\\n<img width=\\\"1709\\\" alt=\\\"Screenshot\n2025-02-08 at 18 01\n40\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/5fd65a1c-85f9-4594-9dae-3f8e99a005ab\\\"\\r\\n/>\\r\\n\\r\\nAfter\n(**15** test blocks - **3.5-4 min** per distro):\\r\\n<img width=\\\"1578\\\"\nalt=\\\"Screenshot 2025-02-10 at 18 14\n42\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/6846898f-7dd2-4f6b-8bc5-d06741b0b120\\\"\\r\\n/>\\r\\n\\r\\nFor\nreviewers: updated tests are possible to run in 2 parallel\nworkers\\r\\nagainst the same Kibana/ES instance and run time is dropping\nto **2.5-3\\r\\nmin** 🚀 . It is up to UX-Logs team to decide if you want\nto keep\\r\\nparallel run (new tests can be added either to parallel or\nsequential\\r\\nrun)\\r\\n<img width=\\\"1578\\\" alt=\\\"Screenshot 2025-02-11 at\n12 14\n30\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/e94113f2-d7f1-470e-a6d5-cb5154d99c41\\\"\\r\\n/>\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:\nkibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"bd13e829498032c07bf8490f770a563f34e9f856\"}},\"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/209761\",\"number\":209761,\"mergeCommit\":{\"message\":\"[scout]\nadding test helper `@kbn/scout-oblt` package and uptate onboarding tests\n(#209761)\\n\\n## Summary\\r\\n\\r\\n`@kbn/scout-oblt` is a test library that\nextends `@kbn/scout` with test\\r\\nhelpers specifically designed to test\n`Observability` applications in\\r\\nKibana. All Oblt plugins should only\nimport from `@kbn/scout-oblt`\\r\\n\\r\\nIts primary goal is to simplify the\ntest development experience for\\r\\nteams working on `Observability`\nplugins by providing custom Playwright\\r\\nfixtures, page objects, and\nutilities tailored for Observability-related\\r\\ntesting\nscenarios.\\r\\n\\r\\nContributing:\\r\\n- when Fixture/Page Object is\nsharable across all Solutions and Platform\\r\\n(`fleetApi` fixture), it\nshould be added in `@kbn/scout`\\r\\n- when Fixture/Page Object is\nOblt-specific but is shared across tests\\r\\nunder the multiple plugins\n(`OnboardingHome` page), it should be added\\r\\nin `@kbn/scout-oblt`\\r\\n-\nwhen Fixture/Page Object is only used in a single plugin\n(`onboarding`\\r\\ninternal APIs ?), it should be added in this\nplugin.\\r\\n\\r\\nI also re-worked existing tests with few ideas in\nmind:\\r\\n- Scout is **e2e testing tool** and should target primary e2e\ntest\\r\\nscenarios; We have _API integration tests_ to test multiple\nshort\\r\\nscenarios for APIs behavior (response, status code) and\n_jest/React\\r\\ntesting library_ to test components in isolation\n(elements rendering,\\r\\nfields validation). Doing all the testing with\ne2e tool like Playwright\\r\\nwill dramatically affect cost efficiency and\nstability of tests, but\\r\\nalso slows overall CI execution and PRs\ndelivery. The goal is to follow\\r\\ntesting pyramid and keep in mind its\nprinciples.\\r\\n- We on purpose spin up new browser context for each\n`test` block to\\r\\nmake sure our **tests are independent**. Having too\nmany short `test`\\r\\nblocks in the file significantly slows down the\nexecution: every block\\r\\ntriggers browser context, saml authentication,\nadding/removing Fleet\\r\\nintegrations (each call up to 2 seconds) and\nother beforeEach/afterEach\\r\\nhooks. Real browser-based testing is\nexpensive. It is not about putting\\r\\nevery step into 1 `test` block,\nbut also not a Jest unit-test-style\\r\\ndesign. When it is possible to\ngroup similar actions on the same page\\r\\nand if it is a part of the\nsame user flow - we should do it. It also\\r\\ndoesn't bring the testing\nvalue repeating the same UI steps multiple\\r\\ntimes in different\nscenarios. _Our CI costs are critical to cut when it\\r\\nis\npossible_\\r\\n- Avoid **nesting describe** blocks: it complicates test\nreadability and\\r\\nalso complicates for CI bot to properly skip the\nfailing block (it will\\r\\nskip the top level one). We encourage **Scout\nparallel test execution**\\r\\nbased on running test spec files in\nmultiple workers, not the `test`\\r\\nblocks within the same file. Having\ntoo many `test` blocks in the same\\r\\nfile will be slowly run in the\nsingle thread and in case of flakiness,\\r\\nit means Team lose more test\ncoverage than they probably expect.\\r\\n\\r\\nBefore (**59** test blocks -\n**8-8.5 min** per distro):\\r\\n<img width=\\\"1709\\\" alt=\\\"Screenshot\n2025-02-08 at 18 01\n40\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/5fd65a1c-85f9-4594-9dae-3f8e99a005ab\\\"\\r\\n/>\\r\\n\\r\\nAfter\n(**15** test blocks - **3.5-4 min** per distro):\\r\\n<img width=\\\"1578\\\"\nalt=\\\"Screenshot 2025-02-10 at 18 14\n42\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/6846898f-7dd2-4f6b-8bc5-d06741b0b120\\\"\\r\\n/>\\r\\n\\r\\nFor\nreviewers: updated tests are possible to run in 2 parallel\nworkers\\r\\nagainst the same Kibana/ES instance and run time is dropping\nto **2.5-3\\r\\nmin** 🚀 . It is up to UX-Logs team to decide if you want\nto keep\\r\\nparallel run (new tests can be added either to parallel or\nsequential\\r\\nrun)\\r\\n<img width=\\\"1578\\\" alt=\\\"Screenshot 2025-02-11 at\n12 14\n30\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/e94113f2-d7f1-470e-a6d5-cb5154d99c41\\\"\\r\\n/>\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:\nkibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"bd13e829498032c07bf8490f770a563f34e9f856\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209761","number":209761,"mergeCommit":{"message":"[scout] adding test helper `@kbn/scout-oblt` package and uptate onboarding tests (#209761)\n\n## Summary\r\n\r\n`@kbn/scout-oblt` is a test library that extends `@kbn/scout` with test\r\nhelpers specifically designed to test `Observability` applications in\r\nKibana. All Oblt plugins should only import from `@kbn/scout-oblt`\r\n\r\nIts primary goal is to simplify the test development experience for\r\nteams working on `Observability` plugins by providing custom Playwright\r\nfixtures, page objects, and utilities tailored for Observability-related\r\ntesting scenarios.\r\n\r\nContributing:\r\n- when Fixture/Page Object is sharable across all Solutions and Platform\r\n(`fleetApi` fixture), it should be added in `@kbn/scout`\r\n- when Fixture/Page Object is Oblt-specific but is shared across tests\r\nunder the multiple plugins (`OnboardingHome` page), it should be added\r\nin `@kbn/scout-oblt`\r\n- when Fixture/Page Object is only used in a single plugin (`onboarding`\r\ninternal APIs ?), it should be added in this plugin.\r\n\r\nI also re-worked existing tests with few ideas in mind:\r\n- Scout is **e2e testing tool** and should target primary e2e test\r\nscenarios; We have _API integration tests_ to test multiple short\r\nscenarios for APIs behavior (response, status code) and _jest/React\r\ntesting library_ to test components in isolation (elements rendering,\r\nfields validation). Doing all the testing with e2e tool like Playwright\r\nwill dramatically affect cost efficiency and stability of tests, but\r\nalso slows overall CI execution and PRs delivery. The goal is to follow\r\ntesting pyramid and keep in mind its principles.\r\n- We on purpose spin up new browser context for each `test` block to\r\nmake sure our **tests are independent**. Having too many short `test`\r\nblocks in the file significantly slows down the execution: every block\r\ntriggers browser context, saml authentication, adding/removing Fleet\r\nintegrations (each call up to 2 seconds) and other beforeEach/afterEach\r\nhooks. Real browser-based testing is expensive. It is not about putting\r\nevery step into 1 `test` block, but also not a Jest unit-test-style\r\ndesign. When it is possible to group similar actions on the same page\r\nand if it is a part of the same user flow - we should do it. It also\r\ndoesn't bring the testing value repeating the same UI steps multiple\r\ntimes in different scenarios. _Our CI costs are critical to cut when it\r\nis possible_\r\n- Avoid **nesting describe** blocks: it complicates test readability and\r\nalso complicates for CI bot to properly skip the failing block (it will\r\nskip the top level one). We encourage **Scout parallel test execution**\r\nbased on running test spec files in multiple workers, not the `test`\r\nblocks within the same file. Having too many `test` blocks in the same\r\nfile will be slowly run in the single thread and in case of flakiness,\r\nit means Team lose more test coverage than they probably expect.\r\n\r\nBefore (**59** test blocks - **8-8.5 min** per distro):\r\n<img width=\"1709\" alt=\"Screenshot 2025-02-08 at 18 01 40\"\r\nsrc=\"https://github.com/user-attachments/assets/5fd65a1c-85f9-4594-9dae-3f8e99a005ab\"\r\n/>\r\n\r\nAfter (**15** test blocks - **3.5-4 min** per distro):\r\n<img width=\"1578\" alt=\"Screenshot 2025-02-10 at 18 14 42\"\r\nsrc=\"https://github.com/user-attachments/assets/6846898f-7dd2-4f6b-8bc5-d06741b0b120\"\r\n/>\r\n\r\nFor reviewers: updated tests are possible to run in 2 parallel workers\r\nagainst the same Kibana/ES instance and run time is dropping to **2.5-3\r\nmin** 🚀 . It is up to UX-Logs team to decide if you want to keep\r\nparallel run (new tests can be added either to parallel or sequential\r\nrun)\r\n<img width=\"1578\" alt=\"Screenshot 2025-02-11 at 12 14 30\"\r\nsrc=\"https://github.com/user-attachments/assets/e94113f2-d7f1-470e-a6d5-cb5154d99c41\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"bd13e829498032c07bf8490f770a563f34e9f856"}},{"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> |
||
|
e86ca4b448
|
[8.x] Migrate onboarding Cypress tests to Scout (#205482) (#211388)
# Backport This will backport the following commits from `main` to `8.x`: - [Migrate onboarding Cypress tests to Scout (#205482)](https://github.com/elastic/kibana/pull/205482) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Mykola Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2025-01-10T08:44:29Z","message":"Migrate onboarding Cypress tests to Scout (#205482)\n\nThis change converts Cypress tests for the custom logs flow into\r\nPlaywright using [the Scout\r\nwrapper](https://github.com/elastic/kibana/tree/main/packages/kbn-scout).\r\n\r\n> [!NOTE]\r\n> As Scout package is still being developed, the PR pipeline configured\r\nto runs Playwright tests only when code in certain plugins have been\r\nchanged and not on every PR.\r\n\r\n### How to run tests locally\r\n\r\nStart the Scout server\r\n```bash\r\nnode scripts/scout.js start-server --stateful\r\n```\r\n\r\nIn a separate terminal run the tests\r\n```bash\r\nnpx playwright test --config x-pack/solutions/observability/plugins/observability_onboarding/ui_tests/playwright.config.ts\r\n```\r\n\r\nPlaywright runs browsers in a headless mode by default, user `--headed`\r\noption if needed","sha":"6ed214a69f75a69305cbb06515bdb5e9e75ac3ae","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0","ci:project-deploy-observability"],"title":"Migrate onboarding Cypress tests to Scout","number":205482,"url":"https://github.com/elastic/kibana/pull/205482","mergeCommit":{"message":"Migrate onboarding Cypress tests to Scout (#205482)\n\nThis change converts Cypress tests for the custom logs flow into\r\nPlaywright using [the Scout\r\nwrapper](https://github.com/elastic/kibana/tree/main/packages/kbn-scout).\r\n\r\n> [!NOTE]\r\n> As Scout package is still being developed, the PR pipeline configured\r\nto runs Playwright tests only when code in certain plugins have been\r\nchanged and not on every PR.\r\n\r\n### How to run tests locally\r\n\r\nStart the Scout server\r\n```bash\r\nnode scripts/scout.js start-server --stateful\r\n```\r\n\r\nIn a separate terminal run the tests\r\n```bash\r\nnpx playwright test --config x-pack/solutions/observability/plugins/observability_onboarding/ui_tests/playwright.config.ts\r\n```\r\n\r\nPlaywright runs browsers in a headless mode by default, user `--headed`\r\noption if needed","sha":"6ed214a69f75a69305cbb06515bdb5e9e75ac3ae"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205482","number":205482,"mergeCommit":{"message":"Migrate onboarding Cypress tests to Scout (#205482)\n\nThis change converts Cypress tests for the custom logs flow into\r\nPlaywright using [the Scout\r\nwrapper](https://github.com/elastic/kibana/tree/main/packages/kbn-scout).\r\n\r\n> [!NOTE]\r\n> As Scout package is still being developed, the PR pipeline configured\r\nto runs Playwright tests only when code in certain plugins have been\r\nchanged and not on every PR.\r\n\r\n### How to run tests locally\r\n\r\nStart the Scout server\r\n```bash\r\nnode scripts/scout.js start-server --stateful\r\n```\r\n\r\nIn a separate terminal run the tests\r\n```bash\r\nnpx playwright test --config x-pack/solutions/observability/plugins/observability_onboarding/ui_tests/playwright.config.ts\r\n```\r\n\r\nPlaywright runs browsers in a headless mode by default, user `--headed`\r\noption if needed","sha":"6ed214a69f75a69305cbb06515bdb5e9e75ac3ae"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
9181d0cd1c
|
[8.x] SKA: Relocate new response-ops packages (#211241) (#211400)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Relocate new response-ops packages (#211241)](https://github.com/elastic/kibana/pull/211241) <!--- 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-17T09:57:15Z","message":"SKA: Relocate new response-ops packages (#211241)\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/response-ops-alerts-apis` |\r\n`src/platform/packages/shared/response-ops/alerts-apis` |\r\n| `@kbn/response-ops-alerts-fields-browser` |\r\n`src/platform/packages/shared/response-ops/alerts-fields-browser` |\r\n| `@kbn/response-ops-alerts-table` |\r\n`src/platform/packages/shared/response-ops/alerts-table` |\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./src/platform/packages/shared/response-ops/alerts-apis/jest.config.js\r\n./src/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js\r\n./src/platform/packages/shared/response-ops/alerts-table/jest.config.js\r\n./tsconfig.base.json\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\nsrc/platform/packages/shared/response-ops/alerts-apis/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-apis/tsconfig.json:2\r\nsrc/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-fields-browser/tsconfig.json:2\r\nsrc/platform/packages/shared/response-ops/alerts-table/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-table/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Umberto Pepato <umbopepato@users.noreply.github.com>","sha":"e527f2b79a02d9f4b3eea00dad149c8b05ea85de","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"SKA: Relocate new response-ops packages","number":211241,"url":"https://github.com/elastic/kibana/pull/211241","mergeCommit":{"message":"SKA: Relocate new response-ops packages (#211241)\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/response-ops-alerts-apis` |\r\n`src/platform/packages/shared/response-ops/alerts-apis` |\r\n| `@kbn/response-ops-alerts-fields-browser` |\r\n`src/platform/packages/shared/response-ops/alerts-fields-browser` |\r\n| `@kbn/response-ops-alerts-table` |\r\n`src/platform/packages/shared/response-ops/alerts-table` |\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./src/platform/packages/shared/response-ops/alerts-apis/jest.config.js\r\n./src/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js\r\n./src/platform/packages/shared/response-ops/alerts-table/jest.config.js\r\n./tsconfig.base.json\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\nsrc/platform/packages/shared/response-ops/alerts-apis/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-apis/tsconfig.json:2\r\nsrc/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-fields-browser/tsconfig.json:2\r\nsrc/platform/packages/shared/response-ops/alerts-table/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-table/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Umberto Pepato <umbopepato@users.noreply.github.com>","sha":"e527f2b79a02d9f4b3eea00dad149c8b05ea85de"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"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/211241","number":211241,"mergeCommit":{"message":"SKA: Relocate new response-ops packages (#211241)\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/response-ops-alerts-apis` |\r\n`src/platform/packages/shared/response-ops/alerts-apis` |\r\n| `@kbn/response-ops-alerts-fields-browser` |\r\n`src/platform/packages/shared/response-ops/alerts-fields-browser` |\r\n| `@kbn/response-ops-alerts-table` |\r\n`src/platform/packages/shared/response-ops/alerts-table` |\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./src/platform/packages/shared/response-ops/alerts-apis/jest.config.js\r\n./src/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js\r\n./src/platform/packages/shared/response-ops/alerts-table/jest.config.js\r\n./tsconfig.base.json\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\nsrc/platform/packages/shared/response-ops/alerts-apis/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-apis/tsconfig.json:2\r\nsrc/platform/packages/shared/response-ops/alerts-fields-browser/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-fields-browser/tsconfig.json:2\r\nsrc/platform/packages/shared/response-ops/alerts-table/jest.config.js:12\r\nsrc/platform/packages/shared/response-ops/alerts-table/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Umberto Pepato <umbopepato@users.noreply.github.com>","sha":"e527f2b79a02d9f4b3eea00dad149c8b05ea85de"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
361ca2fadc
|
[8.x] SKA: Fix kebab-case issues in obs-ux-logs packages (#211347) (#211383)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix kebab-case issues in obs-ux-logs packages (#211347)](https://github.com/elastic/kibana/pull/211347) <!--- 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-17T08:08:38Z","message":"SKA: Fix kebab-case issues in obs-ux-logs packages (#211347)\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#### 1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/logs-overview` | `x-pack/platform/packages/shared/logs-overview`\r\n|\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/.i18nrc.json\r\n./x-pack/platform/packages/shared/logs-overview/jest.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/platform/packages/shared/logs-overview/jest.config.js:10\r\nx-pack/platform/packages/shared/logs-overview/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"0ecbbd52becb2d48150c837149d54125ddd5c6e3","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-logs","backport:version","v9.1.0","v8.19.0"],"title":"SKA: Fix kebab-case issues in obs-ux-logs packages","number":211347,"url":"https://github.com/elastic/kibana/pull/211347","mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ux-logs packages (#211347)\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#### 1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/logs-overview` | `x-pack/platform/packages/shared/logs-overview`\r\n|\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/.i18nrc.json\r\n./x-pack/platform/packages/shared/logs-overview/jest.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/platform/packages/shared/logs-overview/jest.config.js:10\r\nx-pack/platform/packages/shared/logs-overview/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"0ecbbd52becb2d48150c837149d54125ddd5c6e3"}},"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/211347","number":211347,"mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ux-logs packages (#211347)\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#### 1 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/logs-overview` | `x-pack/platform/packages/shared/logs-overview`\r\n|\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/.i18nrc.json\r\n./x-pack/platform/packages/shared/logs-overview/jest.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/platform/packages/shared/logs-overview/jest.config.js:10\r\nx-pack/platform/packages/shared/logs-overview/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"0ecbbd52becb2d48150c837149d54125ddd5c6e3"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
7293166bdc
|
[8.x] SKA: Fix kebab-case issues in observability-ui packages (#211248) (#211374)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix kebab-case issues in observability-ui packages (#211248)](https://github.com/elastic/kibana/pull/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> |
||
|
76d20ae332
|
[8.x] SKA: Fix kebab-case issues in cloud-security-posture packages (#211314) (#211376)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)](https://github.com/elastic/kibana/pull/211314) <!--- 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-14T21:12:16Z","message":"SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)","sha":"89b05458ad291293d9584983a48500976151562b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Security Solution Platform","backport:version","v9.1.0","v8.19.0"],"title":"SKA: Fix kebab-case issues in cloud-security-posture packages","number":211314,"url":"https://github.com/elastic/kibana/pull/211314","mergeCommit":{"message":"SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},"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/211326","number":211326,"state":"MERGED","mergeCommit":{"sha":"8eefc6a697fe04e3a38f6ba12c5c48a037633b23","message":"[9.0] SKA: Fix kebab-case issues in cloud-security-posture packages (#211314) (#211326)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [SKA: Fix kebab-case issues in cloud-security-posture packages\n(#211314)](https://github.com/elastic/kibana/pull/211314)\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-14T21:12:16Z\",\"message\":\"SKA:\nFix kebab-case issues in cloud-security-posture packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:Security\nSolution Platform\",\"backport:version\",\"v9.1.0\",\"v8.19.0\"],\"title\":\"SKA:\nFix kebab-case issues in cloud-security-posture\npackages\",\"number\":211314,\"url\":\"https://github.com/elastic/kibana/pull/211314\",\"mergeCommit\":{\"message\":\"SKA:\nFix kebab-case issues in cloud-security-posture packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\"}},\"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/211314\",\"number\":211314,\"mergeCommit\":{\"message\":\"SKA:\nFix kebab-case issues in cloud-security-posture packages\n(#211314)\",\"sha\":\"89b05458ad291293d9584983a48500976151562b\"}},{\"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/211314","number":211314,"mergeCommit":{"message":"SKA: Fix kebab-case issues in cloud-security-posture packages (#211314)","sha":"89b05458ad291293d9584983a48500976151562b"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
f5ab9891dc
|
[8.x] SKA: Fix kebab-case issues in obs-ai-assistant packages (#211346) (#211377)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Fix kebab-case issues in obs-ai-assistant packages (#211346)](https://github.com/elastic/kibana/pull/211346) <!--- 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-16T06:54:16Z","message":"SKA: Fix kebab-case issues in obs-ai-assistant packages (#211346)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common` |\r\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-common`\r\n|\r\n| `@kbn/observability-ai-server` |\r\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-server`\r\n|\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/observability-ai/observability-ai-common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.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/observability-ai/observability-ai-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"299a91c83db76f95ab8f9e0fda258a9356b3c4a6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Obs AI Assistant","backport:version","v9.1.0","v8.19.0"],"title":"SKA: Fix kebab-case issues in obs-ai-assistant packages","number":211346,"url":"https://github.com/elastic/kibana/pull/211346","mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ai-assistant packages (#211346)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common` |\r\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-common`\r\n|\r\n| `@kbn/observability-ai-server` |\r\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-server`\r\n|\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/observability-ai/observability-ai-common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.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/observability-ai/observability-ai-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"299a91c83db76f95ab8f9e0fda258a9356b3c4a6"}},"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/211354","number":211354,"state":"MERGED","mergeCommit":{"sha":"884387a01b13db051a8f8c96ffd06c7d7fb778cc","message":"[9.0] SKA: Fix kebab-case issues in obs-ai-assistant packages (#211346) (#211354)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [SKA: Fix kebab-case issues in obs-ai-assistant packages\n(#211346)](https://github.com/elastic/kibana/pull/211346)\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-16T06:54:16Z\",\"message\":\"SKA:\nFix kebab-case issues in obs-ai-assistant packages (#211346)\\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####\n2 packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target folder\n|\\r\\n| -- | ------------- |\\r\\n| `@kbn/observability-ai-common`\n|\\r\\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-common`\\r\\n|\\r\\n|\n`@kbn/observability-ai-server`\n|\\r\\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-server`\\r\\n|\\r\\n\\r\\n\\r\\n<details\n>\\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/observability-ai/observability-ai-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.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/observability-ai/observability-ai-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"299a91c83db76f95ab8f9e0fda258a9356b3c4a6\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:Obs\nAI Assistant\",\"backport:version\",\"v9.1.0\",\"v8.19.0\"],\"title\":\"SKA: Fix\nkebab-case issues in obs-ai-assistant\npackages\",\"number\":211346,\"url\":\"https://github.com/elastic/kibana/pull/211346\",\"mergeCommit\":{\"message\":\"SKA:\nFix kebab-case issues in obs-ai-assistant packages (#211346)\\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####\n2 packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target folder\n|\\r\\n| -- | ------------- |\\r\\n| `@kbn/observability-ai-common`\n|\\r\\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-common`\\r\\n|\\r\\n|\n`@kbn/observability-ai-server`\n|\\r\\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-server`\\r\\n|\\r\\n\\r\\n\\r\\n<details\n>\\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/observability-ai/observability-ai-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.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/observability-ai/observability-ai-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"299a91c83db76f95ab8f9e0fda258a9356b3c4a6\"}},\"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/211346\",\"number\":211346,\"mergeCommit\":{\"message\":\"SKA:\nFix kebab-case issues in obs-ai-assistant packages (#211346)\\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####\n2 packages(s) are going to be relocated:\\r\\n\\r\\n| Id | Target folder\n|\\r\\n| -- | ------------- |\\r\\n| `@kbn/observability-ai-common`\n|\\r\\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-common`\\r\\n|\\r\\n|\n`@kbn/observability-ai-server`\n|\\r\\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-server`\\r\\n|\\r\\n\\r\\n\\r\\n<details\n>\\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/observability-ai/observability-ai-common/jest.config.js\\r\\n./x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.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/observability-ai/observability-ai-common/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-common/tsconfig.json:2\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js:10\\r\\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/tsconfig.json:2\\r\\n```\\r\\n\\r\\n</details>\",\"sha\":\"299a91c83db76f95ab8f9e0fda258a9356b3c4a6\"}},{\"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/211346","number":211346,"mergeCommit":{"message":"SKA: Fix kebab-case issues in obs-ai-assistant packages (#211346)\n\n## Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules (plugins and\r\npackages) into a new folder structure, according to the _Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors in the error section below (if there are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint config files), and update them\r\nappropriately.\r\n> * Manually review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that\r\nany CI pipeline customizations continue to be correctly applied after\r\nthe changed path names\r\n> * Review all of the updated files, specially the `.ts` and `.js` files\r\nlisted in the sections below, as some of them contain relative paths\r\nthat have been updated.\r\n> * Think of potential impact of the move, including tooling and\r\nconfiguration files that can be pointing to the relocated modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to source code\r\n\r\n> [!NOTE]\r\n> * This PR has been auto-generated.\r\n> * Any manual contributions will be lost if the 'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews / approvals before applying manual\r\nfixes, and/or keep your changes in a .patch / git stash.\r\n> * Please use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve merge conflicts? Please follow\r\nthe steps describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n#### 2 packages(s) are going to be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n| `@kbn/observability-ai-common` |\r\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-common`\r\n|\r\n| `@kbn/observability-ai-server` |\r\n`x-pack/solutions/observability/packages/observability-ai/observability-ai-server`\r\n|\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/observability-ai/observability-ai-common/jest.config.js\r\n./x-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.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/observability-ai/observability-ai-common/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-common/tsconfig.json:2\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/jest.config.js:10\r\nx-pack/solutions/observability/packages/observability-ai/observability-ai-server/tsconfig.json:2\r\n```\r\n\r\n</details>","sha":"299a91c83db76f95ab8f9e0fda258a9356b3c4a6"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> |
||
|
6b8710abec
|
[8.x] chore(NA): upgrade to webpack 5 (#191106) (#211146)
# Backport This will backport the following commits from `main` to `8.x`: - [chore(NA): upgrade to webpack 5 (#191106)](https://github.com/elastic/kibana/pull/191106) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tiago Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T03:01:36Z","message":"chore(NA): upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes #89741\r\n\r\nThis PR contains the resulting work of a massive effort that ports our\r\non top bundler abstraction (called @kbn/optimizer) from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term maintenance since v4\r\nwas not receiving updates any longer but will also unblock some new\r\nfeatures that could be beneficial for our future DevEx endeavours.\r\n\r\nNext you can find a small list of all the accomplished tasks on this\r\njourney.\r\n\r\n### Completed Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n- [x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt previous webpack v4 polyfill-all strategy with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on @kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest resolver for file-loader cases\r\n- [x] Migrate public-path loader on UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x] Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work (--profile flag)\r\n- [x] Recover if possible the previous webpack v4 cacheGroup chunks\r\nrename to something like `data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our first green CI, otherwise work\r\non the errors until we do\r\n- [x] Profile and solve bottlenecks until we get a cold build\r\nperformance similar to the one we had on webpack v4 (`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n` flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing `NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) and\r\nadd each polyfill needed individually per each webpack config to check\r\nif we get smaller bundles. If we do it's better to go with the case by\r\ncase need approach instead of deploying a bunch of polyfills with\r\nNodePolyfillPlugin. As another alternative, create a custom smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x] Evaluate if we want to touch the resolutions on mainFields and\r\nconditionNames\r\n- [x] Understand why `@import 'src/core/public/mixins'` does not work\r\nanymore (not a problem, we should use relative paths anyway but we want\r\nto track why it changed from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden and/or changed from\r\nerror to warning\r\n- [x] Fix license check for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the\r\nlicense for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis package is a dependency of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic 2.0 license is [classified as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand should only be used for dev dependencies.\r\n- [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack configs like storybook one\r\n- [x] Find what is being wrongly removed by usedExports optimization;\r\nhint: I believe it is identifying a lot of exports inside the sync entry\r\nof plugins as unused exports and removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x] Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue to fix sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345) or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console override is needed\r\n- [x] Confirm react prod builds on ui shared deps for distributable\r\n- [x] Remove customization for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics from stats are still aligned with what\r\nwe were collecting before; also verify if the modules used for optimizer\r\ncaches etc are well generated (@kbn/node-libs-browser)\r\n- [x] Fix watch performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Brad White <brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","Team:Fleet","v9.0.0","backport:all-open","ci:build-webpack-bundle-analyzer","Team:obs-ux-infra_services","v9.1.0"],"title":"chore(NA): upgrade to webpack 5","number":191106,"url":"https://github.com/elastic/kibana/pull/191106","mergeCommit":{"message":"chore(NA): upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes #89741\r\n\r\nThis PR contains the resulting work of a massive effort that ports our\r\non top bundler abstraction (called @kbn/optimizer) from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term maintenance since v4\r\nwas not receiving updates any longer but will also unblock some new\r\nfeatures that could be beneficial for our future DevEx endeavours.\r\n\r\nNext you can find a small list of all the accomplished tasks on this\r\njourney.\r\n\r\n### Completed Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n- [x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt previous webpack v4 polyfill-all strategy with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on @kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest resolver for file-loader cases\r\n- [x] Migrate public-path loader on UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x] Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work (--profile flag)\r\n- [x] Recover if possible the previous webpack v4 cacheGroup chunks\r\nrename to something like `data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our first green CI, otherwise work\r\non the errors until we do\r\n- [x] Profile and solve bottlenecks until we get a cold build\r\nperformance similar to the one we had on webpack v4 (`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n` flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing `NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) and\r\nadd each polyfill needed individually per each webpack config to check\r\nif we get smaller bundles. If we do it's better to go with the case by\r\ncase need approach instead of deploying a bunch of polyfills with\r\nNodePolyfillPlugin. As another alternative, create a custom smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x] Evaluate if we want to touch the resolutions on mainFields and\r\nconditionNames\r\n- [x] Understand why `@import 'src/core/public/mixins'` does not work\r\nanymore (not a problem, we should use relative paths anyway but we want\r\nto track why it changed from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden and/or changed from\r\nerror to warning\r\n- [x] Fix license check for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the\r\nlicense for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis package is a dependency of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic 2.0 license is [classified as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand should only be used for dev dependencies.\r\n- [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack configs like storybook one\r\n- [x] Find what is being wrongly removed by usedExports optimization;\r\nhint: I believe it is identifying a lot of exports inside the sync entry\r\nof plugins as unused exports and removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x] Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue to fix sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345) or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console override is needed\r\n- [x] Confirm react prod builds on ui shared deps for distributable\r\n- [x] Remove customization for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics from stats are still aligned with what\r\nwe were collecting before; also verify if the modules used for optimizer\r\ncaches etc are well generated (@kbn/node-libs-browser)\r\n- [x] Fix watch performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Brad White <brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/211145","number":211145,"state":"OPEN"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191106","number":191106,"mergeCommit":{"message":"chore(NA): upgrade to webpack 5 (#191106)\n\n### Summary\r\n\r\n- Closes #89741\r\n\r\nThis PR contains the resulting work of a massive effort that ports our\r\non top bundler abstraction (called @kbn/optimizer) from Webpack v4 into\r\nWebpack v5. It's essential in terms of long term maintenance since v4\r\nwas not receiving updates any longer but will also unblock some new\r\nfeatures that could be beneficial for our future DevEx endeavours.\r\n\r\nNext you can find a small list of all the accomplished tasks on this\r\njourney.\r\n\r\n### Completed Tasks\r\n- [x] Upgrade dependencies to match the ones on webpack v5\r\n- [x] Fix null-loader usages\r\n- [x] Fix raw-loader usages\r\n- [x] Fix file-loader usages\r\n- [x] Fix url-loader usages\r\n- [x] Fix `@kbn/optimizer-webpack-helpers` to support webpack v5 \r\n- [x] Adopt previous webpack v4 polyfill-all strategy with\r\nnode-polyfill-webpack-plugin\r\n- [x] Fix theme-loader on @kbn/optimizer\r\n- [x] Migrate configurations and ad-hoc loader options on all webpack\r\nconfigs from v4 to v5\r\n- [x] Fix @kbn/test jest resolver for file-loader cases\r\n- [x] Migrate public-path loader on UiSharedDeps\r\n- [x] Fix all usages of webpack-merge\r\n- [x] Migrate BundleRemoteModule\r\n- [x] Migrate BundleRemotesPlugin\r\n- [x] Correctly migrate PopulateBundleCachePlugin\r\n- [x] Correctly migrate BundleMetricsPlugin\r\n- [x] Check if the profiling plugins still work (--profile flag)\r\n- [x] Recover if possible the previous webpack v4 cacheGroup chunks\r\nrename to something like `data.plugin.chunk.0.js`\r\n- [x] Run `/ci` and make sure we get our first green CI, otherwise work\r\non the errors until we do\r\n- [x] Profile and solve bottlenecks until we get a cold build\r\nperformance similar to the one we had on webpack v4 (`node\r\nscripts/build_kibana_platform_plugins --no-cache`).\r\n- [x] OpenSSL Legacy Warnings: try to remove `--openssl-legacy-provider\r\n` flags\r\n- [x] Add Webpack to Renovate config\r\n- [x] Explore removing `NodePolyfillPlugin`\r\n([here](https://www.npmjs.com/package/node-polyfill-webpack-plugin)) and\r\nadd each polyfill needed individually per each webpack config to check\r\nif we get smaller bundles. If we do it's better to go with the case by\r\ncase need approach instead of deploying a bunch of polyfills with\r\nNodePolyfillPlugin. As another alternative, create a custom smaller\r\nplugin with only the union of all needed polyfills.\r\n- [x] Evaluate if we want to touch the resolutions on mainFields and\r\nconditionNames\r\n- [x] Understand why `@import 'src/core/public/mixins'` does not work\r\nanymore (not a problem, we should use relative paths anyway but we want\r\nto track why it changed from v4 to v5)\r\n- [x] BUG: Child compilers are having errors hidden and/or changed from\r\nerror to warning\r\n- [x] Fix license check for\r\n[Artistic-2.0](https://spdx.org/licenses/Artistic-2.0.html) is the\r\nlicense for\r\n[domain-browser](https://github.com/bevry/domain-browser?tab=License-1-ov-file).\r\nThis package is a dependency of\r\n[NodePolyfillPlugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin).\r\nArtistic 2.0 license is [classified as\r\nyellow](https://github.com/elastic/open-source/blob/main/elastic-product-policy.md#yellow-list)\r\nand should only be used for dev dependencies.\r\n- [x] Make sure `resourceQuery: { not: /raw/ }` is not necessary on\r\nother webpack configs like storybook one\r\n- [x] Find what is being wrongly removed by usedExports optimization;\r\nhint: I believe it is identifying a lot of exports inside the sync entry\r\nof plugins as unused exports and removing them. Then `__kbnBootstrap__`\r\ncan't be found\r\n- [x] Rebalance @kbn/optimizer pickMaxWorkerCount\r\n- [x] Re-open the issue to fix sass-warnings\r\n[#190345](https://github.com/elastic/kibana/issues/190345) or downgrade\r\nsass-loader to v10\r\n- [x] Remove previous esm no parse rules\r\n- [x] Confirm esm support is working\r\n- [x] Confirm console override is needed\r\n- [x] Confirm react prod builds on ui shared deps for distributable\r\n- [x] Remove customization for\r\n[xyflow](https://github.com/xyflow/xyflow) from webpack configs\r\n- [x] Clean all the code\r\n- [x] Make sure collected metrics from stats are still aligned with what\r\nwe were collecting before; also verify if the modules used for optimizer\r\ncaches etc are well generated (@kbn/node-libs-browser)\r\n- [x] Fix watch performance\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Brad White <brad.white@elastic.co>","sha":"203bc284781cc830049b3f7948c8fcafa8b7d9a1"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
045710683f
|
[8.x] 🌊 Streams: Unskip and complete dashboard suggestion tests (#210368) (#211185)
# Backport This will backport the following commits from `main` to `8.x`: - [🌊 Streams: Unskip and complete dashboard suggestion tests (#210368)](https://github.com/elastic/kibana/pull/210368) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Joe Reuter","email":"johannes.reuter@elastic.co"},"sourceCommit":{"committedDate":"2025-02-14T09:57:33Z","message":"🌊 Streams: Unskip and complete dashboard suggestion tests (#210368)\n\nCloses https://github.com/elastic/kibana/issues/208016\n\nAdds a new dataset for the tag-association test (didn't find a good\nexisting one)\n\nFor the MKI flakiness, I don't think this is related to this test but\nrather another test leaking SOs. I added some robustness against this,\nbut ideally we fix this in the offending test. Maybe we should add a\nlittle something that checks for leaky state after a suite closes and\nfails if there is something? That goes beyond the scope of this issue\nthough.","sha":"455f36bddeb90b45f5e7acca6c4dd58ee2d30456","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"🌊 Streams: Unskip and complete dashboard suggestion tests","number":210368,"url":"https://github.com/elastic/kibana/pull/210368","mergeCommit":{"message":"🌊 Streams: Unskip and complete dashboard suggestion tests (#210368)\n\nCloses https://github.com/elastic/kibana/issues/208016\n\nAdds a new dataset for the tag-association test (didn't find a good\nexisting one)\n\nFor the MKI flakiness, I don't think this is related to this test but\nrather another test leaking SOs. I added some robustness against this,\nbut ideally we fix this in the offending test. Maybe we should add a\nlittle something that checks for leaky state after a suite closes and\nfails if there is something? That goes beyond the scope of this issue\nthough.","sha":"455f36bddeb90b45f5e7acca6c4dd58ee2d30456"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210368","number":210368,"mergeCommit":{"message":"🌊 Streams: Unskip and complete dashboard suggestion tests (#210368)\n\nCloses https://github.com/elastic/kibana/issues/208016\n\nAdds a new dataset for the tag-association test (didn't find a good\nexisting one)\n\nFor the MKI flakiness, I don't think this is related to this test but\nrather another test leaking SOs. I added some robustness against this,\nbut ideally we fix this in the offending test. Maybe we should add a\nlittle something that checks for leaky state after a suite closes and\nfails if there is something? That goes beyond the scope of this issue\nthough.","sha":"455f36bddeb90b45f5e7acca6c4dd58ee2d30456"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Joe Reuter <johannes.reuter@elastic.co> |
||
|
f1d15570a9
|
[8.x] [ResponseOps][Alerts] Move the alerts table to a dedicated package (#207878) (#210895)
# Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Alerts] Move the alerts table to a dedicated package (#207878)](https://github.com/elastic/kibana/pull/207878) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Umberto Pepato","email":"umbopepato@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-12T10:07:55Z","message":"[ResponseOps][Alerts] Move the alerts table to a dedicated package (#207878)\n\n## Summary\r\n\r\nThis PR turns the AlertsTable into a standalone component, making it\r\nindependent from the `TriggersActionsUI` plugin.\r\n\r\n#### Removes the alerts table registry\r\n\r\nAll configuration is now managed through the AlertsTable component\r\nprops. Shared configurations are handled by giving consumers the ability\r\nto directly provide alerts table wrapper components (see for example the\r\n`renderAlertsTable` prop of `getCases`).\r\n\r\n#### Moves the alerts table to dedicated package(s)\r\n\r\nFollowing the feature-driven structure we're introducing for ResponseOps\r\n(alerting) client-side packages:\r\n- `@kbn/response-ops-alerts-table`\r\n- `@kbn/response-ops-alerts-apis`\r\n- `@kbn/response-ops-alerts-fields-browser`\r\n\r\n#### Initial work on improving composition and organization\r\n\r\n- Reorganizes the table code into a by-entity-type folder structure\r\n(`components/`, `hooks/`, ...)\r\n- Simplifies some components and breaks into smaller units when possible\r\n\r\n## To verify\r\n\r\nFor consumers of the alerts table:\r\n- Check that all your tables have the same behavior as before (columns,\r\nsort, row actions, bulk actions, etc.)\r\n- Check that your \"shared\" tables (i.e. cases alerts view in O11y and\r\nSecurity) have the expected configuration and behavior\r\n\r\n> [!WARNING]\r\n> This PR moves a lot of files. Git might not always recognize the\r\ncorrect delete/add file pairs. If you see weird diffs feel free to reach\r\nout for help!\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n### Identify risks\r\n\r\n| Risk | Description | Severity | Mitigation |\r\n|---|---|---|---|\r\n| Table misconfigurations | Some table configurations might slightly\r\ndiffer from the previous AlertsTableRegistry-backed version | Low |\r\nQuick fix |\r\n\r\n## References\r\n\r\nCloses #195180\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Christos Nasikas <xristosnasikas@gmail.com>","sha":"a74066d6f83fc38feaa4d7e7b1cf7d3afd53c6f7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","backport:version","v9.1.0","v8.19.0"],"title":"[ResponseOps][Alerts] Move the alerts table to a dedicated package","number":207878,"url":"https://github.com/elastic/kibana/pull/207878","mergeCommit":{"message":"[ResponseOps][Alerts] Move the alerts table to a dedicated package (#207878)\n\n## Summary\r\n\r\nThis PR turns the AlertsTable into a standalone component, making it\r\nindependent from the `TriggersActionsUI` plugin.\r\n\r\n#### Removes the alerts table registry\r\n\r\nAll configuration is now managed through the AlertsTable component\r\nprops. Shared configurations are handled by giving consumers the ability\r\nto directly provide alerts table wrapper components (see for example the\r\n`renderAlertsTable` prop of `getCases`).\r\n\r\n#### Moves the alerts table to dedicated package(s)\r\n\r\nFollowing the feature-driven structure we're introducing for ResponseOps\r\n(alerting) client-side packages:\r\n- `@kbn/response-ops-alerts-table`\r\n- `@kbn/response-ops-alerts-apis`\r\n- `@kbn/response-ops-alerts-fields-browser`\r\n\r\n#### Initial work on improving composition and organization\r\n\r\n- Reorganizes the table code into a by-entity-type folder structure\r\n(`components/`, `hooks/`, ...)\r\n- Simplifies some components and breaks into smaller units when possible\r\n\r\n## To verify\r\n\r\nFor consumers of the alerts table:\r\n- Check that all your tables have the same behavior as before (columns,\r\nsort, row actions, bulk actions, etc.)\r\n- Check that your \"shared\" tables (i.e. cases alerts view in O11y and\r\nSecurity) have the expected configuration and behavior\r\n\r\n> [!WARNING]\r\n> This PR moves a lot of files. Git might not always recognize the\r\ncorrect delete/add file pairs. If you see weird diffs feel free to reach\r\nout for help!\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n### Identify risks\r\n\r\n| Risk | Description | Severity | Mitigation |\r\n|---|---|---|---|\r\n| Table misconfigurations | Some table configurations might slightly\r\ndiffer from the previous AlertsTableRegistry-backed version | Low |\r\nQuick fix |\r\n\r\n## References\r\n\r\nCloses #195180\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Christos Nasikas <xristosnasikas@gmail.com>","sha":"a74066d6f83fc38feaa4d7e7b1cf7d3afd53c6f7"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207878","number":207878,"mergeCommit":{"message":"[ResponseOps][Alerts] Move the alerts table to a dedicated package (#207878)\n\n## Summary\r\n\r\nThis PR turns the AlertsTable into a standalone component, making it\r\nindependent from the `TriggersActionsUI` plugin.\r\n\r\n#### Removes the alerts table registry\r\n\r\nAll configuration is now managed through the AlertsTable component\r\nprops. Shared configurations are handled by giving consumers the ability\r\nto directly provide alerts table wrapper components (see for example the\r\n`renderAlertsTable` prop of `getCases`).\r\n\r\n#### Moves the alerts table to dedicated package(s)\r\n\r\nFollowing the feature-driven structure we're introducing for ResponseOps\r\n(alerting) client-side packages:\r\n- `@kbn/response-ops-alerts-table`\r\n- `@kbn/response-ops-alerts-apis`\r\n- `@kbn/response-ops-alerts-fields-browser`\r\n\r\n#### Initial work on improving composition and organization\r\n\r\n- Reorganizes the table code into a by-entity-type folder structure\r\n(`components/`, `hooks/`, ...)\r\n- Simplifies some components and breaks into smaller units when possible\r\n\r\n## To verify\r\n\r\nFor consumers of the alerts table:\r\n- Check that all your tables have the same behavior as before (columns,\r\nsort, row actions, bulk actions, etc.)\r\n- Check that your \"shared\" tables (i.e. cases alerts view in O11y and\r\nSecurity) have the expected configuration and behavior\r\n\r\n> [!WARNING]\r\n> This PR moves a lot of files. Git might not always recognize the\r\ncorrect delete/add file pairs. If you see weird diffs feel free to reach\r\nout for help!\r\n\r\n### Checklist\r\n\r\n- [x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n### Identify risks\r\n\r\n| Risk | Description | Severity | Mitigation |\r\n|---|---|---|---|\r\n| Table misconfigurations | Some table configurations might slightly\r\ndiffer from the previous AlertsTableRegistry-backed version | Low |\r\nQuick fix |\r\n\r\n## References\r\n\r\nCloses #195180\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Christos Nasikas <xristosnasikas@gmail.com>","sha":"a74066d6f83fc38feaa4d7e7b1cf7d3afd53c6f7"}},{"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> |
||
|
bfcfe55bc8
|
[8.x] SKA: Follow-up relocations (#209477) (#210501)
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Follow-up relocations (#209477)](https://github.com/elastic/kibana/pull/209477) <!--- 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-05T18:53:36Z","message":"SKA: Follow-up relocations (#209477)\n\n## Summary\r\n\r\n* Categorise and move `@kbn/timelines-plugin` as _platform/shared_,\r\ntarget location: `x-pack/platform/plugins/shared/timelines`.\r\nThis helps reduce the scope of the illegal dependencies from `osquery`\r\nplugin towards _security/private_ code.\r\ncc @tomsonpl \r\n\r\n* Simplify path and rename `@kbn/observability-alerting-rule-utils`\r\n(platform/shared):\r\n```\r\n# Before \r\n@kbn/observability-alerting-rule-utils\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/\r\n\r\n# After\r\n@kbn/alerting-rule-utils\r\nx-pack/platform/packages/shared/alerting_rule_utils/\r\n```\r\n\r\n* Simplify path and rename `@kbn/observability-logs-overview`\r\n(platform/shared):\r\n```\r\n# Before \r\n@kbn/observability-logs-overview\r\nx-pack/platform/packages/shared/observability/logs_overview/\r\n\r\n# After\r\n@kbn/logs-overview\r\nx-pack/platform/packages/shared/logs_overview/\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7b1c74a7a85c1e07449ab92dac7e4b62ad1b8f4b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport missing","backport:prev-minor","backport:prev-major","Team:obs-ux-management","v9.1.0"],"title":"SKA: Follow-up relocations","number":209477,"url":"https://github.com/elastic/kibana/pull/209477","mergeCommit":{"message":"SKA: Follow-up relocations (#209477)\n\n## Summary\r\n\r\n* Categorise and move `@kbn/timelines-plugin` as _platform/shared_,\r\ntarget location: `x-pack/platform/plugins/shared/timelines`.\r\nThis helps reduce the scope of the illegal dependencies from `osquery`\r\nplugin towards _security/private_ code.\r\ncc @tomsonpl \r\n\r\n* Simplify path and rename `@kbn/observability-alerting-rule-utils`\r\n(platform/shared):\r\n```\r\n# Before \r\n@kbn/observability-alerting-rule-utils\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/\r\n\r\n# After\r\n@kbn/alerting-rule-utils\r\nx-pack/platform/packages/shared/alerting_rule_utils/\r\n```\r\n\r\n* Simplify path and rename `@kbn/observability-logs-overview`\r\n(platform/shared):\r\n```\r\n# Before \r\n@kbn/observability-logs-overview\r\nx-pack/platform/packages/shared/observability/logs_overview/\r\n\r\n# After\r\n@kbn/logs-overview\r\nx-pack/platform/packages/shared/logs_overview/\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7b1c74a7a85c1e07449ab92dac7e4b62ad1b8f4b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209477","number":209477,"mergeCommit":{"message":"SKA: Follow-up relocations (#209477)\n\n## Summary\r\n\r\n* Categorise and move `@kbn/timelines-plugin` as _platform/shared_,\r\ntarget location: `x-pack/platform/plugins/shared/timelines`.\r\nThis helps reduce the scope of the illegal dependencies from `osquery`\r\nplugin towards _security/private_ code.\r\ncc @tomsonpl \r\n\r\n* Simplify path and rename `@kbn/observability-alerting-rule-utils`\r\n(platform/shared):\r\n```\r\n# Before \r\n@kbn/observability-alerting-rule-utils\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/\r\n\r\n# After\r\n@kbn/alerting-rule-utils\r\nx-pack/platform/packages/shared/alerting_rule_utils/\r\n```\r\n\r\n* Simplify path and rename `@kbn/observability-logs-overview`\r\n(platform/shared):\r\n```\r\n# Before \r\n@kbn/observability-logs-overview\r\nx-pack/platform/packages/shared/observability/logs_overview/\r\n\r\n# After\r\n@kbn/logs-overview\r\nx-pack/platform/packages/shared/logs_overview/\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"7b1c74a7a85c1e07449ab92dac7e4b62ad1b8f4b"}}]}] BACKPORT--> |
||
|
d5defcac1a
|
[8.x] Introduce the InferenceChatModel for langchain (#206429) (#209277)
# Backport This will backport the following commits from `main` to `8.x`: - [Introduce the `InferenceChatModel` for langchain (#206429)](https://github.com/elastic/kibana/pull/206429) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Pierre Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2025-02-03T10:32:16Z","message":"Introduce the `InferenceChatModel` for langchain (#206429)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/issues/206710\r\n\r\nThis PR introduces the `InferenceChatModel` class, which is a langchain\r\nchatModel utilizing the inference APIs (`chatComplete`) under the hood.\r\n\r\nCreating instances of `InferenceChatModel` can either be done by\r\nmanually importing the class from the new `@kbn/inference-langchain`\r\npackage, or by using the new `createChatModel` API exposes from the\r\ninference plugin's start contract.\r\n\r\nThe main upside of using this chatModel is that the unification and\r\nnormalization layers are already being taken care of by the inference\r\nplugin, making sure that the underlying models are being used with the\r\nexact same capabilities. More details on the upsides and reasoning in\r\nthe associated issue.\r\n\r\n### Usage\r\n\r\nUsage is very straightforward\r\n\r\n```ts\r\nconst chatModel = await inferenceStart.getChatModel({\r\n request,\r\n connectorId: myInferenceConnectorId,\r\n chatModelOptions: {\r\n temperature: 0.2,\r\n },\r\n});\r\n\r\n// just use it as another langchain chatModel, e.g.\r\nconst response = await chatModel.stream('What is Kibana?');\r\nfor await (const chunk of response) {\r\n // do something with the chunk\r\n}\r\n``` \r\n\r\n### Important\r\n\r\nThis PR is only adding the implementation, and not wiring it anywhere or\r\nusing it in any existing code. This is meant to be done in a later\r\nstage. Merging that implementation first will allow to have distinct PRs\r\nfor the integration with search (playground) and security (assistant +\r\nother workflows), with proper testing\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1c218f9846b98ba2e8ea67918c42d2399a014c11","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Team:AI Infra","v9.1.0","v8.19.0"],"title":"Introduce the `InferenceChatModel` for langchain","number":206429,"url":"https://github.com/elastic/kibana/pull/206429","mergeCommit":{"message":"Introduce the `InferenceChatModel` for langchain (#206429)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/issues/206710\r\n\r\nThis PR introduces the `InferenceChatModel` class, which is a langchain\r\nchatModel utilizing the inference APIs (`chatComplete`) under the hood.\r\n\r\nCreating instances of `InferenceChatModel` can either be done by\r\nmanually importing the class from the new `@kbn/inference-langchain`\r\npackage, or by using the new `createChatModel` API exposes from the\r\ninference plugin's start contract.\r\n\r\nThe main upside of using this chatModel is that the unification and\r\nnormalization layers are already being taken care of by the inference\r\nplugin, making sure that the underlying models are being used with the\r\nexact same capabilities. More details on the upsides and reasoning in\r\nthe associated issue.\r\n\r\n### Usage\r\n\r\nUsage is very straightforward\r\n\r\n```ts\r\nconst chatModel = await inferenceStart.getChatModel({\r\n request,\r\n connectorId: myInferenceConnectorId,\r\n chatModelOptions: {\r\n temperature: 0.2,\r\n },\r\n});\r\n\r\n// just use it as another langchain chatModel, e.g.\r\nconst response = await chatModel.stream('What is Kibana?');\r\nfor await (const chunk of response) {\r\n // do something with the chunk\r\n}\r\n``` \r\n\r\n### Important\r\n\r\nThis PR is only adding the implementation, and not wiring it anywhere or\r\nusing it in any existing code. This is meant to be done in a later\r\nstage. Merging that implementation first will allow to have distinct PRs\r\nfor the integration with search (playground) and security (assistant +\r\nother workflows), with proper testing\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1c218f9846b98ba2e8ea67918c42d2399a014c11"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206429","number":206429,"mergeCommit":{"message":"Introduce the `InferenceChatModel` for langchain (#206429)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana/issues/206710\r\n\r\nThis PR introduces the `InferenceChatModel` class, which is a langchain\r\nchatModel utilizing the inference APIs (`chatComplete`) under the hood.\r\n\r\nCreating instances of `InferenceChatModel` can either be done by\r\nmanually importing the class from the new `@kbn/inference-langchain`\r\npackage, or by using the new `createChatModel` API exposes from the\r\ninference plugin's start contract.\r\n\r\nThe main upside of using this chatModel is that the unification and\r\nnormalization layers are already being taken care of by the inference\r\nplugin, making sure that the underlying models are being used with the\r\nexact same capabilities. More details on the upsides and reasoning in\r\nthe associated issue.\r\n\r\n### Usage\r\n\r\nUsage is very straightforward\r\n\r\n```ts\r\nconst chatModel = await inferenceStart.getChatModel({\r\n request,\r\n connectorId: myInferenceConnectorId,\r\n chatModelOptions: {\r\n temperature: 0.2,\r\n },\r\n});\r\n\r\n// just use it as another langchain chatModel, e.g.\r\nconst response = await chatModel.stream('What is Kibana?');\r\nfor await (const chunk of response) {\r\n // do something with the chunk\r\n}\r\n``` \r\n\r\n### Important\r\n\r\nThis PR is only adding the implementation, and not wiring it anywhere or\r\nusing it in any existing code. This is meant to be done in a later\r\nstage. Merging that implementation first will allow to have distinct PRs\r\nfor the integration with search (playground) and security (assistant +\r\nother workflows), with proper testing\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"1c218f9846b98ba2e8ea67918c42d2399a014c11"}},{"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> |
||
|
1a0b65c0a5
|
[8.x] [Security AI] Move security-ai-prompt to package (#208787) (#208988)
# Backport This will backport the following commits from `main` to `8.x`: - [[Security AI] Move `security-ai-prompt` to package (#208787)](https://github.com/elastic/kibana/pull/208787) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Steph Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-01-30T16:34:30Z","message":"[Security AI] Move `security-ai-prompt` to package (#208787)","sha":"b0a72e2b9086728d98f4176d1692741f4df62333","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team: SecuritySolution","backport:prev-minor","Team:Security Generative AI","v8.18.0"],"title":"[Security AI] Move `security-ai-prompt` to package","number":208787,"url":"https://github.com/elastic/kibana/pull/208787","mergeCommit":{"message":"[Security AI] Move `security-ai-prompt` to package (#208787)","sha":"b0a72e2b9086728d98f4176d1692741f4df62333"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208787","number":208787,"mergeCommit":{"message":"[Security AI] Move `security-ai-prompt` to package (#208787)","sha":"b0a72e2b9086728d98f4176d1692741f4df62333"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
|
958493f44f
|
[8.x] [ML] Adds simple flyout based file upload to Search (#206864) (#208887)
# Backport This will backport the following commits from `main` to `8.x`: - [[ML] Adds simple flyout based file upload to Search (#206864)](https://github.com/elastic/kibana/pull/206864) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-01-29T23:35:12Z","message":"[ML] Adds simple flyout based file upload to Search (#206864)\n\nA minimal version of the file upload tool which can be triggered via a\r\nuiAction.\r\nThe trigger takes a callback to enable subsequent actions after the\r\nupload. This callback receives information about the upload, the index\r\nand data view created and information about the files:\r\n```\r\n{\r\n \"index\": \"test9\",\r\n \"dataView\": {\r\n \"id\": \"a870ef68-a624-4df1-9d5d-fa62b75dd297\",\r\n \"title\": \"\"\r\n },\r\n \"files\": [\r\n {\r\n \"fileName\": \"farequote-tiny.csv\",\r\n \"docCount\": 20,\r\n \"fileFormat\": \"delimited\"\r\n },\r\n {\r\n \"fileName\": \"farequote.csv\",\r\n \"docCount\": 86275,\r\n \"fileFormat\": \"delimited\"\r\n }\r\n ]\r\n}\r\n```\r\n\r\nIf `autoAddInference` is set with the name of an inference endpoint\r\n(`autoAddInference: '.elser-2-elasticsearch'`) the tool with\r\nautomatically add a `semantic_text` to the mappings for tika files (pdf,\r\ntxt docx)\r\n\r\nCurrently embedded in the search app's home page and playground. In\r\nplaygroubnd, after upload is complete and the flyout closed, the newly\r\ncreated index will be selected.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/0589fa02-fb0e-400b-8e74-1eb9a993c6ba\r\n\r\n\r\nMultiple files can be uploaded at once. They must be of the same file\r\nformat and the mappings cannot clash.\r\n\r\n\r\n (#208491)
# Backport This will backport the following commits from `main` to `8.x`: - [Add a warning callout when deleting managed assets (#207329)](https://github.com/elastic/kibana/pull/207329) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ignacio Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2025-01-28T08:46:58Z","message":"Add a warning callout when deleting managed assets (#207329)","sha":"c8bd387668ed3e6fe0fd71ec9cfbc5be58bbfc5c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index Management","Team:Kibana Management","release_note:skip","v9.0.0","Feature:Ingest Node Pipelines","backport:prev-minor"],"title":"Add a warning callout when deleting managed assets","number":207329,"url":"https://github.com/elastic/kibana/pull/207329","mergeCommit":{"message":"Add a warning callout when deleting managed assets (#207329)","sha":"c8bd387668ed3e6fe0fd71ec9cfbc5be58bbfc5c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207329","number":207329,"mergeCommit":{"message":"Add a warning callout when deleting managed assets (#207329)","sha":"c8bd387668ed3e6fe0fd71ec9cfbc5be58bbfc5c"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
c40c6d69c1
|
[8.x] [Discover] In-table search (#206454) (#208868)
# Backport This will backport the following commits from `main` to `8.x`: - [[Discover] In-table search (#206454)](https://github.com/elastic/kibana/pull/206454) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Julia Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2025-01-29T23:52:07Z","message":"[Discover] In-table search (#206454)\n\n- Closes https://github.com/elastic/kibana/issues/192360\r\n\r\n## Summary\r\n\r\nThe default browser Find-in-page does not work great with the grid\r\nvirtualization and our pagination and it can only find matches in rows\r\nwhich are currently displayed.\r\n\r\nThis PR adds in-table search support to the grid so users can find\r\nmatches in all grid rows (up to `500` sample docs/rows by default) and\r\njump between them with \"Previous\"/\"Next\" buttons.\r\n\r\n\r\n\r\nThe implementation is extracted in a new package\r\n`@kbn/data-grid-in-table-search`. This would allow to use in-table\r\nsearch with `EuiDataGrid` on other pages of Kibana too.\r\n\r\n`Cmd+F` shortcut is overridden when one of grid elements is in focus\r\notherwise we keep the browser default behaviour.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: florent-leborgne <florent.leborgne@elastic.co>","sha":"8ffb2ff62830655587d2b91e295b5d76fc86806e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","release_note:feature","Team:DataDiscovery","backport:prev-minor","Project:OneDiscover"],"title":"[Discover] In-table search","number":206454,"url":"https://github.com/elastic/kibana/pull/206454","mergeCommit":{"message":"[Discover] In-table search (#206454)\n\n- Closes https://github.com/elastic/kibana/issues/192360\r\n\r\n## Summary\r\n\r\nThe default browser Find-in-page does not work great with the grid\r\nvirtualization and our pagination and it can only find matches in rows\r\nwhich are currently displayed.\r\n\r\nThis PR adds in-table search support to the grid so users can find\r\nmatches in all grid rows (up to `500` sample docs/rows by default) and\r\njump between them with \"Previous\"/\"Next\" buttons.\r\n\r\n\r\n\r\nThe implementation is extracted in a new package\r\n`@kbn/data-grid-in-table-search`. This would allow to use in-table\r\nsearch with `EuiDataGrid` on other pages of Kibana too.\r\n\r\n`Cmd+F` shortcut is overridden when one of grid elements is in focus\r\notherwise we keep the browser default behaviour.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: florent-leborgne <florent.leborgne@elastic.co>","sha":"8ffb2ff62830655587d2b91e295b5d76fc86806e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206454","number":206454,"mergeCommit":{"message":"[Discover] In-table search (#206454)\n\n- Closes https://github.com/elastic/kibana/issues/192360\r\n\r\n## Summary\r\n\r\nThe default browser Find-in-page does not work great with the grid\r\nvirtualization and our pagination and it can only find matches in rows\r\nwhich are currently displayed.\r\n\r\nThis PR adds in-table search support to the grid so users can find\r\nmatches in all grid rows (up to `500` sample docs/rows by default) and\r\njump between them with \"Previous\"/\"Next\" buttons.\r\n\r\n\r\n\r\nThe implementation is extracted in a new package\r\n`@kbn/data-grid-in-table-search`. This would allow to use in-table\r\nsearch with `EuiDataGrid` on other pages of Kibana too.\r\n\r\n`Cmd+F` shortcut is overridden when one of grid elements is in focus\r\notherwise we keep the browser default behaviour.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This was checked for breaking HTTP API changes, and any breaking\r\nchanges have been approved by the breaking-change committee. The\r\n`release_note:breaking` label should be applied in these situations.\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: florent-leborgne <florent.leborgne@elastic.co>","sha":"8ffb2ff62830655587d2b91e295b5d76fc86806e"}}]}] BACKPORT--> --------- Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
|
24f82ee808
|
[8.x] Additional prototype pollution protections (#206073) (#208742)
# Backport This will backport the following commits from `main` to `8.x`: - [Additional prototype pollution protections (#206073)](https://github.com/elastic/kibana/pull/206073) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Larry Gregory","email":"larry.gregory@elastic.co"},"sourceCommit":{"committedDate":"2025-01-28T22:00:43Z","message":"Additional prototype pollution protections (#206073)\n\n## Summary\n\n1. Extends the server-side prototype pollution protections introduced in\nhttps://github.com/elastic/kibana/pull/190716 to include\n`Array.prototype`.\n2. Applies the same prototype pollution protections to the client-side.\n\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] Sealing prototypes on the client can lead to failures in\nthird-party dependencies. I'm relying on sufficient functional test\ncoverage to detect issues here. As a result, these protections are\ndisabled by default for now, and can be controlled via setting\n`server.prototypeHardening: true/false`\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"9ce2dd8df9f2bd6c0ba1d089b69ddfd7fc1f4a02","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","Feature:Hardening","v9.0.0","backport:prev-minor","ci:cloud-deploy","ci:project-deploy-elasticsearch","ci:all-gen-ai-suites"],"title":"Additional prototype pollution protections","number":206073,"url":"https://github.com/elastic/kibana/pull/206073","mergeCommit":{"message":"Additional prototype pollution protections (#206073)\n\n## Summary\n\n1. Extends the server-side prototype pollution protections introduced in\nhttps://github.com/elastic/kibana/pull/190716 to include\n`Array.prototype`.\n2. Applies the same prototype pollution protections to the client-side.\n\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] Sealing prototypes on the client can lead to failures in\nthird-party dependencies. I'm relying on sufficient functional test\ncoverage to detect issues here. As a result, these protections are\ndisabled by default for now, and can be controlled via setting\n`server.prototypeHardening: true/false`\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"9ce2dd8df9f2bd6c0ba1d089b69ddfd7fc1f4a02"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206073","number":206073,"mergeCommit":{"message":"Additional prototype pollution protections (#206073)\n\n## Summary\n\n1. Extends the server-side prototype pollution protections introduced in\nhttps://github.com/elastic/kibana/pull/190716 to include\n`Array.prototype`.\n2. Applies the same prototype pollution protections to the client-side.\n\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] Sealing prototypes on the client can lead to failures in\nthird-party dependencies. I'm relying on sufficient functional test\ncoverage to detect issues here. As a result, these protections are\ndisabled by default for now, and can be controlled via setting\n`server.prototypeHardening: true/false`\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"9ce2dd8df9f2bd6c0ba1d089b69ddfd7fc1f4a02"}}]}] BACKPORT--> |