Commit graph

488 commits

Author SHA1 Message Date
Alex Szabo
2056e7f643
[CI] increase disk size for checks.sh (#218286)
## Summary
We've seen some errors in PRs and On-merge jobs where the `checks.sh`
fails with a no space left error.

This attempts to increase the requested disk size.

Errors: 
 - https://buildkite.com/elastic/kibana-on-merge/builds/66627#_
 - https://buildkite.com/elastic/kibana-pull-request/builds/293246
2025-04-16 01:04:38 +01:00
Kibana Machine
ccaf01ed71
[8.x] [scout] support tests run against Cloud / MKI (#216705) (#217488)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[scout] support tests run against Cloud / MKI
(#216705)](https://github.com/elastic/kibana/pull/216705)

<!--- 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-04-08T11:03:48Z","message":"[scout]
support tests run against Cloud / MKI (#216705)\n\n## Summary\n\ncloses
#203588\n\nThis PR extends `kbn-scout` to run UI tests against Cloud
deployment or\nMKI project.\n\nIt it required by design to define
`cloud_ech.json` or `cloud_mki.json`\nwith Cloud enviroment
details:\n\n**ECH config**\n\n```json\n{\n \"serverless\": false,\n
\"isCloud\": true,\n \"cloudHostName\": \"console.qa.cld.elstc.co\",\n
\"cloudUsersFilePath\": \"/path_to_your_cloud_users/role_users.json\",\n
\"hosts\": {\n \"kibana\": \"https://my.cloud.deployment.kb.co\",\n
\"elasticsearch\": \"https://my.cloud.deployment.es.co\"\n },\n
\"auth\": {\n \"username\": \"deployment_username\",\n \"password\":
\"deployment_password\"\n }\n}\n```\n\nHow to run:\n\n1. Create stateful
deployment on QA env\n2. Add `cloud_ech.json` (see above) in
`KIBANA_REPO_ROOT/.scout/servers`\ndir\n3. Run tests\n\nScout:
\n```bash\nnode scripts/scout.js run-tests \\\n--stateful
\\\n--testTarget=cloud \\\n--config
x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--headed\n```\nPW: \n```\nnpx playwright test \\\n--project=ech
\\\n--config=x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--grep=@ess\n```\n\n**Serverless config**\n\n```json\n{\n
\"serverless\": true\n \"projectType\": \"es\",\n \"isCloud\": true,\n
\"cloudHostName\": \"console.qa.cld.elstc.co\",\n
\"cloudUsersFilePath\": \"/path_to_your_cloud_users/role_users.json\",\n
\"hosts\": {\n \"kibana\": \"https://my.es.project.kb.co\",\n
\"elasticsearch\": \"https://my.es.project.es.co\"\n },\n \"auth\": {\n
\"username\": \"deployment_username\",\n \"password\":
\"deployment_password\"\n }\n}\n```\n\nHow to run:\n\n1. Create stateful
deployment on QA env\n2. Add `cloud_mki.json` (see above) in
`KIBANA_REPO_ROOT/.scout/servers`\ndir\n3. Run tests\n\nScout:
\n```bash\nnode scripts/scout.js run-tests \\\n--serverless=es
\\\n--testTarget=cloud \\\n--config
x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n```\nPW: \n```\nnpx playwright test \\\n--project=mki
\\\n--config=x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--grep=@svlSearch\n```","sha":"8c08db126c902889b8c545ccc78d714e3cce035e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test-cloud","release_note:skip","backport:version","test:scout","v9.1.0","v8.19.0","v9.0.1"],"title":"[scout]
support tests run against Cloud /
MKI","number":216705,"url":"https://github.com/elastic/kibana/pull/216705","mergeCommit":{"message":"[scout]
support tests run against Cloud / MKI (#216705)\n\n## Summary\n\ncloses
#203588\n\nThis PR extends `kbn-scout` to run UI tests against Cloud
deployment or\nMKI project.\n\nIt it required by design to define
`cloud_ech.json` or `cloud_mki.json`\nwith Cloud enviroment
details:\n\n**ECH config**\n\n```json\n{\n \"serverless\": false,\n
\"isCloud\": true,\n \"cloudHostName\": \"console.qa.cld.elstc.co\",\n
\"cloudUsersFilePath\": \"/path_to_your_cloud_users/role_users.json\",\n
\"hosts\": {\n \"kibana\": \"https://my.cloud.deployment.kb.co\",\n
\"elasticsearch\": \"https://my.cloud.deployment.es.co\"\n },\n
\"auth\": {\n \"username\": \"deployment_username\",\n \"password\":
\"deployment_password\"\n }\n}\n```\n\nHow to run:\n\n1. Create stateful
deployment on QA env\n2. Add `cloud_ech.json` (see above) in
`KIBANA_REPO_ROOT/.scout/servers`\ndir\n3. Run tests\n\nScout:
\n```bash\nnode scripts/scout.js run-tests \\\n--stateful
\\\n--testTarget=cloud \\\n--config
x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--headed\n```\nPW: \n```\nnpx playwright test \\\n--project=ech
\\\n--config=x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--grep=@ess\n```\n\n**Serverless config**\n\n```json\n{\n
\"serverless\": true\n \"projectType\": \"es\",\n \"isCloud\": true,\n
\"cloudHostName\": \"console.qa.cld.elstc.co\",\n
\"cloudUsersFilePath\": \"/path_to_your_cloud_users/role_users.json\",\n
\"hosts\": {\n \"kibana\": \"https://my.es.project.kb.co\",\n
\"elasticsearch\": \"https://my.es.project.es.co\"\n },\n \"auth\": {\n
\"username\": \"deployment_username\",\n \"password\":
\"deployment_password\"\n }\n}\n```\n\nHow to run:\n\n1. Create stateful
deployment on QA env\n2. Add `cloud_mki.json` (see above) in
`KIBANA_REPO_ROOT/.scout/servers`\ndir\n3. Run tests\n\nScout:
\n```bash\nnode scripts/scout.js run-tests \\\n--serverless=es
\\\n--testTarget=cloud \\\n--config
x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n```\nPW: \n```\nnpx playwright test \\\n--project=mki
\\\n--config=x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--grep=@svlSearch\n```","sha":"8c08db126c902889b8c545ccc78d714e3cce035e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216705","number":216705,"mergeCommit":{"message":"[scout]
support tests run against Cloud / MKI (#216705)\n\n## Summary\n\ncloses
#203588\n\nThis PR extends `kbn-scout` to run UI tests against Cloud
deployment or\nMKI project.\n\nIt it required by design to define
`cloud_ech.json` or `cloud_mki.json`\nwith Cloud enviroment
details:\n\n**ECH config**\n\n```json\n{\n \"serverless\": false,\n
\"isCloud\": true,\n \"cloudHostName\": \"console.qa.cld.elstc.co\",\n
\"cloudUsersFilePath\": \"/path_to_your_cloud_users/role_users.json\",\n
\"hosts\": {\n \"kibana\": \"https://my.cloud.deployment.kb.co\",\n
\"elasticsearch\": \"https://my.cloud.deployment.es.co\"\n },\n
\"auth\": {\n \"username\": \"deployment_username\",\n \"password\":
\"deployment_password\"\n }\n}\n```\n\nHow to run:\n\n1. Create stateful
deployment on QA env\n2. Add `cloud_ech.json` (see above) in
`KIBANA_REPO_ROOT/.scout/servers`\ndir\n3. Run tests\n\nScout:
\n```bash\nnode scripts/scout.js run-tests \\\n--stateful
\\\n--testTarget=cloud \\\n--config
x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--headed\n```\nPW: \n```\nnpx playwright test \\\n--project=ech
\\\n--config=x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--grep=@ess\n```\n\n**Serverless config**\n\n```json\n{\n
\"serverless\": true\n \"projectType\": \"es\",\n \"isCloud\": true,\n
\"cloudHostName\": \"console.qa.cld.elstc.co\",\n
\"cloudUsersFilePath\": \"/path_to_your_cloud_users/role_users.json\",\n
\"hosts\": {\n \"kibana\": \"https://my.es.project.kb.co\",\n
\"elasticsearch\": \"https://my.es.project.es.co\"\n },\n \"auth\": {\n
\"username\": \"deployment_username\",\n \"password\":
\"deployment_password\"\n }\n}\n```\n\nHow to run:\n\n1. Create stateful
deployment on QA env\n2. Add `cloud_mki.json` (see above) in
`KIBANA_REPO_ROOT/.scout/servers`\ndir\n3. Run tests\n\nScout:
\n```bash\nnode scripts/scout.js run-tests \\\n--serverless=es
\\\n--testTarget=cloud \\\n--config
x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n```\nPW: \n```\nnpx playwright test \\\n--project=mki
\\\n--config=x-pack/platform/plugins/private/discover_enhanced/ui_tests/parallel.playwright.config.ts
\\\n--grep=@svlSearch\n```","sha":"8c08db126c902889b8c545ccc78d714e3cce035e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2025-04-08 14:57:19 +02:00
Brad White
862d42efdd
[8.x] [FIPS][Cloud][Build] Add FIPS cloud image. Convert base image to Wolfi. (#213163) (#216205)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[FIPS][Cloud][Build] Add FIPS cloud image. Convert base image to
Wolfi. (#213163)](https://github.com/elastic/kibana/pull/213163)

<!--- 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-27T15:01:08Z","message":"[FIPS][Cloud][Build]
Add FIPS cloud image. Convert base image to Wolfi. (#213163)\n\n##
Summary\n\n- Closes elastic/kibana-operations#245\n- Convert FIPS base
image from UBI to `chainguard-base-fips`\n- Add FIPS base image updates
to Renovate\n- Adjust naming scheme for FIPS image from
`kibana-ubi-fips` to\n`kibana-fips`\n- Adds new image flavor
`kibana-cloud-fips`\n- Adds support for `ci:build-cloud-fips-image`
label\n- Move Cloud image building to its own step instead of being part
of\n`Build Kibana Distribution` step so it will be triggered when the
build\nis reused and the `build` step is
skipped.","sha":"8601ec3072173ed6745fe892000cb4d1ab7fa89b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","ci:build-cloud-image","ci:build-docker-fips","backport:version","v9.1.0","v8.19.0","ci:build-cloud-fips-image"],"title":"[FIPS][Cloud][Build]
Add FIPS cloud image. Convert base image to
Wolfi.","number":213163,"url":"https://github.com/elastic/kibana/pull/213163","mergeCommit":{"message":"[FIPS][Cloud][Build]
Add FIPS cloud image. Convert base image to Wolfi. (#213163)\n\n##
Summary\n\n- Closes elastic/kibana-operations#245\n- Convert FIPS base
image from UBI to `chainguard-base-fips`\n- Add FIPS base image updates
to Renovate\n- Adjust naming scheme for FIPS image from
`kibana-ubi-fips` to\n`kibana-fips`\n- Adds new image flavor
`kibana-cloud-fips`\n- Adds support for `ci:build-cloud-fips-image`
label\n- Move Cloud image building to its own step instead of being part
of\n`Build Kibana Distribution` step so it will be triggered when the
build\nis reused and the `build` step is
skipped.","sha":"8601ec3072173ed6745fe892000cb4d1ab7fa89b"}},"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/213163","number":213163,"mergeCommit":{"message":"[FIPS][Cloud][Build]
Add FIPS cloud image. Convert base image to Wolfi. (#213163)\n\n##
Summary\n\n- Closes elastic/kibana-operations#245\n- Convert FIPS base
image from UBI to `chainguard-base-fips`\n- Add FIPS base image updates
to Renovate\n- Adjust naming scheme for FIPS image from
`kibana-ubi-fips` to\n`kibana-fips`\n- Adds new image flavor
`kibana-cloud-fips`\n- Adds support for `ci:build-cloud-fips-image`
label\n- Move Cloud image building to its own step instead of being part
of\n`Build Kibana Distribution` step so it will be triggered when the
build\nis reused and the `build` step is
skipped.","sha":"8601ec3072173ed6745fe892000cb4d1ab7fa89b"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-03-28 12:34:19 -05:00
Dzmitry Lemechko
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>
2025-03-23 16:16:55 +01:00
Dzmitry Lemechko
2c5600bd01
[8.x] [scout] add dynamic ci pipeline to run tests (#211797) (#214094)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[scout] add dynamic ci pipeline to run tests
(#211797)](https://github.com/elastic/kibana/pull/211797)

<!--- 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-11T17:15:08Z","message":"[scout]
add dynamic ci pipeline to run tests (#211797)\n\n## Summary\n\ncloses
https://github.com/elastic/kibana/issues/211592\n\nThis PR improves the
way we run scout tests by discovering all the\nplugins that have the
scout tests and run tests in multiple workers:\n\n<img width=\"1586\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/4936ab50-fefb-470c-af3a-21263b58143f\"\n/>\n\nHow
it works:\n\n1. Run search script to find _all existing_ scout
playwright config\nfiles across kibana repo\n2. Save results into
`.scout/scout_playwright_configs.json` file, that\nwill be used as
source to run configs in individual jobs per plugin.\nUpload it as BK
artifact.\n3. Spin up job for each plugin mentioned
in\n`scout_playwright_configs.json`\n4. In each individual job use
`scout_playwright_configs.json` and get\nconfigs for specific plugin,
use worker with 8 vcpus where tests are run\nin parallel
(`usesParallelWorkers` prop)\nWhile running configs 1 by 1 collect
command exit code with the\nfollowing rules:\n- configs run passed =>
exit code `0` , final status remains `0`\n- config has no tests => exit
code `2`, put config name into\n`configsWithoutTests` group to push BK
annotation later, change exit\nstatus to `0` - we accept configs without
tests at current stage\n- config run fails => exit code `1`, final
status changed to `1` and job\nwill fail in the end; put config name
into `failedConfigs` group to push\nBK annotation later\n\n<img
width=\"1564\" alt=\"Screenshot 2025-02-21 at 14 34
16\"\nsrc=\"https://github.com/user-attachments/assets/06e9298d-466c-46bb-8e85-3d691a40850a\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"697d6048700afc3e5d34a0c5e7505062d737ff52","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0","test:scout","v9.1.0"],"title":"[scout]
add dynamic ci pipeline to run
tests","number":211797,"url":"https://github.com/elastic/kibana/pull/211797","mergeCommit":{"message":"[scout]
add dynamic ci pipeline to run tests (#211797)\n\n## Summary\n\ncloses
https://github.com/elastic/kibana/issues/211592\n\nThis PR improves the
way we run scout tests by discovering all the\nplugins that have the
scout tests and run tests in multiple workers:\n\n<img width=\"1586\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/4936ab50-fefb-470c-af3a-21263b58143f\"\n/>\n\nHow
it works:\n\n1. Run search script to find _all existing_ scout
playwright config\nfiles across kibana repo\n2. Save results into
`.scout/scout_playwright_configs.json` file, that\nwill be used as
source to run configs in individual jobs per plugin.\nUpload it as BK
artifact.\n3. Spin up job for each plugin mentioned
in\n`scout_playwright_configs.json`\n4. In each individual job use
`scout_playwright_configs.json` and get\nconfigs for specific plugin,
use worker with 8 vcpus where tests are run\nin parallel
(`usesParallelWorkers` prop)\nWhile running configs 1 by 1 collect
command exit code with the\nfollowing rules:\n- configs run passed =>
exit code `0` , final status remains `0`\n- config has no tests => exit
code `2`, put config name into\n`configsWithoutTests` group to push BK
annotation later, change exit\nstatus to `0` - we accept configs without
tests at current stage\n- config run fails => exit code `1`, final
status changed to `1` and job\nwill fail in the end; put config name
into `failedConfigs` group to push\nBK annotation later\n\n<img
width=\"1564\" alt=\"Screenshot 2025-02-21 at 14 34
16\"\nsrc=\"https://github.com/user-attachments/assets/06e9298d-466c-46bb-8e85-3d691a40850a\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"697d6048700afc3e5d34a0c5e7505062d737ff52"}},"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/214086","number":214086,"state":"OPEN"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211797","number":211797,"mergeCommit":{"message":"[scout]
add dynamic ci pipeline to run tests (#211797)\n\n## Summary\n\ncloses
https://github.com/elastic/kibana/issues/211592\n\nThis PR improves the
way we run scout tests by discovering all the\nplugins that have the
scout tests and run tests in multiple workers:\n\n<img width=\"1586\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/4936ab50-fefb-470c-af3a-21263b58143f\"\n/>\n\nHow
it works:\n\n1. Run search script to find _all existing_ scout
playwright config\nfiles across kibana repo\n2. Save results into
`.scout/scout_playwright_configs.json` file, that\nwill be used as
source to run configs in individual jobs per plugin.\nUpload it as BK
artifact.\n3. Spin up job for each plugin mentioned
in\n`scout_playwright_configs.json`\n4. In each individual job use
`scout_playwright_configs.json` and get\nconfigs for specific plugin,
use worker with 8 vcpus where tests are run\nin parallel
(`usesParallelWorkers` prop)\nWhile running configs 1 by 1 collect
command exit code with the\nfollowing rules:\n- configs run passed =>
exit code `0` , final status remains `0`\n- config has no tests => exit
code `2`, put config name into\n`configsWithoutTests` group to push BK
annotation later, change exit\nstatus to `0` - we accept configs without
tests at current stage\n- config run fails => exit code `1`, final
status changed to `1` and job\nwill fail in the end; put config name
into `failedConfigs` group to push\nBK annotation later\n\n<img
width=\"1564\" alt=\"Screenshot 2025-02-21 at 14 34
16\"\nsrc=\"https://github.com/user-attachments/assets/06e9298d-466c-46bb-8e85-3d691a40850a\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"697d6048700afc3e5d34a0c5e7505062d737ff52"}}]}]
BACKPORT-->
2025-03-12 14:28:03 +01:00
Kibana Machine
e73486bbc5
[8.x] [ci/ build_pr_and_deploy_cloud] Wait for pre-build (#210202) (#213938)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci/ build_pr_and_deploy_cloud] Wait for pre-build
(#210202)](https://github.com/elastic/kibana/pull/210202)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2025-03-11T14:43:37Z","message":"[ci/
build_pr_and_deploy_cloud] Wait for pre-build (#210202)\n\nbefore
building the distribution. CI stats depends on environment setup\nfrom
the pre-build
step.","sha":"f56e658f0bacb79091a7e837b13db5af01cb4dc1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","skip-ci","backport:prev-major","ci:cloud-deploy","v9.1.0"],"title":"[ci/
build_pr_and_deploy_cloud] Wait for
pre-build","number":210202,"url":"https://github.com/elastic/kibana/pull/210202","mergeCommit":{"message":"[ci/
build_pr_and_deploy_cloud] Wait for pre-build (#210202)\n\nbefore
building the distribution. CI stats depends on environment setup\nfrom
the pre-build
step.","sha":"f56e658f0bacb79091a7e837b13db5af01cb4dc1"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"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/210202","number":210202,"mergeCommit":{"message":"[ci/
build_pr_and_deploy_cloud] Wait for pre-build (#210202)\n\nbefore
building the distribution. CI stats depends on environment setup\nfrom
the pre-build
step.","sha":"f56e658f0bacb79091a7e837b13db5af01cb4dc1"}}]}] BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2025-03-11 19:28:18 +01:00
Vitalii Dmyterko
33d2621b1c
[8.x] [Security Solution][Detection Engine] moves general logic rule executions FTR tests to Essentials/Basic tier (#211477) (#212276)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution][Detection Engine] moves general logic rule
executions FTR tests to Essentials/Basic tier
(#211477)](https://github.com/elastic/kibana/pull/211477)

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

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

<!--BACKPORT [{"author":{"name":"Vitalii
Dmyterko","email":"92328789+vitaliidm@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-24T13:59:06Z","message":"[Security
Solution][Detection Engine] moves general logic rule executions FTR
tests to Essentials/Basic tier (#211477)\n\n## Summary\n\n - addresses
https://github.com/elastic/kibana/issues/179767\n- ignore_fields tests
run as expected on basic/essentials license, so\nmoved to that tier\n-
moves the rest of files in `general_logic` set of tests to basic\nlevel,
apart from synthetic source tests that requires
platinum(trial)\nlicense","sha":"04a9acd365762fc82a04d7431b5438e29fce971f","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:Detections
and Resp","Team: SecuritySolution","Team:Detection
Engine","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Security
Solution][Detection Engine] moves general logic rule executions FTR
tests to Essentials/Basic
tier","number":211477,"url":"https://github.com/elastic/kibana/pull/211477","mergeCommit":{"message":"[Security
Solution][Detection Engine] moves general logic rule executions FTR
tests to Essentials/Basic tier (#211477)\n\n## Summary\n\n - addresses
https://github.com/elastic/kibana/issues/179767\n- ignore_fields tests
run as expected on basic/essentials license, so\nmoved to that tier\n-
moves the rest of files in `general_logic` set of tests to basic\nlevel,
apart from synthetic source tests that requires
platinum(trial)\nlicense","sha":"04a9acd365762fc82a04d7431b5438e29fce971f"}},"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/212247","number":212247,"state":"MERGED","mergeCommit":{"sha":"87db538b04ea9b5096c9aba19ca21c37d6070675","message":"[9.0]
[Security Solution][Detection Engine] moves general logic rule
executions FTR tests to Essentials/Basic tier (#211477) (#212247)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.0`:\n- [[Security Solution][Detection Engine] moves general logic
rule\nexecutions FTR tests to Essentials/Basic
tier\n(#211477)](https://github.com/elastic/kibana/pull/211477)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Vitalii Dmyterko
<92328789+vitaliidm@users.noreply.github.com>"}},{"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/211477","number":211477,"mergeCommit":{"message":"[Security
Solution][Detection Engine] moves general logic rule executions FTR
tests to Essentials/Basic tier (#211477)\n\n## Summary\n\n - addresses
https://github.com/elastic/kibana/issues/179767\n- ignore_fields tests
run as expected on basic/essentials license, so\nmoved to that tier\n-
moves the rest of files in `general_logic` set of tests to basic\nlevel,
apart from synthetic source tests that requires
platinum(trial)\nlicense","sha":"04a9acd365762fc82a04d7431b5438e29fce971f"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-02-26 12:56:25 +01:00
Mykola Harmash
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>
2025-02-17 16:18:59 +01:00
Tiago Costa
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>
2025-02-14 13:36:07 +00:00
Kibana Machine
0746c40b54
[8.x] [ci] run scout tests as on merge non-blocking pipeline (#210425) (#210590)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] run scout tests as on merge non-blocking pipeline
(#210425)](https://github.com/elastic/kibana/pull/210425)

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

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T14:21:20Z","message":"[ci]
run scout tests as on merge non-blocking pipeline (#210425)\n\n##
Summary\r\n\r\nTo collect more stats (run time & flakiness) we would
like to run Scout\r\ntests in \"non-blocking\" way for on-merge
pipeline.\r\n\r\nI basically copied script and configuration
from\r\n9dc67bfd88/.buildkite/pipelines/pull_request/scout_ui_tests.yml","sha":"745cbb7d8db5cb1f8e7810d018f01c032ece072c","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:QA","release_note:skip","v9.0.0","backport:version","test:scout","v9.1.0","v8.19.0"],"title":"[ci]
run scout tests as on merge non-blocking
pipeline","number":210425,"url":"https://github.com/elastic/kibana/pull/210425","mergeCommit":{"message":"[ci]
run scout tests as on merge non-blocking pipeline (#210425)\n\n##
Summary\r\n\r\nTo collect more stats (run time & flakiness) we would
like to run Scout\r\ntests in \"non-blocking\" way for on-merge
pipeline.\r\n\r\nI basically copied script and configuration
from\r\n9dc67bfd88/.buildkite/pipelines/pull_request/scout_ui_tests.yml","sha":"745cbb7d8db5cb1f8e7810d018f01c032ece072c"}},"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/210425","number":210425,"mergeCommit":{"message":"[ci]
run scout tests as on merge non-blocking pipeline (#210425)\n\n##
Summary\r\n\r\nTo collect more stats (run time & flakiness) we would
like to run Scout\r\ntests in \"non-blocking\" way for on-merge
pipeline.\r\n\r\nI basically copied script and configuration
from\r\n9dc67bfd88/.buildkite/pipelines/pull_request/scout_ui_tests.yml","sha":"745cbb7d8db5cb1f8e7810d018f01c032ece072c"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2025-02-11 17:32:29 +01:00
Kibana Machine
d3df7aaaec
[8.x] [ci] Increase Checks disk size (#209198) (#209202)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Increase Checks disk size
(#209198)](https://github.com/elastic/kibana/pull/209198)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2025-02-01T02:02:03Z","message":"[ci]
Increase Checks disk size
(#209198)","sha":"6cea13003ee6b6b4274a41f799d397211027d63d","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-major","v9.1.0"],"title":"[ci]
Increase Checks disk
size","number":209198,"url":"https://github.com/elastic/kibana/pull/209198","mergeCommit":{"message":"[ci]
Increase Checks disk size
(#209198)","sha":"6cea13003ee6b6b4274a41f799d397211027d63d"}},"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/209198","number":209198,"mergeCommit":{"message":"[ci]
Increase Checks disk size
(#209198)","sha":"6cea13003ee6b6b4274a41f799d397211027d63d"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2025-01-31 20:10:44 -06:00
Kibana Machine
1d4a08fc72
[8.x] [ci] Don&#x27;t start APM/Profiling cypress if pre-checks don&#x27;t pass (#208569) (#208585)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Don&#x27;t start APM/Profiling cypress if pre-checks don&#x27;t
pass (#208569)](https://github.com/elastic/kibana/pull/208569)

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

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-01-28T17:19:52Z","message":"[ci]
Don't start APM/Profiling cypress if pre-checks don't pass
(#208569)\n\n##
Summary\nhttps://buildkite.com/elastic/kibana-on-merge/builds/60136
shows how\neven though some preliminary checks failed, some cypress
tests started\nafter the build step was successful. It's probably
because they had\nexplicit dependencies, but only on a subset of the
pre-checks.","sha":"90d768be9b35ac26a3b938edac5c1af47cab980a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:all-open"],"title":"[ci]
Don't start APM/Profiling cypress if pre-checks don't
pass","number":208569,"url":"https://github.com/elastic/kibana/pull/208569","mergeCommit":{"message":"[ci]
Don't start APM/Profiling cypress if pre-checks don't pass
(#208569)\n\n##
Summary\nhttps://buildkite.com/elastic/kibana-on-merge/builds/60136
shows how\neven though some preliminary checks failed, some cypress
tests started\nafter the build step was successful. It's probably
because they had\nexplicit dependencies, but only on a subset of the
pre-checks.","sha":"90d768be9b35ac26a3b938edac5c1af47cab980a"}},"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/208569","number":208569,"mergeCommit":{"message":"[ci]
Don't start APM/Profiling cypress if pre-checks don't pass
(#208569)\n\n##
Summary\nhttps://buildkite.com/elastic/kibana-on-merge/builds/60136
shows how\neven though some preliminary checks failed, some cypress
tests started\nafter the build step was successful. It's probably
because they had\nexplicit dependencies, but only on a subset of the
pre-checks.","sha":"90d768be9b35ac26a3b938edac5c1af47cab980a"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2025-01-28 20:00:54 +01:00
Alex Szabo
19d6e0c33c
[8.x] [ci] Click to deploy cloud (#205623) (#208042)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Click to deploy cloud
(#205623)](https://github.com/elastic/kibana/pull/205623)

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

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-01-23T09:26:03Z","message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:all-open"],"title":"[ci]
Click to deploy
cloud","number":205623,"url":"https://github.com/elastic/kibana/pull/205623","mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}},"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/205623","number":205623,"mergeCommit":{"message":"[ci]
Click to deploy cloud (#205623)\n\n## Summary\nSimilar to
https://github.com/elastic/kibana/pull/195581\n\nAdds a pipeline that
builds Kibana and starts cloud deployment without\ngoing through the CI
test suites (as in normal pull-request pipeline\nruns). It can be useful
if a developer would like to save time/compute\non
re-building/re-testing the whole project before deploying to
the\ncloud.\n\nAdded labels (`ci:cloud-deploy / ci:cloud-redeploy`) are
required\nsimilarly to the usual CI flow.\n\nRelated to:
https://github.com/elastic/kibana-operations/issues/121","sha":"e36833b3a60b62f794f47951f5ceae842d6c44b3"}}]}]
BACKPORT-->
2025-01-24 17:13:20 +01:00
Kibana Machine
09621fcc36
[8.x] [ci/response_ops.yml] Increase parallelism (#207941) (#208107)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci/response_ops.yml] Increase parallelism
(#207941)](https://github.com/elastic/kibana/pull/207941)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2025-01-23T17:15:48Z","message":"[ci/response_ops.yml]
Increase parallelism (#207941)\n\nThese tests have moved beyond our 40
minute
target.","sha":"0a577beec5b70e5a193071602c5994553d03b420","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:all-cypress-suites","backport:prev-minor"],"title":"[ci/response_ops.yml]
Increase
parallelism","number":207941,"url":"https://github.com/elastic/kibana/pull/207941","mergeCommit":{"message":"[ci/response_ops.yml]
Increase parallelism (#207941)\n\nThese tests have moved beyond our 40
minute
target.","sha":"0a577beec5b70e5a193071602c5994553d03b420"}},"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/207941","number":207941,"mergeCommit":{"message":"[ci/response_ops.yml]
Increase parallelism (#207941)\n\nThese tests have moved beyond our 40
minute target.","sha":"0a577beec5b70e5a193071602c5994553d03b420"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2025-01-23 18:51:44 +00:00
Sergi Romeu
67096beac6
[8.x] [Profiling] Migrate Profiling Cypress tests to on_merge from on_merge_unsupported_ftrs (#206727) (#207401)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Profiling] Migrate Profiling Cypress tests to &#x60;on_merge&#x60;
from &#x60;on_merge_unsupported_ftrs&#x60;
(#206727)](https://github.com/elastic/kibana/pull/206727)

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

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

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-01-21T16:09:42Z","message":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs` (#206727)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/206664\n\nThis PR moves
Profiling Cypress tests to be run on the main pipeline\ninstead of the
unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3498d509ef2cf079e222bbd4aa6a5512adf4f608","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical
debt","release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-infra_services"],"title":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs`","number":206727,"url":"https://github.com/elastic/kibana/pull/206727","mergeCommit":{"message":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs` (#206727)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/206664\n\nThis PR moves
Profiling Cypress tests to be run on the main pipeline\ninstead of the
unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3498d509ef2cf079e222bbd4aa6a5512adf4f608"}},"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/206727","number":206727,"mergeCommit":{"message":"[Profiling]
Migrate Profiling Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs` (#206727)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/206664\n\nThis PR moves
Profiling Cypress tests to be run on the main pipeline\ninstead of the
unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"3498d509ef2cf079e222bbd4aa6a5512adf4f608"}}]}]
BACKPORT-->
2025-01-21 18:12:53 +00:00
Sergi Romeu
40e7ac8864
[8.x] [APM] Migrate APM Cypress tests to on_merge from on_merge_unsupported_ftrs (#203991) (#206929)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[APM] Migrate APM Cypress tests to &#x60;on_merge&#x60; from
&#x60;on_merge_unsupported_ftrs&#x60;
(#203991)](https://github.com/elastic/kibana/pull/203991)

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

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

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-01-16T11:57:50Z","message":"[APM]
Migrate APM Cypress tests to `on_merge` from `on_merge_unsupported_ftrs`
(#203991)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/203837\n[Internal]
Closes\nhttps://github.com/elastic/observability-dev/issues/4126?reload=1?reload=1\n\nThis
PR moves APM Cypress tests to be run on the main pipeline instead\nof
the unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba92d08a58d67bc832078f52c8401d9e66598220","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical
debt","release_note:skip","v9.0.0","apm","backport:prev-minor","Team:obs-ux-infra_services"],"title":"[APM]
Migrate APM Cypress tests to `on_merge` from
`on_merge_unsupported_ftrs`","number":203991,"url":"https://github.com/elastic/kibana/pull/203991","mergeCommit":{"message":"[APM]
Migrate APM Cypress tests to `on_merge` from `on_merge_unsupported_ftrs`
(#203991)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/203837\n[Internal]
Closes\nhttps://github.com/elastic/observability-dev/issues/4126?reload=1?reload=1\n\nThis
PR moves APM Cypress tests to be run on the main pipeline instead\nof
the unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba92d08a58d67bc832078f52c8401d9e66598220"}},"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/203991","number":203991,"mergeCommit":{"message":"[APM]
Migrate APM Cypress tests to `on_merge` from `on_merge_unsupported_ftrs`
(#203991)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/203837\n[Internal]
Closes\nhttps://github.com/elastic/observability-dev/issues/4126?reload=1?reload=1\n\nThis
PR moves APM Cypress tests to be run on the main pipeline instead\nof
the unsupported one.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba92d08a58d67bc832078f52c8401d9e66598220"}}]}]
BACKPORT-->
2025-01-16 16:38:35 +01:00
Kibana Machine
1adc1ae9a4
[8.x] Adds notification settings for unsupported ftr tests (synthetics, inventory) (#206085) (#206125)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Adds notification settings for unsupported ftr tests (synthetics,
inventory) (#206085)](https://github.com/elastic/kibana/pull/206085)

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

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

<!--BACKPORT [{"author":{"name":"Jason
Rhodes","email":"jason.rhodes@elastic.co"},"sourceCommit":{"committedDate":"2025-01-09T18:02:16Z","message":"Adds
notification settings for unsupported ftr tests (synthetics, inventory)
(#206085)\n\n## Summary\n\nBased on [work by @v1v to notify Slack teams
when there are unsupported\nFTR
failures](https://github.com/elastic/kibana/pull/205260), I've
added\nthe remaining ones for synthetics and inventory tests
here.","sha":"d7723168a55e77a775a7d8cc0d897cc8c2019275","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open"],"title":"Adds
notification settings for unsupported ftr tests (synthetics,
inventory)","number":206085,"url":"https://github.com/elastic/kibana/pull/206085","mergeCommit":{"message":"Adds
notification settings for unsupported ftr tests (synthetics, inventory)
(#206085)\n\n## Summary\n\nBased on [work by @v1v to notify Slack teams
when there are unsupported\nFTR
failures](https://github.com/elastic/kibana/pull/205260), I've
added\nthe remaining ones for synthetics and inventory tests
here.","sha":"d7723168a55e77a775a7d8cc0d897cc8c2019275"}},"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/206085","number":206085,"mergeCommit":{"message":"Adds
notification settings for unsupported ftr tests (synthetics, inventory)
(#206085)\n\n## Summary\n\nBased on [work by @v1v to notify Slack teams
when there are unsupported\nFTR
failures](https://github.com/elastic/kibana/pull/205260), I've
added\nthe remaining ones for synthetics and inventory tests
here.","sha":"d7723168a55e77a775a7d8cc0d897cc8c2019275"}}]}] BACKPORT-->

Co-authored-by: Jason Rhodes <jason.rhodes@elastic.co>
2025-01-09 19:48:50 +00:00
Jon
30275db985
[8.x] [cypress/security_solution] Rebalance parallelism (#205452) (#205549)
#205452
2025-01-07 08:22:14 -06:00
Kibana Machine
422122c50d
[8.x] ci(ftr): notify owners in the slack message when failures (#205260) (#205717)
# Backport

This will backport the following commits from `main` to `8.x`:
- [ci(ftr): notify owners in the slack message when failures
(#205260)](https://github.com/elastic/kibana/pull/205260)

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

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

<!--BACKPORT [{"author":{"name":"Victor
Martinez","email":"victormartinezrubio@gmail.com"},"sourceCommit":{"committedDate":"2025-01-07T11:53:04Z","message":"ci(ftr):
notify owners in the slack message when failures
(#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open"],"title":"ci(ftr):
notify owners in the slack message when
failures","number":205260,"url":"https://github.com/elastic/kibana/pull/205260","mergeCommit":{"message":"ci(ftr):
notify owners in the slack message when failures
(#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2"}},"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/205260","number":205260,"mergeCommit":{"message":"ci(ftr):
notify owners in the slack message when failures
(#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2"}}]}]
BACKPORT-->

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
2025-01-07 13:48:26 +00:00
Kibana Machine
c7dd64a49e
[8.x] [ci/artifacts] Increase disk size (#205632) (#205657)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci/artifacts] Increase disk size
(#205632)](https://github.com/elastic/kibana/pull/205632)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2025-01-06T20:20:57Z","message":"[ci/artifacts]
Increase disk size
(#205632)","sha":"750ccb10f061b827334dd32ded43b7dcf58e37d6","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","skip-ci","backport:prev-minor"],"title":"[ci/artifacts]
Increase disk
size","number":205632,"url":"https://github.com/elastic/kibana/pull/205632","mergeCommit":{"message":"[ci/artifacts]
Increase disk size
(#205632)","sha":"750ccb10f061b827334dd32ded43b7dcf58e37d6"}},"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/205632","number":205632,"mergeCommit":{"message":"[ci/artifacts]
Increase disk size
(#205632)","sha":"750ccb10f061b827334dd32ded43b7dcf58e37d6"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2025-01-06 14:31:02 -06:00
Kibana Machine
465d2aaedf
[8.x] [api docs] Stabilize build (#205432) (#205460)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[api docs] Stabilize build
(#205432)](https://github.com/elastic/kibana/pull/205432)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2025-01-03T01:14:14Z","message":"[api
docs] Stabilize build (#205432)\n\nThe API docs build times have become
unstable over the last few months,\r\nranging from 45 to 80 minutes
before timing
out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen
the API docs build times out in the on-merge pipeline, or
takes\r\nlonger than a pull request build, pull requests based on it
will also\r\nfail due to missing baseline metrics. Testing
at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821
and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates
consistency and time improvements with more memory.\r\n\r\nThis updates
the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates
24gb to the node
process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[api
docs] Stabilize
build","number":205432,"url":"https://github.com/elastic/kibana/pull/205432","mergeCommit":{"message":"[api
docs] Stabilize build (#205432)\n\nThe API docs build times have become
unstable over the last few months,\r\nranging from 45 to 80 minutes
before timing
out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen
the API docs build times out in the on-merge pipeline, or
takes\r\nlonger than a pull request build, pull requests based on it
will also\r\nfail due to missing baseline metrics. Testing
at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821
and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates
consistency and time improvements with more memory.\r\n\r\nThis updates
the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates
24gb to the node
process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08"}},"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/205432","number":205432,"mergeCommit":{"message":"[api
docs] Stabilize build (#205432)\n\nThe API docs build times have become
unstable over the last few months,\r\nranging from 45 to 80 minutes
before timing
out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen
the API docs build times out in the on-merge pipeline, or
takes\r\nlonger than a pull request build, pull requests based on it
will also\r\nfail due to missing baseline metrics. Testing
at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821
and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates
consistency and time improvements with more memory.\r\n\r\nThis updates
the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates
24gb to the node
process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2025-01-02 21:00:29 -06:00
Kibana Machine
39f6aa940e
[8.x] [ci] Reduce disk size for steps (#202015) (#205178)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Reduce disk size for steps
(#202015)](https://github.com/elastic/kibana/pull/202015)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-12-26T23:19:11Z","message":"[ci]
Reduce disk size for steps (#202015)\n\nFirst pass on reducing disk
size. This sets disk size for frequently run\r\nsteps not running builds
or integration
tests.","sha":"b1da11e0f90da1437a9949d08a813815d21b681c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-minor"],"title":"[ci]
Reduce disk size for
steps","number":202015,"url":"https://github.com/elastic/kibana/pull/202015","mergeCommit":{"message":"[ci]
Reduce disk size for steps (#202015)\n\nFirst pass on reducing disk
size. This sets disk size for frequently run\r\nsteps not running builds
or integration
tests.","sha":"b1da11e0f90da1437a9949d08a813815d21b681c"}},"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/202015","number":202015,"mergeCommit":{"message":"[ci]
Reduce disk size for steps (#202015)\n\nFirst pass on reducing disk
size. This sets disk size for frequently run\r\nsteps not running builds
or integration
tests.","sha":"b1da11e0f90da1437a9949d08a813815d21b681c"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2024-12-26 19:04:12 -06:00
Dzmitry Lemechko
f0d24e4d3e
[8.x] [scout] add ci pipeline (#202707) (#204796)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[scout] add ci pipeline
(#202707)](https://github.com/elastic/kibana/pull/202707)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2024-12-11T11:15:50Z","message":"[scout]
add ci pipeline (#202707)\n\n## Summary\r\n\r\nAdding basic pipeline to
run scout UI tests for stateful and 3\r\nserverless projects. Few tests
were skipped for Security project because\r\nesArchives used in tests
ingest index that are restricted for default\r\nproject roles.\r\n\r\nIt
is an opt-in pipeline to verify kbn/scout changes does not break
the\r\nexisting tests. It is only for start and we plan to re-work into
a\r\nmature pipeline later.\r\n\r\nNew
opt-in\r\n[pipeline](https://buildkite.com/elastic/kibana-pull-request/builds/258589#0193afc4-bbd6-4200-8c5f-a7e4a8073e1d)\r\nwas
added\r\n<img width=\"1659\" alt=\"Screenshot 2024-12-10 at 11 31
35\"\r\nsrc=\"https://github.com/user-attachments/assets/1c19fa46-4e66-4796-ac6d-c2c96c74fa8e\">","sha":"87b2a12480c457ecb5ec9640c3e3ebc697edf0f7","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","test:scout"],"number":202707,"url":"https://github.com/elastic/kibana/pull/202707","mergeCommit":{"message":"[scout]
add ci pipeline (#202707)\n\n## Summary\r\n\r\nAdding basic pipeline to
run scout UI tests for stateful and 3\r\nserverless projects. Few tests
were skipped for Security project because\r\nesArchives used in tests
ingest index that are restricted for default\r\nproject roles.\r\n\r\nIt
is an opt-in pipeline to verify kbn/scout changes does not break
the\r\nexisting tests. It is only for start and we plan to re-work into
a\r\nmature pipeline later.\r\n\r\nNew
opt-in\r\n[pipeline](https://buildkite.com/elastic/kibana-pull-request/builds/258589#0193afc4-bbd6-4200-8c5f-a7e4a8073e1d)\r\nwas
added\r\n<img width=\"1659\" alt=\"Screenshot 2024-12-10 at 11 31
35\"\r\nsrc=\"https://github.com/user-attachments/assets/1c19fa46-4e66-4796-ac6d-c2c96c74fa8e\">","sha":"87b2a12480c457ecb5ec9640c3e3ebc697edf0f7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202707","number":202707,"mergeCommit":{"message":"[scout]
add ci pipeline (#202707)\n\n## Summary\r\n\r\nAdding basic pipeline to
run scout UI tests for stateful and 3\r\nserverless projects. Few tests
were skipped for Security project because\r\nesArchives used in tests
ingest index that are restricted for default\r\nproject roles.\r\n\r\nIt
is an opt-in pipeline to verify kbn/scout changes does not break
the\r\nexisting tests. It is only for start and we plan to re-work into
a\r\nmature pipeline later.\r\n\r\nNew
opt-in\r\n[pipeline](https://buildkite.com/elastic/kibana-pull-request/builds/258589#0193afc4-bbd6-4200-8c5f-a7e4a8073e1d)\r\nwas
added\r\n<img width=\"1659\" alt=\"Screenshot 2024-12-10 at 11 31
35\"\r\nsrc=\"https://github.com/user-attachments/assets/1c19fa46-4e66-4796-ac6d-c2c96c74fa8e\">","sha":"87b2a12480c457ecb5ec9640c3e3ebc697edf0f7"}}]}]
BACKPORT-->
2024-12-18 13:45:06 -06:00
Kibana Machine
afa4fc9c94
[8.x] Fix/renovate pipeline (#204672) (#204743)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Fix/renovate pipeline
(#204672)](https://github.com/elastic/kibana/pull/204672)

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

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

<!--BACKPORT [{"author":{"name":"Brad
White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-18T12:35:36Z","message":"Fix/renovate
pipeline (#204672)\n\n## Summary\n\nRenovate pipeline isn't being
uploaded to Buildkite properly and `pre`\nand `post` build steps were
not necessary and create errors with CI\nstats.\n\n[Successful
CI\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/261627)","sha":"ecd4567ac6d0663756724f7a4ed34401a0873389","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"Fix/renovate
pipeline","number":204672,"url":"https://github.com/elastic/kibana/pull/204672","mergeCommit":{"message":"Fix/renovate
pipeline (#204672)\n\n## Summary\n\nRenovate pipeline isn't being
uploaded to Buildkite properly and `pre`\nand `post` build steps were
not necessary and create errors with CI\nstats.\n\n[Successful
CI\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/261627)","sha":"ecd4567ac6d0663756724f7a4ed34401a0873389"}},"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/204672","number":204672,"mergeCommit":{"message":"Fix/renovate
pipeline (#204672)\n\n## Summary\n\nRenovate pipeline isn't being
uploaded to Buildkite properly and `pre`\nand `post` build steps were
not necessary and create errors with CI\nstats.\n\n[Successful
CI\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/261627)","sha":"ecd4567ac6d0663756724f7a4ed34401a0873389"}}]}]
BACKPORT-->

Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
2024-12-18 08:26:34 -06:00
Kibana Machine
b86b55a6c0
[8.x] Only run quick checks for changes to renovate.json (#203153) (#204675)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Only run quick checks for changes to renovate.json
(#203153)](https://github.com/elastic/kibana/pull/203153)

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

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

<!--BACKPORT [{"author":{"name":"Larry
Gregory","email":"larry.gregory@elastic.co"},"sourceCommit":{"committedDate":"2024-12-17T13:59:43Z","message":"Only
run quick checks for changes to renovate.json (#203153)\n\n##
Summary\n\nIntroduces a new `renovate` CI pipeline to only run quick
checks for PRs\nwhich only adjust the `renovate.json` configuration
file.","sha":"591d640b1fe21dc847338a535c142153f2b50e80","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","Team:Security","release_note:skip","v9.0.0","backport:prev-major"],"title":"Only
run quick checks for changes to
renovate.json","number":203153,"url":"https://github.com/elastic/kibana/pull/203153","mergeCommit":{"message":"Only
run quick checks for changes to renovate.json (#203153)\n\n##
Summary\n\nIntroduces a new `renovate` CI pipeline to only run quick
checks for PRs\nwhich only adjust the `renovate.json` configuration
file.","sha":"591d640b1fe21dc847338a535c142153f2b50e80"}},"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/203153","number":203153,"mergeCommit":{"message":"Only
run quick checks for changes to renovate.json (#203153)\n\n##
Summary\n\nIntroduces a new `renovate` CI pipeline to only run quick
checks for PRs\nwhich only adjust the `renovate.json` configuration
file.","sha":"591d640b1fe21dc847338a535c142153f2b50e80"}}]}] BACKPORT-->

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2024-12-17 19:32:36 -06:00
Shahzad
0a5e9da063
[8.x] Relocating module @kbn/slo-plugin (#204265) (#204456)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Relocating module `@kbn/slo-plugin`
(#204265)](https://github.com/elastic/kibana/pull/204265)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-12-16T16:35:31Z","message":"Relocating
module `@kbn/slo-plugin` (#204265)\n\n## Summary\r\n\r\nPR has been
generated with script `node scripts/relocate
--team\r\n\"@elastic/obs-ux-management-team\"`\r\n\r\nRelocating module
`@kbn/slo-plugin`\r\n\r\nWe are facing emotion issues that we need to
fix !!\r\n\r\nWe need to figure out why app is broken after relocating
with
following\r\nerror\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0e9de89c-7044-4099-bb05-c5ebf21f77c4)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Kevin Delemme
<kevin.delemme@elastic.co>","sha":"984a059e67c774243adc77f6291a45eda9e8fd12","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"number":204265,"url":"https://github.com/elastic/kibana/pull/204265","mergeCommit":{"message":"Relocating
module `@kbn/slo-plugin` (#204265)\n\n## Summary\r\n\r\nPR has been
generated with script `node scripts/relocate
--team\r\n\"@elastic/obs-ux-management-team\"`\r\n\r\nRelocating module
`@kbn/slo-plugin`\r\n\r\nWe are facing emotion issues that we need to
fix !!\r\n\r\nWe need to figure out why app is broken after relocating
with
following\r\nerror\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0e9de89c-7044-4099-bb05-c5ebf21f77c4)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Kevin Delemme
<kevin.delemme@elastic.co>","sha":"984a059e67c774243adc77f6291a45eda9e8fd12"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204265","number":204265,"mergeCommit":{"message":"Relocating
module `@kbn/slo-plugin` (#204265)\n\n## Summary\r\n\r\nPR has been
generated with script `node scripts/relocate
--team\r\n\"@elastic/obs-ux-management-team\"`\r\n\r\nRelocating module
`@kbn/slo-plugin`\r\n\r\nWe are facing emotion issues that we need to
fix !!\r\n\r\nWe need to figure out why app is broken after relocating
with
following\r\nerror\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/0e9de89c-7044-4099-bb05-c5ebf21f77c4)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Kevin Delemme
<kevin.delemme@elastic.co>","sha":"984a059e67c774243adc77f6291a45eda9e8fd12"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-17 06:37:58 -06:00
Shahzad
87f9d773fd
[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-management-team (#202832) (#204256)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team`
(#202832)](https://github.com/elastic/kibana/pull/202832)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T20:28:21Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\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|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\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./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/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\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-management"],"number":202832,"url":"https://github.com/elastic/kibana/pull/202832","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\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|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\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./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/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\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202832","number":202832,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-management-team` (#202832)\n\n## Summary\r\n\r\nThis PR
aims at relocating some of the Kibana modules (plugins and\r\npackages)
into a new folder structure, according to the _Sustainable\r\nKibana
Architecture_ initiative.\r\n\r\n> [!IMPORTANT]\r\n> * We kindly ask you
to:\r\n> * Manually fix the errors in the error section below (if there
are\r\nany).\r\n> * Search for the `packages[\\/\\\\]` and
`plugins[\\/\\\\]` patterns in the\r\nsource code (Babel and Eslint
config files), and update them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> This PR has been auto-generated.\r\n>
Do not attempt to push any changes unless you know what you are
doing.\r\n> Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\n\r\n\r\n\r\n#### 8 plugin(s) are going to
be relocated:\r\n\r\n| Id | Target folder |\r\n| -- | -------------
|\r\n| `@kbn/exploratory-view-plugin`
|\r\n`x-pack/solutions/observability/plugins/exploratory_view` |\r\n|
`@kbn/investigate-app-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate_app` |\r\n|
`@kbn/investigate-plugin`
|\r\n`x-pack/solutions/observability/plugins/investigate` |\r\n|
`@kbn/observability-plugin`
|\r\n`x-pack/solutions/observability/plugins/observability` |\r\n|
`@kbn/serverless-observability`
|\r\n`x-pack/solutions/observability/plugins/serverless_observability`
|\r\n| `@kbn/slo-plugin` | `x-pack/solutions/observability/plugins/slo`
|\r\n| `@kbn/synthetics-plugin`
|\r\n`x-pack/solutions/observability/plugins/synthetics` |\r\n|
`@kbn/uptime-plugin` |
`x-pack/solutions/observability/plugins/uptime`\r\n|\r\n\r\n\r\n#### 10
package(s) are going to be relocated:\r\n\r\n | Id | Target folder |\r\n
| -- | ------------- |\r\n| `@kbn/data-forge` |
`x-pack/platform/packages/shared/kbn-data-forge` |\r\n|
`@kbn/deeplinks-observability`
|\r\n`src/platform/packages/shared/deeplinks/observability` |\r\n|
`@kbn/infra-forge`
|\r\n`x-pack/platform/packages/private/kbn-infra-forge` |\r\n|
`@kbn/investigation-shared`
|\r\n`x-pack/solutions/observability/packages/kbn-investigation-shared`
|\r\n| `@kbn/observability-alert-details`
|\r\n`x-pack/solutions/observability/packages/alert_details` |\r\n|
`@kbn/observability-alerting-rule-utils`
|\r\n`x-pack/platform/packages/shared/observability/alerting_rule_utils`
|\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|
`@kbn/observability-synthetics-test-data`
|\r\n`x-pack/solutions/observability/packages/synthetics_test_data`
|\r\n| `@kbn/slo-schema` |
`x-pack/platform/packages/shared/kbn-slo-schema`
|\r\n\r\n\r\n<details>\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/pipelines/on_merge_unsupported_ftrs.yml\r\n./.buildkite/pipelines/pull_request/exploratory_view_plugin.yml\r\n./.buildkite/pipelines/pull_request/slo_plugin_e2e.yml\r\n./.buildkite/pipelines/pull_request/synthetics_plugin.yml\r\n./.buildkite/pipelines/pull_request/uptime_plugin.yml\r\n./.buildkite/scripts/steps/functional/exploratory_view_plugin.sh\r\n./.buildkite/scripts/steps/functional/slo_plugin_e2e.sh\r\n./.buildkite/scripts/steps/functional/synthetics.sh\r\n./.buildkite/scripts/steps/functional/synthetics_plugin.sh\r\n./.buildkite/scripts/steps/functional/uptime_plugin.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.i18nrc.json\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/formatted_message_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts\r\n./packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/deeplinks/observability/jest.config.js\r\n./src/plugins/guided_onboarding/README.md\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/private/kbn-infra-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/jest.config.js\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh\r\n./x-pack/platform/packages/shared/kbn-slo-schema/jest.config.js\r\n./x-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js\r\n./x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md\r\n./x-pack/plugins/observability_solution/slo/dev_docs/slo.md\r\n./x-pack/plugins/observability_solution/uptime/.buildkite/pipelines/flaky.sh\r\n./x-pack/plugins/observability_solution/uptime/README.md\r\n./x-pack/plugins/observability_solution/uptime/e2e/README.md\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./x-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js\r\n./x-pack/solutions/observability/packages/synthetics_test_data/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/e2e/README.md\r\n./x-pack/solutions/observability/plugins/exploratory_view/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate/jest.config.js\r\n./x-pack/solutions/observability/plugins/investigate_app/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/jest.config.js\r\n./x-pack/solutions/observability/plugins/slo/docs/openapi/slo/README.md\r\n./x-pack/solutions/observability/plugins/slo/jest.config.js\r\n./x-pack/solutions/observability/plugins/synthetics/.buildkite/pipelines/flaky.sh\r\n./x-pack/solutions/observability/plugins/synthetics/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/e2e/README.md\r\n./x-pack/solutions/observability/plugins/synthetics/jest.config.js\r\n./x-pack/solutions/observability/plugins/uptime/e2e/README.md\r\n./x-pack/solutions/observability/plugins/uptime/jest.config.js\r\n./yarn.lock\r\n```\r\n</details>\r\n<details>\r\n<summary>Updated
relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/deeplinks/observability/jest.config.js:12\r\nsrc/platform/packages/shared/deeplinks/observability/tsconfig.json:2\r\nx-pack/platform/packages/private/kbn-infra-forge/jest.config.js:10\r\nx-pack/platform/packages/private/kbn-infra-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-data-forge/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_hosts/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_logs/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generate.sh:3\r\nx-pack/platform/packages/shared/kbn-data-forge/tsconfig.json:2\r\nx-pack/platform/packages/shared/kbn-slo-schema/jest.config.js:10\r\nx-pack/platform/packages/shared/kbn-slo-schema/tsconfig.json:2\r\nx-pack/platform/packages/shared/observability/alerting_rule_utils/jest.config.js:10\r\nx-pack/platform/packages/shared/observability/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\nx-pack/solutions/observability/packages/kbn-investigation-shared/jest.config.js:12\r\nx-pack/solutions/observability/packages/kbn-investigation-shared/tsconfig.json:2\r\nx-pack/solutions/observability/packages/synthetics_test_data/jest.config.js:10\r\nx-pack/solutions/observability/packages/synthetics_test_data/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/README.md:13\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:28\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts:33\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/exploratory_view/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/jest.config.js:10\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:116\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:156\r\nx-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/README.md:161\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/exploratory_view/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/investigate/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/investigate_app/jest.config.js:10\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/investigate_app/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:10\r\nx-pack/solutions/observability/plugins/observability/dev_docs/custom_threshold.md:36\r\nx-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nx-pack/solutions/observability/plugins/observability/jest.config.js:10\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:8\r\nx-pack/solutions/observability/plugins/serverless_observability/package.json:9\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/serverless_observability/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/dev_docs/slo.md:11\r\nx-pack/solutions/observability/plugins/slo/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/slo/jest.config.js:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:10\r\nx-pack/solutions/observability/plugins/slo/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/synthetics/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/synthetics/jest.config.js:10\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:12\r\nx-pack/solutions/observability/plugins/synthetics/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\nx-pack/solutions/observability/plugins/uptime/e2e/tasks/read_kibana_config.ts:15\r\nx-pack/solutions/observability/plugins/uptime/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/uptime/jest.config.js:10\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:13\r\nx-pack/solutions/observability/plugins/uptime/tsconfig.json:2\r\n```\r\n</details>\r\n<details>\r\n<summary>Script
errors</summary>\r\n\r\n```\r\nCannot replace multiple occurrences of
\"../../..\" in the same line, please fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/exploratory_view/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/observability/dev_docs/feature_flags.md:14\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/synthetics/e2e/tasks/es_archiver.ts:34\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:19\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:27\r\nCannot
replace multiple occurrences of \"../../../..\" in the same line, please
fix
manually:\t/Users/gsoldevila/Work/kibana-tertiary/x-pack/solutions/observability/plugins/uptime/e2e/tasks/es_archiver.ts:34\r\n\r\n```\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5dee9994c9e619961ef896352de1ee8d56490f85"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <jk@elastic.co>
2024-12-16 10:49:47 -06:00
Tiago Costa
4c387ddf2e
refact(NA): .buildkite/pipelines/es_forward_v9.yml into 9_dot_0 2024-12-13 00:08:24 +00:00
Tiago Costa
7c867abae6
chore(NA): adds es forward v9 pipeline file (#204113)
Closes https://github.com/elastic/kibana-operations/issues/215 and
completes https://github.com/elastic/kibana/pull/204111

This PR adds the actual pipeline file that
https://github.com/elastic/kibana/pull/204111 should run.
2024-12-12 22:04:58 +00:00
Pierre Gayvallet
cfae193eaf
[8.x] GenAI FTR tests: switch to daily job (#203369) (#203454)
# Backport

This will backport the following commits from `main` to `8.x`:
- [GenAI FTR tests: switch to daily job
(#203369)](https://github.com/elastic/kibana/pull/203369)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2024-12-09T15:09:29Z","message":"GenAI
FTR tests: switch to daily job (#203369)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\nFollow-up of
https://github.com/elastic/kibana/pull/198000\r\n\r\nFix
https://github.com/elastic/kibana/issues/203205\r\nFix
https://github.com/elastic/kibana/issues/203062\r\n\r\n- Fix the problem
with the Gemini token count events \r\n- Unskip the test suite\r\n-
Remove the suite from the `on-merge` pipeline\r\n- Add a dedicated
pipeline to run the tests
daily","sha":"1f2a76a44bb6e339441e1ba10c861d5a2b7b9667","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","Team:AI
Infra","v8.18.0"],"number":203369,"url":"https://github.com/elastic/kibana/pull/203369","mergeCommit":{"message":"GenAI
FTR tests: switch to daily job (#203369)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\nFollow-up of
https://github.com/elastic/kibana/pull/198000\r\n\r\nFix
https://github.com/elastic/kibana/issues/203205\r\nFix
https://github.com/elastic/kibana/issues/203062\r\n\r\n- Fix the problem
with the Gemini token count events \r\n- Unskip the test suite\r\n-
Remove the suite from the `on-merge` pipeline\r\n- Add a dedicated
pipeline to run the tests
daily","sha":"1f2a76a44bb6e339441e1ba10c861d5a2b7b9667"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203369","number":203369,"mergeCommit":{"message":"GenAI
FTR tests: switch to daily job (#203369)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\nFollow-up of
https://github.com/elastic/kibana/pull/198000\r\n\r\nFix
https://github.com/elastic/kibana/issues/203205\r\nFix
https://github.com/elastic/kibana/issues/203062\r\n\r\n- Fix the problem
with the Gemini token count events \r\n- Unskip the test suite\r\n-
Remove the suite from the `on-merge` pipeline\r\n- Add a dedicated
pipeline to run the tests
daily","sha":"1f2a76a44bb6e339441e1ba10c861d5a2b7b9667"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-09 11:10:53 -06:00
Bharat Pasupula
da176d3c3f
[8.x] [Automatic Import] Add serverless availability cypress test (#202872) (#203207)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Automatic Import] Add serverless availability cypress test
(#202872)](https://github.com/elastic/kibana/pull/202872)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Bharat
Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-05T20:25:07Z","message":"[Automatic
Import] Add serverless availability cypress test
(#202872)","sha":"5145d76fb1159b7a574eafaacbcf57e51cf00273","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","v9.0.0","backport:prev-minor","Team:Security-Scalability","Feature:AutomaticImport"],"number":202872,"url":"https://github.com/elastic/kibana/pull/202872","mergeCommit":{"message":"[Automatic
Import] Add serverless availability cypress test
(#202872)","sha":"5145d76fb1159b7a574eafaacbcf57e51cf00273"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202872","number":202872,"mergeCommit":{"message":"[Automatic
Import] Add serverless availability cypress test
(#202872)","sha":"5145d76fb1159b7a574eafaacbcf57e51cf00273"}}]}]
BACKPORT-->
2024-12-06 12:19:44 +01:00
Pierre Gayvallet
4ffcaedaa9
[8.x] Add base FTR test coverage for inference APIs (#198000) (#202916)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Add base FTR test coverage for inference APIs
(#198000)](https://github.com/elastic/kibana/pull/198000)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2024-12-04T12:39:45Z","message":"Add
base FTR test coverage for inference APIs (#198000)\n\n##
Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR
introduces the first set of end to end integration test for
the\r\ninference APIs, and the tooling required to do so (see issue for
more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI
tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or
ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites`
label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh`
script to load GenAI connector\r\nconfiguration from vault when a
specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing`
package, which for now\r\nonly contains utilities to load the GenAI
connector configuration in FTR\r\ntests\r\n- Add FTR integration tests
for the `chatComplete` API of the\r\n`inference`
plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","Team:AI
Infra","v8.18.0","ci:all-gen-ai-suites"],"number":198000,"url":"https://github.com/elastic/kibana/pull/198000","mergeCommit":{"message":"Add
base FTR test coverage for inference APIs (#198000)\n\n##
Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR
introduces the first set of end to end integration test for
the\r\ninference APIs, and the tooling required to do so (see issue for
more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI
tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or
ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites`
label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh`
script to load GenAI connector\r\nconfiguration from vault when a
specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing`
package, which for now\r\nonly contains utilities to load the GenAI
connector configuration in FTR\r\ntests\r\n- Add FTR integration tests
for the `chatComplete` API of the\r\n`inference`
plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198000","number":198000,"mergeCommit":{"message":"Add
base FTR test coverage for inference APIs (#198000)\n\n##
Summary\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR
introduces the first set of end to end integration test for
the\r\ninference APIs, and the tooling required to do so (see issue for
more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI
tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or
ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites`
label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh`
script to load GenAI connector\r\nconfiguration from vault when a
specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing`
package, which for now\r\nonly contains utilities to load the GenAI
connector configuration in FTR\r\ntests\r\n- Add FTR integration tests
for the `chatComplete` API of the\r\n`inference`
plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-05 07:03:22 -06:00
Kibana Machine
316652648c
[8.x] [ci] Set disk size for artifact builds (#197663) (#201893)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Set disk size for artifact builds
(#197663)](https://github.com/elastic/kibana/pull/197663)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-11-26T23:35:57Z","message":"[ci]
Set disk size for artifact builds (#197663)\n\nDefines disk size for
artifact builds. This will be a no-op - the boot\r\ndisk size is >= the
definitions in this PR.\r\n\r\nA test run with the smaller boot disk can
be seen
in\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/248242. I
plan\r\non making further adjustments after the boot disk has been
promoted.","sha":"316efc71d67ed565b7b6aad2947cb380ac39db1b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:all-open"],"title":"[ci]
Set disk size for artifact
builds","number":197663,"url":"https://github.com/elastic/kibana/pull/197663","mergeCommit":{"message":"[ci]
Set disk size for artifact builds (#197663)\n\nDefines disk size for
artifact builds. This will be a no-op - the boot\r\ndisk size is >= the
definitions in this PR.\r\n\r\nA test run with the smaller boot disk can
be seen
in\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/248242. I
plan\r\non making further adjustments after the boot disk has been
promoted.","sha":"316efc71d67ed565b7b6aad2947cb380ac39db1b"}},"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/197663","number":197663,"mergeCommit":{"message":"[ci]
Set disk size for artifact builds (#197663)\n\nDefines disk size for
artifact builds. This will be a no-op - the boot\r\ndisk size is >= the
definitions in this PR.\r\n\r\nA test run with the smaller boot disk can
be seen
in\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/248242. I
plan\r\non making further adjustments after the boot disk has been
promoted.","sha":"316efc71d67ed565b7b6aad2947cb380ac39db1b"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2024-11-26 19:28:37 -06:00
Jon
d152212ddc
[8.x][ci] Remove plugin build (#197125) (#199380)
#197125
2024-11-25 08:18:35 -06:00
Kibana Machine
84a49c2c8e
[8.x] [Console] Automate console definitions (#200935) (#201234)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Console] Automate console definitions
(#200935)](https://github.com/elastic/kibana/pull/200935)

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

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2024-11-21T16:18:00Z","message":"[Console]
Automate console definitions
(#200935)","sha":"0b34bbf47f7478c473cc8b8ad60945fd0aa46cc8","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Console","Team:Kibana
Management","release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Console]
Automate console
definitions","number":200935,"url":"https://github.com/elastic/kibana/pull/200935","mergeCommit":{"message":"[Console]
Automate console definitions
(#200935)","sha":"0b34bbf47f7478c473cc8b8ad60945fd0aa46cc8"}},"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/200935","number":200935,"mergeCommit":{"message":"[Console]
Automate console definitions
(#200935)","sha":"0b34bbf47f7478c473cc8b8ad60945fd0aa46cc8"}}]}]
BACKPORT-->

Co-authored-by: Ignacio Rivas <rivasign@gmail.com>
2024-11-21 12:06:10 -06:00
Jean-Louis Leysens
f1755954ff
[8.x] [OAS] Publish OAS bundles to bump.sh (#197482) (#200135) 2024-11-20 10:16:01 +01:00
Kurt
ef4c6a7319
[8.x] Enabling Full FTR, Integration, and Unit tests to the FIPS Test Pipeline (#192632) (#200780)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Enabling Full FTR, Integration, and Unit tests to the FIPS Test
Pipeline (#192632)](https://github.com/elastic/kibana/pull/192632)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT
[{"author":{"name":"Kurt","email":"kc13greiner@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-19T13:31:47Z","message":"Enabling
Full FTR, Integration, and Unit tests to the FIPS Test Pipeline
(#192632)\n\n## Summary\r\n\r\nCloses #192233 \r\n\r\nJust in time for
Thanksgiving - a full buffet of FIPS testing fixes\r\n\r\nUsage of
non-compliant algorithms manifest as runtime errors, so it
is\r\nimperative that we attempt to run all tests possible with Kibana
in FIPS\r\nmode. However, several overrides are needed to run Kibana in
FIPS mode,\r\nresulting in setup that make it impossible to
run.\r\n\r\n## In this PR\r\n\r\n- Enable Unit tests for FIPS
pipeline\r\n- Enable Integration Tests for FIPS pipeline\r\n- Enable
Full FTR suite for FIPS pipeline (smoke test had originally run\r\na
subset)\r\n- Skip tests that break with overrides\r\n- Fix/change tests
to work in FIPS mode to maximize coverage\r\n- Examine necessity of MD5
when installing from source (TBD based Ops PR\r\nfeed back, see self
review below)\r\n- Remove md5 from es_file_client options\r\n\r\n##
Latest Successful FIPS Test
Run\r\n\r\nhttps://buildkite.com/elastic/kibana-fips/builds/268\r\n\r\n---------\r\n\r\nCo-authored-by:
Brad White <Ikuni17@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Aleh Zasypkin <aleh.zasypkin@gmail.com>\r\nCo-authored-by: Larry Gregory
<larry.gregory@elastic.co>","sha":"ac0b0b4f05876f1c66f5b4fde7965a1955b90ec0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","ci:build-docker-fips","backport:version","v8.17.0"],"number":192632,"url":"https://github.com/elastic/kibana/pull/192632","mergeCommit":{"message":"Enabling
Full FTR, Integration, and Unit tests to the FIPS Test Pipeline
(#192632)\n\n## Summary\r\n\r\nCloses #192233 \r\n\r\nJust in time for
Thanksgiving - a full buffet of FIPS testing fixes\r\n\r\nUsage of
non-compliant algorithms manifest as runtime errors, so it
is\r\nimperative that we attempt to run all tests possible with Kibana
in FIPS\r\nmode. However, several overrides are needed to run Kibana in
FIPS mode,\r\nresulting in setup that make it impossible to
run.\r\n\r\n## In this PR\r\n\r\n- Enable Unit tests for FIPS
pipeline\r\n- Enable Integration Tests for FIPS pipeline\r\n- Enable
Full FTR suite for FIPS pipeline (smoke test had originally run\r\na
subset)\r\n- Skip tests that break with overrides\r\n- Fix/change tests
to work in FIPS mode to maximize coverage\r\n- Examine necessity of MD5
when installing from source (TBD based Ops PR\r\nfeed back, see self
review below)\r\n- Remove md5 from es_file_client options\r\n\r\n##
Latest Successful FIPS Test
Run\r\n\r\nhttps://buildkite.com/elastic/kibana-fips/builds/268\r\n\r\n---------\r\n\r\nCo-authored-by:
Brad White <Ikuni17@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Aleh Zasypkin <aleh.zasypkin@gmail.com>\r\nCo-authored-by: Larry Gregory
<larry.gregory@elastic.co>","sha":"ac0b0b4f05876f1c66f5b4fde7965a1955b90ec0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192632","number":192632,"mergeCommit":{"message":"Enabling
Full FTR, Integration, and Unit tests to the FIPS Test Pipeline
(#192632)\n\n## Summary\r\n\r\nCloses #192233 \r\n\r\nJust in time for
Thanksgiving - a full buffet of FIPS testing fixes\r\n\r\nUsage of
non-compliant algorithms manifest as runtime errors, so it
is\r\nimperative that we attempt to run all tests possible with Kibana
in FIPS\r\nmode. However, several overrides are needed to run Kibana in
FIPS mode,\r\nresulting in setup that make it impossible to
run.\r\n\r\n## In this PR\r\n\r\n- Enable Unit tests for FIPS
pipeline\r\n- Enable Integration Tests for FIPS pipeline\r\n- Enable
Full FTR suite for FIPS pipeline (smoke test had originally run\r\na
subset)\r\n- Skip tests that break with overrides\r\n- Fix/change tests
to work in FIPS mode to maximize coverage\r\n- Examine necessity of MD5
when installing from source (TBD based Ops PR\r\nfeed back, see self
review below)\r\n- Remove md5 from es_file_client options\r\n\r\n##
Latest Successful FIPS Test
Run\r\n\r\nhttps://buildkite.com/elastic/kibana-fips/builds/268\r\n\r\n---------\r\n\r\nCo-authored-by:
Brad White <Ikuni17@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Aleh Zasypkin <aleh.zasypkin@gmail.com>\r\nCo-authored-by: Larry Gregory
<larry.gregory@elastic.co>","sha":"ac0b0b4f05876f1c66f5b4fde7965a1955b90ec0"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-11-19 13:03:12 -06:00
Kibana Machine
61ef9fda67
[8.x] Fix tests (#199469) (#199543)
# Backport

This will backport the following commits from `main` to `8.x`:
 - [Fix tests (#199469)](https://github.com/elastic/kibana/pull/199469)

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

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

<!--BACKPORT [{"author":{"name":"Khristinin
Nikita","email":"nikita.khristinin@elastic.co"},"sourceCommit":{"committedDate":"2024-11-08T19:41:59Z","message":"Fix
tests (#199469)\n\n## Fix the link for test command in the MKT
tests\r\n\r\nJust change tests to be similar what we have in periodic
pipeline\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"79a9c3989ee7af6c0e7c4e7c407624956223ce4c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.17.0"],"title":"Fix
tests","number":199469,"url":"https://github.com/elastic/kibana/pull/199469","mergeCommit":{"message":"Fix
tests (#199469)\n\n## Fix the link for test command in the MKT
tests\r\n\r\nJust change tests to be similar what we have in periodic
pipeline\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"79a9c3989ee7af6c0e7c4e7c407624956223ce4c"}},"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/199469","number":199469,"mergeCommit":{"message":"Fix
tests (#199469)\n\n## Fix the link for test command in the MKT
tests\r\n\r\nJust change tests to be similar what we have in periodic
pipeline\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"79a9c3989ee7af6c0e7c4e7c407624956223ce4c"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Khristinin Nikita <nikita.khristinin@elastic.co>
2024-11-08 15:29:13 -06:00
Kibana Machine
43e8c02f7a
[8.x] Fix yml config for MKI pipeline (#199422) (#199450)
# Backport

This will backport the following commits from `main` to `8.x`:
- [Fix yml config for MKI pipeline
(#199422)](https://github.com/elastic/kibana/pull/199422)

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

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

<!--BACKPORT [{"author":{"name":"Khristinin
Nikita","email":"nikita.khristinin@elastic.co"},"sourceCommit":{"committedDate":"2024-11-08T10:48:37Z","message":"Fix
yml config for MKI pipeline (#199422)\n\n## Summary\r\n\r\nthis config
isn't valid, and MKI pipeline is failing, as it can't
parse\r\nit.","sha":"fee03b6c8dc86deb35a80f7c5606f38e823af384","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.17.0"],"title":"Fix
yml config for MKI
pipeline","number":199422,"url":"https://github.com/elastic/kibana/pull/199422","mergeCommit":{"message":"Fix
yml config for MKI pipeline (#199422)\n\n## Summary\r\n\r\nthis config
isn't valid, and MKI pipeline is failing, as it can't
parse\r\nit.","sha":"fee03b6c8dc86deb35a80f7c5606f38e823af384"}},"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/199422","number":199422,"mergeCommit":{"message":"Fix
yml config for MKI pipeline (#199422)\n\n## Summary\r\n\r\nthis config
isn't valid, and MKI pipeline is failing, as it can't
parse\r\nit.","sha":"fee03b6c8dc86deb35a80f7c5606f38e823af384"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Khristinin Nikita <nikita.khristinin@elastic.co>
2024-11-08 06:33:45 -06:00
Jonathan Budzenski
2c4f352902 [ci] Remove defend workflows on serverless
These shouldn't be running on 8.x
2024-11-07 09:43:04 -06:00
Ash
feab4ef51b
[8.x] [Security Solution] Removing cypress folder (#197273) (#199260)
> [!Warning]
> `.github/CODEOWNERS` and
`.buildkite/pipelines/pull_request/security_solution/defend_workflows.yml`
were updated as part of merge conflicts so would need a thorough review.

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Removing cypress folder
(#197273)](https://github.com/elastic/kibana/pull/197273)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gloria
Hornero","email":"gloria.hornero@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T15:26:33Z","message":"[Security
Solution] Removing cypress folder (#197273)\n\n##
Summary\r\n\r\nDeleting the Cypress folder that was added in
`test_serverless` as a\r\nPOC.\r\n\r\nCurrently is not used and this can
create misunderstandings regarding\r\nownership of
it.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"86e6c74f7c39a512eaa43cc025434dc6a53d55f6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","Team:
SecuritySolution","v8.16.0","backport:version","v8.17.0"],"number":197273,"url":"https://github.com/elastic/kibana/pull/197273","mergeCommit":{"message":"[Security
Solution] Removing cypress folder (#197273)\n\n##
Summary\r\n\r\nDeleting the Cypress folder that was added in
`test_serverless` as a\r\nPOC.\r\n\r\nCurrently is not used and this can
create misunderstandings regarding\r\nownership of
it.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"86e6c74f7c39a512eaa43cc025434dc6a53d55f6"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197273","number":197273,"mergeCommit":{"message":"[Security
Solution] Removing cypress folder (#197273)\n\n##
Summary\r\n\r\nDeleting the Cypress folder that was added in
`test_serverless` as a\r\nPOC.\r\n\r\nCurrently is not used and this can
create misunderstandings regarding\r\nownership of
it.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"86e6c74f7c39a512eaa43cc025434dc6a53d55f6"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-07 04:16:34 -06:00
Kibana Machine
a4784f0a74
[8.x] [Detection Engine][FTR] Add FTR exception list tests for Serverless prebuilt roles (#198420) (#199192)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Detection Engine][FTR] Add FTR exception list tests for Serverless
prebuilt roles (#198420)](https://github.com/elastic/kibana/pull/198420)

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

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

<!--BACKPORT [{"author":{"name":"Yara
Tercero","email":"yctercero@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-06T17:38:01Z","message":"[Detection
Engine][FTR] Add FTR exception list tests for Serverless prebuilt roles
(#198420)\n\n## Summary\r\n\r\nAdds FTR tests that check our Serverless
prebuilt roles against our\r\nexception list endpoints.\r\n\r\nWe have
had little coverage or visibility to know if any changes made
in\r\nelasticsearch-controller introduce a bug in our prebuilt
roles.\r\n\r\nWe could certainly discuss how such tests should be
organized - I chose\r\nto create an `authentication` folder that then
has a matching folder for\r\nthe other sections and a file for each
prebuilt role. With us nearing\r\nGA, I'd like to prioritize having
coverage and following up with
any\r\nimprovements.","sha":"4c649d9f14d6631d23931fc0d32dc28017cbad38","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detection
Engine","backport:version","v8.17.0"],"title":"[Detection Engine][FTR]
Add FTR exception list tests for Serverless prebuilt
roles","number":198420,"url":"https://github.com/elastic/kibana/pull/198420","mergeCommit":{"message":"[Detection
Engine][FTR] Add FTR exception list tests for Serverless prebuilt roles
(#198420)\n\n## Summary\r\n\r\nAdds FTR tests that check our Serverless
prebuilt roles against our\r\nexception list endpoints.\r\n\r\nWe have
had little coverage or visibility to know if any changes made
in\r\nelasticsearch-controller introduce a bug in our prebuilt
roles.\r\n\r\nWe could certainly discuss how such tests should be
organized - I chose\r\nto create an `authentication` folder that then
has a matching folder for\r\nthe other sections and a file for each
prebuilt role. With us nearing\r\nGA, I'd like to prioritize having
coverage and following up with
any\r\nimprovements.","sha":"4c649d9f14d6631d23931fc0d32dc28017cbad38"}},"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/198420","number":198420,"mergeCommit":{"message":"[Detection
Engine][FTR] Add FTR exception list tests for Serverless prebuilt roles
(#198420)\n\n## Summary\r\n\r\nAdds FTR tests that check our Serverless
prebuilt roles against our\r\nexception list endpoints.\r\n\r\nWe have
had little coverage or visibility to know if any changes made
in\r\nelasticsearch-controller introduce a bug in our prebuilt
roles.\r\n\r\nWe could certainly discuss how such tests should be
organized - I chose\r\nto create an `authentication` folder that then
has a matching folder for\r\nthe other sections and a file for each
prebuilt role. With us nearing\r\nGA, I'd like to prioritize having
coverage and following up with
any\r\nimprovements.","sha":"4c649d9f14d6631d23931fc0d32dc28017cbad38"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2024-11-06 13:23:46 -06:00
Jon
564d392cd2
[8.x][ci] Run checks before tests (#198452) (#198848)
#198452
2024-11-05 12:22:30 -06:00
Jon
d4d8b981ea
[8.x][ci] Remove local SSDs (#198618) (#198858)
#198618
2024-11-05 09:15:24 -06:00
Kibana Machine
014478f2ca
[8.x] [Detection Engine][FTRs] Break down long running FTR groups and fix threshold preview bug (#197368) (#198419)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Detection Engine][FTRs] Break down long running FTR groups and fix
threshold preview bug
(#197368)](https://github.com/elastic/kibana/pull/197368)

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

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

<!--BACKPORT [{"author":{"name":"Yara
Tercero","email":"yctercero@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-30T17:44:09Z","message":"[Detection
Engine][FTRs] Break down long running FTR groups and fix threshold
preview bug (#197368)\n\n## Summary\r\n\r\nThis PR breaks down long
running FTR groups into smaller chunks that now\r\nrun in <~15 min.\r\n-
Addresses https://github.com/elastic/kibana/issues/192109\r\n- There is
no existing ticket but rule_execution group tests are taking\r\n~55m to
run and will soon be a bottle neck for us.\r\n- No edits made to any
existing tests.\r\n- Purely just a reshuffle of the tests.\r\n\r\nSee
https://github.com/elastic/kibana/issues/198209 for details on
bug.","sha":"cd1fafea15cc61797ead1796e9705bdad3350714","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Detection
Engine","backport:version","v8.17.0"],"title":"[Detection Engine][FTRs]
Break down long running FTR groups and fix threshold preview
bug","number":197368,"url":"https://github.com/elastic/kibana/pull/197368","mergeCommit":{"message":"[Detection
Engine][FTRs] Break down long running FTR groups and fix threshold
preview bug (#197368)\n\n## Summary\r\n\r\nThis PR breaks down long
running FTR groups into smaller chunks that now\r\nrun in <~15 min.\r\n-
Addresses https://github.com/elastic/kibana/issues/192109\r\n- There is
no existing ticket but rule_execution group tests are taking\r\n~55m to
run and will soon be a bottle neck for us.\r\n- No edits made to any
existing tests.\r\n- Purely just a reshuffle of the tests.\r\n\r\nSee
https://github.com/elastic/kibana/issues/198209 for details on
bug.","sha":"cd1fafea15cc61797ead1796e9705bdad3350714"}},"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/197368","number":197368,"mergeCommit":{"message":"[Detection
Engine][FTRs] Break down long running FTR groups and fix threshold
preview bug (#197368)\n\n## Summary\r\n\r\nThis PR breaks down long
running FTR groups into smaller chunks that now\r\nrun in <~15 min.\r\n-
Addresses https://github.com/elastic/kibana/issues/192109\r\n- There is
no existing ticket but rule_execution group tests are taking\r\n~55m to
run and will soon be a bottle neck for us.\r\n- No edits made to any
existing tests.\r\n- Purely just a reshuffle of the tests.\r\n\r\nSee
https://github.com/elastic/kibana/issues/198209 for details on
bug.","sha":"cd1fafea15cc61797ead1796e9705bdad3350714"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2024-10-31 18:54:48 -05:00
Jon
ab50ac7935
[8.x][ci] Run type checking before tests (#197539) (#198424)
#197539
2024-10-31 12:22:42 -05:00
Kibana Machine
1a25966472
[8.x] [ci] More resources for check oas snapshot (#198433) (#198436)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] More resources for check oas snapshot
(#198433)](https://github.com/elastic/kibana/pull/198433)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-10-30T19:16:58Z","message":"[ci]
More resources for check oas snapshot (#198433)\n\nThis step doesn't
have enough CPU/memory for the number of
processes\r\nrunning.","sha":"a0a4b422ad1d7ffa7cb34ba67ca86e08673598bf","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","skip-ci","backport:prev-minor"],"title":"[ci]
More resources for check oas
snapshot","number":198433,"url":"https://github.com/elastic/kibana/pull/198433","mergeCommit":{"message":"[ci]
More resources for check oas snapshot (#198433)\n\nThis step doesn't
have enough CPU/memory for the number of
processes\r\nrunning.","sha":"a0a4b422ad1d7ffa7cb34ba67ca86e08673598bf"}},"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/198433","number":198433,"mergeCommit":{"message":"[ci]
More resources for check oas snapshot (#198433)\n\nThis step doesn't
have enough CPU/memory for the number of
processes\r\nrunning.","sha":"a0a4b422ad1d7ffa7cb34ba67ca86e08673598bf"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
2024-10-30 17:22:40 -05:00
Jon
d3ccb92479
[8.x][ci] Run linting before tests (#197310) (#198096)
#197310
2024-10-29 16:59:24 -05:00
Tomasz Ciecierski
fc831f1c6a
[8.x] [EDR Workflows] Rename Osquery Serverless tests job name (#197588) (#197865)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[EDR Workflows] Rename Osquery Serverless tests job name
(#197588)](https://github.com/elastic/kibana/pull/197588)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"tomasz.ciecierski@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T15:29:32Z","message":"[EDR
Workflows] Rename Osquery Serverless tests job name
(#197588)","sha":"d03018ce6c855814731693cbf39e98d7eccb4339","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","Team:Defend
Workflows","backport:version","v8.17.0"],"number":197588,"url":"https://github.com/elastic/kibana/pull/197588","mergeCommit":{"message":"[EDR
Workflows] Rename Osquery Serverless tests job name
(#197588)","sha":"d03018ce6c855814731693cbf39e98d7eccb4339"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197588","number":197588,"mergeCommit":{"message":"[EDR
Workflows] Rename Osquery Serverless tests job name
(#197588)","sha":"d03018ce6c855814731693cbf39e98d7eccb4339"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-10-25 17:04:34 -07:00
Alex Szabo
4695fb5af5
[8.x] [ci] Extract OAS check + add retry (#196534) (#196799)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Extract OAS check + add retry
(#196534)](https://github.com/elastic/kibana/pull/196534)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2024-10-17T13:03:28Z","message":"[ci]
Extract OAS check + add retry (#196534)\n\n## Summary\r\nIn the past
months, the capture OAS snapshot step has been quite flaky,\r\nbreaking
the `Checks` step, and thus breaking the `on-merge` jobs.\r\n\r\nThis PR
extracts the check to its own step and adds retries. The\r\nseparate
step is ideal because it is quite heavy compared to the other\r\nchecks
(we fire up ES + Kibana for the OAS snapshot).\r\n\r\nAlso, this PR
removes the `Checks` step altogether from
the\r\nkibana-chrome-forward-testing pipeline, as the Chrome versions
used do\r\nnot affect that aspect.\r\n\r\nThis test run includes a retry
within the Capture OAS Snapshot
step:\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/243187#01929612-dac7-4584-b440-120ea3fea7ea","sha":"2fbc843e0d6925a63e9bafdcab38ba7dffac1402","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"number":196534,"url":"https://github.com/elastic/kibana/pull/196534","mergeCommit":{"message":"[ci]
Extract OAS check + add retry (#196534)\n\n## Summary\r\nIn the past
months, the capture OAS snapshot step has been quite flaky,\r\nbreaking
the `Checks` step, and thus breaking the `on-merge` jobs.\r\n\r\nThis PR
extracts the check to its own step and adds retries. The\r\nseparate
step is ideal because it is quite heavy compared to the other\r\nchecks
(we fire up ES + Kibana for the OAS snapshot).\r\n\r\nAlso, this PR
removes the `Checks` step altogether from
the\r\nkibana-chrome-forward-testing pipeline, as the Chrome versions
used do\r\nnot affect that aspect.\r\n\r\nThis test run includes a retry
within the Capture OAS Snapshot
step:\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/243187#01929612-dac7-4584-b440-120ea3fea7ea","sha":"2fbc843e0d6925a63e9bafdcab38ba7dffac1402"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196534","number":196534,"mergeCommit":{"message":"[ci]
Extract OAS check + add retry (#196534)\n\n## Summary\r\nIn the past
months, the capture OAS snapshot step has been quite flaky,\r\nbreaking
the `Checks` step, and thus breaking the `on-merge` jobs.\r\n\r\nThis PR
extracts the check to its own step and adds retries. The\r\nseparate
step is ideal because it is quite heavy compared to the other\r\nchecks
(we fire up ES + Kibana for the OAS snapshot).\r\n\r\nAlso, this PR
removes the `Checks` step altogether from
the\r\nkibana-chrome-forward-testing pipeline, as the Chrome versions
used do\r\nnot affect that aspect.\r\n\r\nThis test run includes a retry
within the Capture OAS Snapshot
step:\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/243187#01929612-dac7-4584-b440-120ea3fea7ea","sha":"2fbc843e0d6925a63e9bafdcab38ba7dffac1402"}}]}]
BACKPORT-->
2024-10-25 13:09:49 -05:00