Commit graph

47815 commits

Author SHA1 Message Date
Alejandro Fernández Haro
802943afe9
Rebase archive to 7.last data structure (#191174)
Resolves #191123.
2024-08-23 08:13:49 -05:00
Larry Gregory
822a8412c4
[7.17] [ironbank] Upgrade to ubi 9.4 (#182738) (#191126)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[ironbank] Upgrade to ubi 9.4
(#182738)](https://github.com/elastic/kibana/pull/182738)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-05-06T19:51:27Z","message":"[ironbank]
Upgrade to ubi 9.4
(#182738)","sha":"56a22661dd450f841c0aee0edeabb1005f0382d7","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","v8.14.0","v8.15.0"],"number":182738,"url":"https://github.com/elastic/kibana/pull/182738","mergeCommit":{"message":"[ironbank]
Upgrade to ubi 9.4
(#182738)","sha":"56a22661dd450f841c0aee0edeabb1005f0382d7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/182750","number":182750,"state":"MERGED","mergeCommit":{"sha":"df9a04509b5aaae80942441c732aa2366c7aea04","message":"[8.14]
[ironbank] Upgrade to ubi 9.4 (#182738) (#182750)\n\n# Backport\n\nThis
will backport the following commits from `main` to `8.14`:\n-
[[ironbank] Upgrade to ubi
9.4\n(#182738)](https://github.com/elastic/kibana/pull/182738)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT\n[{\"author\":{\"name\":\"Jon\",\"email\":\"jon@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-05-06T19:51:27Z\",\"message\":\"[ironbank]\nUpgrade
to ubi
9.4\n(#182738)\",\"sha\":\"56a22661dd450f841c0aee0edeabb1005f0382d7\",\"branchLabelMapping\":{\"^v8.15.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"Team:Operations\",\"release_note:skip\",\"backport:prev-minor\",\"v8.15.0\"],\"title\":\"[ironbank]\nUpgrade
to
ubi\n9.4\",\"number\":182738,\"url\":\"https://github.com/elastic/kibana/pull/182738\",\"mergeCommit\":{\"message\":\"[ironbank]\nUpgrade
to ubi
9.4\n(#182738)\",\"sha\":\"56a22661dd450f841c0aee0edeabb1005f0382d7\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.15.0\",\"branchLabelMappingKey\":\"^v8.15.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/182738\",\"number\":182738,\"mergeCommit\":{\"message\":\"[ironbank]\nUpgrade
to ubi
9.4\n(#182738)\",\"sha\":\"56a22661dd450f841c0aee0edeabb1005f0382d7\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Jon
<jon@elastic.co>"}},{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182738","number":182738,"mergeCommit":{"message":"[ironbank]
Upgrade to ubi 9.4
(#182738)","sha":"56a22661dd450f841c0aee0edeabb1005f0382d7"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-08-22 16:32:40 -05:00
Jonathan Budzenski
b6caa06758 skip failing test suite (#191123) 2024-08-22 12:46:44 -05:00
Eyo O. Eyo
07cfc46eda
[Screenshotting/7.17] Server package for stateless code (#190950)
Corresponds with https://github.com/elastic/kibana/pull/188390, branched
from https://github.com/elastic/kibana/pull/189326

<!--
### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

-->

---------

Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-08-22 06:28:45 -05:00
Kurt
901f9c85e0
[7.17] Changing load/dump in source files (#190641) (#190992)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Changing load/dump in source files
(#190641)](https://github.com/elastic/kibana/pull/190641)

<!--- 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-08-21T11:29:36Z","message":"Changing
load/dump in source files (#190641)\n\n## Summary\r\n\r\nUpdates usage
of `js-yaml` `load` and `dump` to `safeLoad` and\r\n`safeDump`, in
preparation for a major version update of dependency,\r\nwhere the
default behavior will be that of the safe function
variants.\r\n\r\n\r\n## Note to reviewers\r\n`safeDump` will throw if it
encounters invalid types (e.g. `undefined`),\r\nwhereas the `dump`
function will still write the file including the\r\ninvalid types. This
may have an affect within your use cases - if\r\nthrowing is not
acceptable or is unhandled. To avoid this the\r\n`skipInvalid` option
can be used
(see\r\nhttps://github.com/nodeca/js-yaml#dump-object---options-) - this
will\r\nwrite the file, stripping out any invalid types from the
input.\r\n\r\nPlease consider this when reviewing the changes to your
code. If the\r\n`skipInvalid` option is needed, please add it, or let us
know to make\r\nthe change.\r\n\r\n---------\r\n\r\nCo-authored-by: Sid
<siddharthmantri1@gmail.com>\r\nCo-authored-by: “jeramysoucy”
<jeramy.soucy@elastic.co>\r\nCo-authored-by: Elena Shostak
<elena.shostak@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maxim Palenov
<maxim.palenov@elastic.co>","sha":"bcc46b60e99ddb3c86f64f794296405064334335","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","ci:project-deploy-observability","Team:obs-ux-infra_services","risk","v8.16.0","v8.15.1"],"number":190641,"url":"https://github.com/elastic/kibana/pull/190641","mergeCommit":{"message":"Changing
load/dump in source files (#190641)\n\n## Summary\r\n\r\nUpdates usage
of `js-yaml` `load` and `dump` to `safeLoad` and\r\n`safeDump`, in
preparation for a major version update of dependency,\r\nwhere the
default behavior will be that of the safe function
variants.\r\n\r\n\r\n## Note to reviewers\r\n`safeDump` will throw if it
encounters invalid types (e.g. `undefined`),\r\nwhereas the `dump`
function will still write the file including the\r\ninvalid types. This
may have an affect within your use cases - if\r\nthrowing is not
acceptable or is unhandled. To avoid this the\r\n`skipInvalid` option
can be used
(see\r\nhttps://github.com/nodeca/js-yaml#dump-object---options-) - this
will\r\nwrite the file, stripping out any invalid types from the
input.\r\n\r\nPlease consider this when reviewing the changes to your
code. If the\r\n`skipInvalid` option is needed, please add it, or let us
know to make\r\nthe change.\r\n\r\n---------\r\n\r\nCo-authored-by: Sid
<siddharthmantri1@gmail.com>\r\nCo-authored-by: “jeramysoucy”
<jeramy.soucy@elastic.co>\r\nCo-authored-by: Elena Shostak
<elena.shostak@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maxim Palenov
<maxim.palenov@elastic.co>","sha":"bcc46b60e99ddb3c86f64f794296405064334335"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190641","number":190641,"mergeCommit":{"message":"Changing
load/dump in source files (#190641)\n\n## Summary\r\n\r\nUpdates usage
of `js-yaml` `load` and `dump` to `safeLoad` and\r\n`safeDump`, in
preparation for a major version update of dependency,\r\nwhere the
default behavior will be that of the safe function
variants.\r\n\r\n\r\n## Note to reviewers\r\n`safeDump` will throw if it
encounters invalid types (e.g. `undefined`),\r\nwhereas the `dump`
function will still write the file including the\r\ninvalid types. This
may have an affect within your use cases - if\r\nthrowing is not
acceptable or is unhandled. To avoid this the\r\n`skipInvalid` option
can be used
(see\r\nhttps://github.com/nodeca/js-yaml#dump-object---options-) - this
will\r\nwrite the file, stripping out any invalid types from the
input.\r\n\r\nPlease consider this when reviewing the changes to your
code. If the\r\n`skipInvalid` option is needed, please add it, or let us
know to make\r\nthe change.\r\n\r\n---------\r\n\r\nCo-authored-by: Sid
<siddharthmantri1@gmail.com>\r\nCo-authored-by: “jeramysoucy”
<jeramy.soucy@elastic.co>\r\nCo-authored-by: Elena Shostak
<elena.shostak@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maxim Palenov
<maxim.palenov@elastic.co>","sha":"bcc46b60e99ddb3c86f64f794296405064334335"}},{"branch":"8.15","label":"v8.15.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-08-22 09:26:54 +02:00
Jon
df4deb26f2
[7.17] Update ftr (main) (#190849) (#190863)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-08-21 12:30:39 -05:00
Kibana Machine
30316018f9
[7.17] Add platform security team to hardening_manifest (#190827) (#190850)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Add platform security team to hardening_manifest
(#190827)](https://github.com/elastic/kibana/pull/190827)

<!--- 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-08-20T18:34:49Z","message":"Add
platform security team to hardening_manifest (#190827)\n\n##
Summary\r\n\r\nAdds platform security team to
`hardening_manifest`","sha":"5cb655a090b00d42b03a0b779c38bd03b13120ad","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","v8.16.0"],"title":"Add
platform security team to
hardening_manifest","number":190827,"url":"https://github.com/elastic/kibana/pull/190827","mergeCommit":{"message":"Add
platform security team to hardening_manifest (#190827)\n\n##
Summary\r\n\r\nAdds platform security team to
`hardening_manifest`","sha":"5cb655a090b00d42b03a0b779c38bd03b13120ad"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190827","number":190827,"mergeCommit":{"message":"Add
platform security team to hardening_manifest (#190827)\n\n##
Summary\r\n\r\nAdds platform security team to
`hardening_manifest`","sha":"5cb655a090b00d42b03a0b779c38bd03b13120ad"}}]}]
BACKPORT-->

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2024-08-20 16:35:42 -05:00
Alejandro Fernández Haro
76109cd850
[7.17] Wait between instances, but not after the last one (#190679) (#190702)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Wait between instances, but not after the last one
(#190679)](https://github.com/elastic/kibana/pull/190679)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2024-08-19T12:46:15Z","message":"Wait
between instances, but not after the last one
(#190679)","sha":"965b0a675d537f3a83dcf7eaa6153a33af1b62f4","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:all-open","v8.16.0"],"number":190679,"url":"https://github.com/elastic/kibana/pull/190679","mergeCommit":{"message":"Wait
between instances, but not after the last one
(#190679)","sha":"965b0a675d537f3a83dcf7eaa6153a33af1b62f4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190679","number":190679,"mergeCommit":{"message":"Wait
between instances, but not after the last one
(#190679)","sha":"965b0a675d537f3a83dcf7eaa6153a33af1b62f4"}},{"url":"https://github.com/elastic/kibana/pull/190694","number":190694,"branch":"8.15","state":"OPEN"}]}]
BACKPORT-->

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-08-19 22:38:13 -05:00
Kibana Machine
6fdbe03f65
[7.17] Upgrade elliptic from 6.5.4 to 6.5.7 (#190558) (#190594)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Upgrade elliptic from 6.5.4 to 6.5.7
(#190558)](https://github.com/elastic/kibana/pull/190558)

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

### 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-08-15T12:03:57Z","message":"Upgrade
elliptic from 6.5.4 to 6.5.7 (#190558)\n\n## Summary\r\n\r\nUpgrade
elliptic from 6.5.4 to 6.5.7\r\n\r\nCompare
https://github.com/indutny/elliptic/compare/v6.5.4...v6.5.7","sha":"9a3e1b97afcab00b976245717d45224f69f588ec","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","backport:all-open","v8.16.0","v8.15.1"],"title":"Upgrade
elliptic from 6.5.4 to
6.5.7","number":190558,"url":"https://github.com/elastic/kibana/pull/190558","mergeCommit":{"message":"Upgrade
elliptic from 6.5.4 to 6.5.7 (#190558)\n\n## Summary\r\n\r\nUpgrade
elliptic from 6.5.4 to 6.5.7\r\n\r\nCompare
https://github.com/indutny/elliptic/compare/v6.5.4...v6.5.7","sha":"9a3e1b97afcab00b976245717d45224f69f588ec"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190558","number":190558,"mergeCommit":{"message":"Upgrade
elliptic from 6.5.4 to 6.5.7 (#190558)\n\n## Summary\r\n\r\nUpgrade
elliptic from 6.5.4 to 6.5.7\r\n\r\nCompare
https://github.com/indutny/elliptic/compare/v6.5.4...v6.5.7","sha":"9a3e1b97afcab00b976245717d45224f69f588ec"}},{"branch":"8.15","label":"v8.15.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2024-08-15 10:07:24 -05:00
Jon
24590fc111
[7.17] Update actions/checkout action to v4.1.7 (main) (#190439) (#190451)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-08-14 10:24:06 +02:00
Dominique Clarke
55b5b140e1
[Synthetics] remove full screenshots (#189911)
## Summary

We have not used full screenshot image data since early alpha versions
of Synthetics (pre 7.14.0), and there is no reason to _not_ use
screenshot blocks instead as they make far more efficient storage
performance.

### Release note
Removes support for Heartbeat browser monitor screenshots for lower
versions of Heartbeat. Please upgrade to Heartbeat 7.17.24 to continue
using Heartbeat browser monitor screenshots.

### Testing 
Screenshots are just for browser monitors, and browser monitors are in
Beta in 7.17.x and will never be moved to GA. I don't believe this
ticket needs additional testing beyond passing integration tests.
2024-08-08 20:51:25 -04:00
Alejandro Fernández Haro
c119b8751b
[7.17] Flaky #96947 (#190163) 2024-08-08 14:28:17 -05:00
Gerard Soldevila
68492d5027
[7.17] Fix unknown product test flaky behavior (#148616) (#190158)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Fix unknown product test flaky behavior
(#148616)](https://github.com/elastic/kibana/pull/148616)

<!--- 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":"2023-01-11T14:20:37Z","message":"Fix
unknown product test flaky behavior (#148616)\n\nFixes
https://github.com/elastic/kibana/issues/129754\r\n\r\nThe failing
integration test is querying the `/api/status` endpoint\r\nbefore Kibana
and ES are completely initialized, and thus, it is getting\r\na
_unavailable: Waiting for Elasticsearch_ instead of the
expected\r\n_critical_.\r\n\r\nThe proposed fix consists in awaiting a
few milliseconds, in order to\r\ngive the `debounceTime` operators
enough time to propagate the right\r\nstatus.\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9f39b785620fbc42e30aea774e875bb3048eb2ae","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","test-failure-flaky","backport:skip","v8.7.0"],"number":148616,"url":"https://github.com/elastic/kibana/pull/148616","mergeCommit":{"message":"Fix
unknown product test flaky behavior (#148616)\n\nFixes
https://github.com/elastic/kibana/issues/129754\r\n\r\nThe failing
integration test is querying the `/api/status` endpoint\r\nbefore Kibana
and ES are completely initialized, and thus, it is getting\r\na
_unavailable: Waiting for Elasticsearch_ instead of the
expected\r\n_critical_.\r\n\r\nThe proposed fix consists in awaiting a
few milliseconds, in order to\r\ngive the `debounceTime` operators
enough time to propagate the right\r\nstatus.\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9f39b785620fbc42e30aea774e875bb3048eb2ae"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148616","number":148616,"mergeCommit":{"message":"Fix
unknown product test flaky behavior (#148616)\n\nFixes
https://github.com/elastic/kibana/issues/129754\r\n\r\nThe failing
integration test is querying the `/api/status` endpoint\r\nbefore Kibana
and ES are completely initialized, and thus, it is getting\r\na
_unavailable: Waiting for Elasticsearch_ instead of the
expected\r\n_critical_.\r\n\r\nThe proposed fix consists in awaiting a
few milliseconds, in order to\r\ngive the `debounceTime` operators
enough time to propagate the right\r\nstatus.\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9f39b785620fbc42e30aea774e875bb3048eb2ae"}}]}]
BACKPORT-->
2024-08-08 13:40:54 -05:00
Eyo O. Eyo
330f6a05e6
[Reporting] update puppeteer to 22.13.1 (7.17.x) (#189614)
## Summary

Manual backport of https://github.com/elastic/kibana/pull/189485 update
for puppeteer, the following changeset updates puppeteer to version
`22.13.1`.

The chromium version required for this version of puppeteer is
`126.0.6478.182` from revision `1300313`, as such the chromium binary
included for windows and darwin platforms either match or were the
closest revision to the expectation. The linux headless binary was built
from commit `5b5d8292ddf182f8b2096fa665b473b6317906d5` of the same
revision.

<!-- ### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
-->
2024-08-05 12:39:27 -05:00
Brad White
675822d98a
[7.17] [CI] Add suggestion from #189316 (#189765) (#189826)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[CI] Add suggestion from #189316
(#189765)](https://github.com/elastic/kibana/pull/189765)

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

### 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-08-02T16:35:56Z","message":"[CI]
Add suggestion from #189316 (#189765)\n\n## Summary\r\n\r\nThis was just
a suggested change from #189316 which didn't get addressed\r\nbecause of
auto
merge.","sha":"f941ba4d6b60cee41c418140e21b677ca0972c71","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.16.0"],"number":189765,"url":"https://github.com/elastic/kibana/pull/189765","mergeCommit":{"message":"[CI]
Add suggestion from #189316 (#189765)\n\n## Summary\r\n\r\nThis was just
a suggested change from #189316 which didn't get addressed\r\nbecause of
auto
merge.","sha":"f941ba4d6b60cee41c418140e21b677ca0972c71"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189765","number":189765,"mergeCommit":{"message":"[CI]
Add suggestion from #189316 (#189765)\n\n## Summary\r\n\r\nThis was just
a suggested change from #189316 which didn't get addressed\r\nbecause of
auto
merge.","sha":"f941ba4d6b60cee41c418140e21b677ca0972c71"}},{"url":"https://github.com/elastic/kibana/pull/189824","number":189824,"branch":"8.15","state":"OPEN"}]}]
BACKPORT-->
2024-08-02 14:49:12 -05:00
Aleh Zasypkin
ca3c1db7bc
[7.17] Update dependency require-in-the-middle to ^7.4.0 (main) (#189749) (#189789)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Update dependency require-in-the-middle to ^7.4.0 (main)
(#189749)](https://github.com/elastic/kibana/pull/189749)

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

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

<!--BACKPORT
[{"author":{"name":"renovate[bot]","email":"29139614+renovate[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-08-02T10:45:23Z","message":"Update
dependency require-in-the-middle to ^7.4.0 (main)
(#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence
|\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://togithub.com/elastic/require-in-the-middle)\r\n|
[`^7.3.0`
->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle
(require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://togithub.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://togithub.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n-
Support hooking built-in Node.js loaded
via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded
in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://togithub.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR was generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View the\r\n[repository job
log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by:
Aleh Zasypkin
<aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","v8.16.0"],"number":189749,"url":"https://github.com/elastic/kibana/pull/189749","mergeCommit":{"message":"Update
dependency require-in-the-middle to ^7.4.0 (main)
(#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence
|\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://togithub.com/elastic/require-in-the-middle)\r\n|
[`^7.3.0`
->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle
(require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://togithub.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://togithub.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n-
Support hooking built-in Node.js loaded
via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded
in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://togithub.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR was generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View the\r\n[repository job
log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by:
Aleh Zasypkin
<aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189749","number":189749,"mergeCommit":{"message":"Update
dependency require-in-the-middle to ^7.4.0 (main)
(#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence
|\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://togithub.com/elastic/require-in-the-middle)\r\n|
[`^7.3.0`
->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle
(require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://togithub.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://togithub.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n-
Support hooking built-in Node.js loaded
via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded
in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://togithub.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR was generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View the\r\n[repository job
log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by:
Aleh Zasypkin
<aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05"}},{"url":"https://github.com/elastic/kibana/pull/189787","number":189787,"branch":"8.15","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-08-02 17:24:27 +02:00
Tiago Costa
d58ae7eabe
chore(NA): bump version to 7.17.24 (#189547)
Usually bump from 7.17.23 to 7.17.24
2024-08-01 18:46:41 +01:00
Kibana Machine
3b89fb9249
[7.17] Update dependency listr2 to ^8.2.3 (main) (#189233) (#189581)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Update dependency listr2 to ^8.2.3 (main)
(#189233)](https://github.com/elastic/kibana/pull/189233)

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

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

<!--BACKPORT
[{"author":{"name":"renovate[bot]","email":"29139614+renovate[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-07-30T22:19:34Z","message":"Update
dependency listr2 to ^8.2.3 (main)
(#189233)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|
[listr2](https://togithub.com/listr2/listr2) | [`^8.2.1`
->\r\n`^8.2.3`](https://renovatebot.com/diffs/npm/listr2/8.2.1/8.2.3)
|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/listr2/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/listr2/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/listr2/8.2.1/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/listr2/8.2.1/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>listr2/listr2
(listr2)</summary>\r\n\r\n###\r\n[`v8.2.3`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.2.3)\r\n\r\n[Compare\r\nSource](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.2...listr2@&#8203;8.2.3)\r\n\r\n####
listr2\r\n[8.2.3](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.2...listr2@&#8203;8.2.3)\r\n(2024-06-21)\r\n\r\n#####
Bug Fixes\r\n\r\n- **process-output:** trick inquirer and such to not
wrap on their
own\r\n([78b9a90](78b9a90af3))\r\n\r\n###\r\n[`v8.2.2`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.2.2)\r\n\r\n[Compare\r\nSource](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.1...listr2@&#8203;8.2.2)\r\n\r\n####
listr2\r\n[8.2.2](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.1...listr2@&#8203;8.2.2)\r\n(2024-06-19)\r\n\r\n#####
Bug Fixes\r\n\r\n- **deps:** update
dependencies\r\n([642d3f7](642d3f7c32))\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR was generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View the\r\n[repository job
log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by:
Brad White
<Ikuni17@users.noreply.github.com>","sha":"6c87925bcbe3524941308903d0c0dedf22a4f67d","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.16.0"],"title":"Update
dependency listr2 to ^8.2.3
(main)","number":189233,"url":"https://github.com/elastic/kibana/pull/189233","mergeCommit":{"message":"Update
dependency listr2 to ^8.2.3 (main)
(#189233)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|
[listr2](https://togithub.com/listr2/listr2) | [`^8.2.1`
->\r\n`^8.2.3`](https://renovatebot.com/diffs/npm/listr2/8.2.1/8.2.3)
|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/listr2/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/listr2/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/listr2/8.2.1/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/listr2/8.2.1/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>listr2/listr2
(listr2)</summary>\r\n\r\n###\r\n[`v8.2.3`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.2.3)\r\n\r\n[Compare\r\nSource](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.2...listr2@&#8203;8.2.3)\r\n\r\n####
listr2\r\n[8.2.3](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.2...listr2@&#8203;8.2.3)\r\n(2024-06-21)\r\n\r\n#####
Bug Fixes\r\n\r\n- **process-output:** trick inquirer and such to not
wrap on their
own\r\n([78b9a90](78b9a90af3))\r\n\r\n###\r\n[`v8.2.2`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.2.2)\r\n\r\n[Compare\r\nSource](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.1...listr2@&#8203;8.2.2)\r\n\r\n####
listr2\r\n[8.2.2](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.1...listr2@&#8203;8.2.2)\r\n(2024-06-19)\r\n\r\n#####
Bug Fixes\r\n\r\n- **deps:** update
dependencies\r\n([642d3f7](642d3f7c32))\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR was generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View the\r\n[repository job
log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by:
Brad White
<Ikuni17@users.noreply.github.com>","sha":"6c87925bcbe3524941308903d0c0dedf22a4f67d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189233","number":189233,"mergeCommit":{"message":"Update
dependency listr2 to ^8.2.3 (main)
(#189233)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis
PR contains the following updates:\r\n\r\n| Package | Change | Age |
Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|
[listr2](https://togithub.com/listr2/listr2) | [`^8.2.1`
->\r\n`^8.2.3`](https://renovatebot.com/diffs/npm/listr2/8.2.1/8.2.3)
|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/listr2/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/listr2/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/listr2/8.2.1/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/listr2/8.2.1/8.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>listr2/listr2
(listr2)</summary>\r\n\r\n###\r\n[`v8.2.3`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.2.3)\r\n\r\n[Compare\r\nSource](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.2...listr2@&#8203;8.2.3)\r\n\r\n####
listr2\r\n[8.2.3](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.2...listr2@&#8203;8.2.3)\r\n(2024-06-21)\r\n\r\n#####
Bug Fixes\r\n\r\n- **process-output:** trick inquirer and such to not
wrap on their
own\r\n([78b9a90](78b9a90af3))\r\n\r\n###\r\n[`v8.2.2`](https://togithub.com/listr2/listr2/releases/tag/listr2%408.2.2)\r\n\r\n[Compare\r\nSource](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.1...listr2@&#8203;8.2.2)\r\n\r\n####
listr2\r\n[8.2.2](https://togithub.com/listr2/listr2/compare/listr2@&#8203;8.2.1...listr2@&#8203;8.2.2)\r\n(2024-06-19)\r\n\r\n#####
Bug Fixes\r\n\r\n- **deps:** update
dependencies\r\n([642d3f7](642d3f7c32))\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR was generated by
[Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/).
View the\r\n[repository job
log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\nCo-authored-by:
renovate[bot]
<29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by:
Brad White
<Ikuni17@users.noreply.github.com>","sha":"6c87925bcbe3524941308903d0c0dedf22a4f67d"}}]}]
BACKPORT-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 20:21:08 -05:00
Kibana Machine
c675720ebd
[7.17] Change infra plugin feature name from Metrics to Infrastructure (#189432) (#189573)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Change infra plugin feature name from Metrics to Infrastructure
(#189432)](https://github.com/elastic/kibana/pull/189432)

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

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

<!--BACKPORT [{"author":{"name":"Nathan L
Smith","email":"nathan.smith@elastic.co"},"sourceCommit":{"committedDate":"2024-07-30T21:22:05Z","message":"Change
infra plugin feature name from Metrics to Infrastructure (#189432)\n\nIt
looks like this was missed in previous renaming updates.\r\n\r\nThis
makes it clearer when managing Kibana feature privileges
which\r\nfeatures it's talking
about.","sha":"9a7b92a272d6ddbe6f38c799d92b20404f4208bd","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:all-open","ci:project-deploy-observability","v8.15.0","v8.16.0"],"title":"Change
infra plugin feature name from Metrics to
Infrastructure","number":189432,"url":"https://github.com/elastic/kibana/pull/189432","mergeCommit":{"message":"Change
infra plugin feature name from Metrics to Infrastructure (#189432)\n\nIt
looks like this was missed in previous renaming updates.\r\n\r\nThis
makes it clearer when managing Kibana feature privileges
which\r\nfeatures it's talking
about.","sha":"9a7b92a272d6ddbe6f38c799d92b20404f4208bd"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189432","number":189432,"mergeCommit":{"message":"Change
infra plugin feature name from Metrics to Infrastructure (#189432)\n\nIt
looks like this was missed in previous renaming updates.\r\n\r\nThis
makes it clearer when managing Kibana feature privileges
which\r\nfeatures it's talking
about.","sha":"9a7b92a272d6ddbe6f38c799d92b20404f4208bd"}}]}]
BACKPORT-->

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2024-07-30 19:21:56 -05:00
Lisa Cawley
4b499d7e31
[DOCS] Add release notes for 7.17.23 (#189448)
## Summary

Adds release notes for Kibana 7.17.23

---------

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
2024-07-30 15:55:43 +00:00
Kibana Machine
89cafc519e skip failing test suite (#189078) 2024-07-24 16:57:56 +02:00
Jean-Louis Leysens
03fa04c95b
Fix invalid references test (#188754)
## Summary

Close https://github.com/elastic/kibana/issues/179977 🧟 🔫 

Trying this again, this time with a `retry.waitFor`. FTRs for this test
succeeded 25/25 flaky test runs with a failure for another SO management
FTR 🙈 , but this should fix this test for 7.17 branch.
2024-07-23 10:27:05 -05:00
Tiago Costa
d5315a3b41
[7.17] backport revert org wide pr bot #188771 (#188797)
This is a backport of https://github.com/elastic/kibana/pull/188771

---------

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2024-07-22 17:53:07 +01:00
Kibana Machine
faae6dadd0 skip failing test suite (#179977) 2024-07-22 18:30:42 +02:00
Gerard Soldevila
086906199c
[7.17] Migrations: Don't auto-create temp index (#158182) (#188646)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Migrations: Don't auto-create temp index
(#158182)](https://github.com/elastic/kibana/pull/158182)

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

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

<!--BACKPORT [{"author":{"name":"Rudolf
Meijering","email":"skaapgif@gmail.com"},"sourceCommit":{"committedDate":"2023-06-04T22:34:08Z","message":"Migrations:
Don't auto-create temp index (#158182)\n\n## Summary\r\n\r\nTry to
fix\r\nhttps://github.com/elastic/kibana/issues/156117#issuecomment-1557029863\r\n\r\n##
Release notes\r\nFixes a race condition that could cause intermittent
upgrade migration\r\nfailures when Kibana connects to a single node
Elasticsearch cluster.\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8e7e2632bbb5f2dfffe8ab6c2563e176c5d7cf6b","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Core","release_note:fix","Feature:Migrations","backport:prev-minor","backport:prev-MAJOR","v8.9.0","v8.8.1","v8.16.0"],"number":158182,"url":"https://github.com/elastic/kibana/pull/158182","mergeCommit":{"message":"Migrations:
Don't auto-create temp index (#158182)\n\n## Summary\r\n\r\nTry to
fix\r\nhttps://github.com/elastic/kibana/issues/156117#issuecomment-1557029863\r\n\r\n##
Release notes\r\nFixes a race condition that could cause intermittent
upgrade migration\r\nfailures when Kibana connects to a single node
Elasticsearch cluster.\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8e7e2632bbb5f2dfffe8ab6c2563e176c5d7cf6b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/158182","number":158182,"mergeCommit":{"message":"Migrations:
Don't auto-create temp index (#158182)\n\n## Summary\r\n\r\nTry to
fix\r\nhttps://github.com/elastic/kibana/issues/156117#issuecomment-1557029863\r\n\r\n##
Release notes\r\nFixes a race condition that could cause intermittent
upgrade migration\r\nfailures when Kibana connects to a single node
Elasticsearch cluster.\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8e7e2632bbb5f2dfffe8ab6c2563e176c5d7cf6b"}},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/158996","number":158996,"state":"MERGED","mergeCommit":{"sha":"46217b9129c9de9d7be064b6ad6d6f51897981e0","message":"[8.8]
Migrations: Don't auto-create temp index (#158182) (#158996)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.8`:\n- [Migrations: Don't auto-create temp
index\n(#158182)](https://github.com/elastic/kibana/pull/158182)\n\n<!---
Backport version: 8.9.7 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Rudolf\nMeijering\",\"email\":\"skaapgif@gmail.com\"},\"sourceCommit\":{\"committedDate\":\"2023-06-04T22:34:08Z\",\"message\":\"Migrations:\nDon't
auto-create temp index (#158182)\\n\\n## Summary\\r\\n\\r\\nTry
to\nfix\\r\\nhttps://github.com/elastic/kibana/issues/156117#issuecomment-1557029863\\r\\n\\r\\n##\nRelease
notes\\r\\nFixes a race condition that could cause intermittent\nupgrade
migration\\r\\nfailures when Kibana connects to a single
node\nElasticsearch cluster.\\r\\n\\r\\n### Checklist\\r\\n\\r\\nDelete
any items that\nare not applicable to this PR.\\r\\n\\r\\n- [ ] Any text
added
follows\n[EUI's\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\nuses\\r\\nsentence
case text and
includes\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\n[\n]\\r\\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\\r\\nwas\nadded
for features that require explanation or tutorials\\r\\n- [ ]
[Unit\nor\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most common scenarios\\r\\n- [ ] Any UI\ntouched
in this PR is usable by keyboard only (learn more\\r\\nabout\n[keyboard
accessibility](https://webaim.org/techniques/keyboard/))\\r\\n-\n[ ] Any
UI touched in this PR does not create any new axe\nfailures\\r\\n(run
axe
in\nbrowser:\\r\\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\\r\\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\\r\\n-\n[
] If a plugin configuration key changed, check if it needs
to\nbe\\r\\nallowlisted in the cloud and added to
the\n[docker\\r\\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\\r\\n-\n[
] This renders correctly on smaller devices using
a\nresponsive\\r\\nlayout. (You can test this
[in\nyour\\r\\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\\r\\n-\n[
] This was checked
for\n[cross-browser\\r\\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\\r\\n\\r\\n\\r\\n###\nRisk
Matrix\\r\\n\\r\\nDelete this section if it is not applicable to
this\nPR.\\r\\n\\r\\nBefore closing this PR, invite QA, stakeholders,
and other\ndevelopers to\\r\\nidentify risks that should be tested prior
to the\nchange/feature\\r\\nrelease.\\r\\n\\r\\nWhen forming the risk
matrix, consider\nsome of the following examples\\r\\nand how they may
potentially impact\nthe change:\\r\\n\\r\\n| Risk | Probability |
Severity |
Mitigation/Notes\n|\\r\\n\\r\\n|---------------------------|-------------|----------|-------------------------|\\r\\n|\nMultiple
Spaces&mdash;unexpected behavior in non-default Kibana\nSpace.\\r\\n|
Low | High | Integration tests will verify that all features\nare
still\\r\\nsupported in non-default Kibana Space and when user\nswitches
between\\r\\nspaces. |\\r\\n| Multiple
nodes&mdash;Elasticsearch\npolling might have race conditions\\r\\nwhen
multiple Kibana nodes are\npolling for the same tasks. | High |
Low\\r\\n| Tasks are idempotent, so\nexecuting them multiple times will
not result\\r\\nin logical error, but\nwill degrade performance. To test
for this case we\\r\\nadd plenty of unit\ntests around this logic and
document manual testing\\r\\nprocedure. |\\r\\n|\nCode should gracefully
handle cases when feature X or plugin Y\nare\\r\\ndisabled. | Medium |
High | Unit tests will verify that any\nfeature flag\\r\\nor plugin
combination still results in our service\noperational. |\\r\\n| [See
more
potential\nrisk\\r\\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n|\\r\\n\\r\\n\\r\\n###
For maintainers\\r\\n\\r\\n- [ ] This was checked for\nbreaking API
changes and
was\n[labeled\\r\\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\",\"sha\":\"8e7e2632bbb5f2dfffe8ab6c2563e176c5d7cf6b\",\"branchLabelMapping\":{\"^v8.9.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"Team:Core\",\"release_note:fix\",\"Feature:Migrations\",\"backport:prev-minor\",\"v8.9.0\"],\"number\":158182,\"url\":\"https://github.com/elastic/kibana/pull/158182\",\"mergeCommit\":{\"message\":\"Migrations:\nDon't
auto-create temp index (#158182)\\n\\n## Summary\\r\\n\\r\\nTry
to\nfix\\r\\nhttps://github.com/elastic/kibana/issues/156117#issuecomment-1557029863\\r\\n\\r\\n##\nRelease
notes\\r\\nFixes a race condition that could cause intermittent\nupgrade
migration\\r\\nfailures when Kibana connects to a single
node\nElasticsearch cluster.\\r\\n\\r\\n### Checklist\\r\\n\\r\\nDelete
any items that\nare not applicable to this PR.\\r\\n\\r\\n- [ ] Any text
added
follows\n[EUI's\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\nuses\\r\\nsentence
case text and
includes\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\n[\n]\\r\\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\\r\\nwas\nadded
for features that require explanation or tutorials\\r\\n- [ ]
[Unit\nor\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most common scenarios\\r\\n- [ ] Any UI\ntouched
in this PR is usable by keyboard only (learn more\\r\\nabout\n[keyboard
accessibility](https://webaim.org/techniques/keyboard/))\\r\\n-\n[ ] Any
UI touched in this PR does not create any new axe\nfailures\\r\\n(run
axe
in\nbrowser:\\r\\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\\r\\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\\r\\n-\n[
] If a plugin configuration key changed, check if it needs
to\nbe\\r\\nallowlisted in the cloud and added to
the\n[docker\\r\\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\\r\\n-\n[
] This renders correctly on smaller devices using
a\nresponsive\\r\\nlayout. (You can test this
[in\nyour\\r\\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\\r\\n-\n[
] This was checked
for\n[cross-browser\\r\\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\\r\\n\\r\\n\\r\\n###\nRisk
Matrix\\r\\n\\r\\nDelete this section if it is not applicable to
this\nPR.\\r\\n\\r\\nBefore closing this PR, invite QA, stakeholders,
and other\ndevelopers to\\r\\nidentify risks that should be tested prior
to the\nchange/feature\\r\\nrelease.\\r\\n\\r\\nWhen forming the risk
matrix, consider\nsome of the following examples\\r\\nand how they may
potentially impact\nthe change:\\r\\n\\r\\n| Risk | Probability |
Severity |
Mitigation/Notes\n|\\r\\n\\r\\n|---------------------------|-------------|----------|-------------------------|\\r\\n|\nMultiple
Spaces&mdash;unexpected behavior in non-default Kibana\nSpace.\\r\\n|
Low | High | Integration tests will verify that all features\nare
still\\r\\nsupported in non-default Kibana Space and when user\nswitches
between\\r\\nspaces. |\\r\\n| Multiple
nodes&mdash;Elasticsearch\npolling might have race conditions\\r\\nwhen
multiple Kibana nodes are\npolling for the same tasks. | High |
Low\\r\\n| Tasks are idempotent, so\nexecuting them multiple times will
not result\\r\\nin logical error, but\nwill degrade performance. To test
for this case we\\r\\nadd plenty of unit\ntests around this logic and
document manual testing\\r\\nprocedure. |\\r\\n|\nCode should gracefully
handle cases when feature X or plugin Y\nare\\r\\ndisabled. | Medium |
High | Unit tests will verify that any\nfeature flag\\r\\nor plugin
combination still results in our service\noperational. |\\r\\n| [See
more
potential\nrisk\\r\\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n|\\r\\n\\r\\n\\r\\n###
For maintainers\\r\\n\\r\\n- [ ] This was checked for\nbreaking API
changes and
was\n[labeled\\r\\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\",\"sha\":\"8e7e2632bbb5f2dfffe8ab6c2563e176c5d7cf6b\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.9.0\",\"labelRegex\":\"^v8.9.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/158182\",\"number\":158182,\"mergeCommit\":{\"message\":\"Migrations:\nDon't
auto-create temp index (#158182)\\n\\n## Summary\\r\\n\\r\\nTry
to\nfix\\r\\nhttps://github.com/elastic/kibana/issues/156117#issuecomment-1557029863\\r\\n\\r\\n##\nRelease
notes\\r\\nFixes a race condition that could cause intermittent\nupgrade
migration\\r\\nfailures when Kibana connects to a single
node\nElasticsearch cluster.\\r\\n\\r\\n### Checklist\\r\\n\\r\\nDelete
any items that\nare not applicable to this PR.\\r\\n\\r\\n- [ ] Any text
added
follows\n[EUI's\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\nuses\\r\\nsentence
case text and
includes\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\n[\n]\\r\\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\\r\\nwas\nadded
for features that require explanation or tutorials\\r\\n- [ ]
[Unit\nor\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most common scenarios\\r\\n- [ ] Any UI\ntouched
in this PR is usable by keyboard only (learn more\\r\\nabout\n[keyboard
accessibility](https://webaim.org/techniques/keyboard/))\\r\\n-\n[ ] Any
UI touched in this PR does not create any new axe\nfailures\\r\\n(run
axe
in\nbrowser:\\r\\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\\r\\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\\r\\n-\n[
] If a plugin configuration key changed, check if it needs
to\nbe\\r\\nallowlisted in the cloud and added to
the\n[docker\\r\\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\\r\\n-\n[
] This renders correctly on smaller devices using
a\nresponsive\\r\\nlayout. (You can test this
[in\nyour\\r\\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\\r\\n-\n[
] This was checked
for\n[cross-browser\\r\\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\\r\\n\\r\\n\\r\\n###\nRisk
Matrix\\r\\n\\r\\nDelete this section if it is not applicable to
this\nPR.\\r\\n\\r\\nBefore closing this PR, invite QA, stakeholders,
and other\ndevelopers to\\r\\nidentify risks that should be tested prior
to the\nchange/feature\\r\\nrelease.\\r\\n\\r\\nWhen forming the risk
matrix, consider\nsome of the following examples\\r\\nand how they may
potentially impact\nthe change:\\r\\n\\r\\n| Risk | Probability |
Severity |
Mitigation/Notes\n|\\r\\n\\r\\n|---------------------------|-------------|----------|-------------------------|\\r\\n|\nMultiple
Spaces&mdash;unexpected behavior in non-default Kibana\nSpace.\\r\\n|
Low | High | Integration tests will verify that all features\nare
still\\r\\nsupported in non-default Kibana Space and when user\nswitches
between\\r\\nspaces. |\\r\\n| Multiple
nodes&mdash;Elasticsearch\npolling might have race conditions\\r\\nwhen
multiple Kibana nodes are\npolling for the same tasks. | High |
Low\\r\\n| Tasks are idempotent, so\nexecuting them multiple times will
not result\\r\\nin logical error, but\nwill degrade performance. To test
for this case we\\r\\nadd plenty of unit\ntests around this logic and
document manual testing\\r\\nprocedure. |\\r\\n|\nCode should gracefully
handle cases when feature X or plugin Y\nare\\r\\ndisabled. | Medium |
High | Unit tests will verify that any\nfeature flag\\r\\nor plugin
combination still results in our service\noperational. |\\r\\n| [See
more
potential\nrisk\\r\\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n|\\r\\n\\r\\n\\r\\n###
For maintainers\\r\\n\\r\\n- [ ] This was checked for\nbreaking API
changes and
was\n[labeled\\r\\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\",\"sha\":\"8e7e2632bbb5f2dfffe8ab6c2563e176c5d7cf6b\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Rudolf Meijering
<skaapgif@gmail.com>"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-07-22 15:28:18 +02:00
Alex Szabo
584b29a0c5
[CI] Backport reset changes (#188298) (#188626)
## Summary
Manual backport of https://github.com/elastic/kibana/pull/188298

Also deletes the data folder when `yarn kbn reset` is ran.
2024-07-19 12:37:08 +02:00
Eyo O. Eyo
735fb1b0d4
[7.17] [Global Search] Limit characters for global search bar (#186560) (#188311)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Global Search] Limit characters for global search bar
(#186560)](https://github.com/elastic/kibana/pull/186560)

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

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

<!--BACKPORT [{"author":{"name":"Rachel
Shen","email":"rshen@elastic.co"},"sourceCommit":{"committedDate":"2024-07-11T14:50:20Z","message":"[Global
Search] Limit characters for global search bar (#186560)\n\n##
Summary\r\n\r\nThis PR limits the number of characters that can be input
into the\r\nglobal search bar. The character limit can be specified with
the config\r\nvalue `xpack.global_search_bar.input_max_limit` with a
default of\r\n`1000`. When an input that exceeds the configured
character limit is\r\nprovided a descriptive visual notice is displayed
to the user.\r\n\r\n## Visual \r\n<img width=\"662\" alt=\"Screenshot
2024-07-04 at 19 28
39\"\r\nsrc=\"cf30f589-fe65-40a9-b9c8-ce0f235d206e\">\r\n\r\n\r\n##
How to test\r\n\r\n- run the following command below in the browser
console, which would\r\ncreate a string that exceeds the configured
default search character\r\nlimit and copy it to your
clipboard\r\n```ts\r\n\tcopy(Array.from(new Array(1001)).reduce((acc) =>
acc+'a', ''))\r\n```\r\n- open up kibana, simply paste the value that
should exist in your\r\nclipboard in the global search input field and
you should be presented\r\nwith a result similar to the image
above.\r\n\r\n---------\r\n\r\nCo-authored-by: Eyo Okon Eyo
<eyo.eyo@elastic.co>","sha":"f57d9c5f01e8e7cdf338251ce031d597d8fd56a4","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","auto-backport","backport:prev-MAJOR","backport:all-open"],"number":186560,"url":"https://github.com/elastic/kibana/pull/186560","mergeCommit":{"message":"[Global
Search] Limit characters for global search bar (#186560)\n\n##
Summary\r\n\r\nThis PR limits the number of characters that can be input
into the\r\nglobal search bar. The character limit can be specified with
the config\r\nvalue `xpack.global_search_bar.input_max_limit` with a
default of\r\n`1000`. When an input that exceeds the configured
character limit is\r\nprovided a descriptive visual notice is displayed
to the user.\r\n\r\n## Visual \r\n<img width=\"662\" alt=\"Screenshot
2024-07-04 at 19 28
39\"\r\nsrc=\"cf30f589-fe65-40a9-b9c8-ce0f235d206e\">\r\n\r\n\r\n##
How to test\r\n\r\n- run the following command below in the browser
console, which would\r\ncreate a string that exceeds the configured
default search character\r\nlimit and copy it to your
clipboard\r\n```ts\r\n\tcopy(Array.from(new Array(1001)).reduce((acc) =>
acc+'a', ''))\r\n```\r\n- open up kibana, simply paste the value that
should exist in your\r\nclipboard in the global search input field and
you should be presented\r\nwith a result similar to the image
above.\r\n\r\n---------\r\n\r\nCo-authored-by: Eyo Okon Eyo
<eyo.eyo@elastic.co>","sha":"f57d9c5f01e8e7cdf338251ce031d597d8fd56a4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[]}]
BACKPORT-->

Co-authored-by: Rachel Shen <rshen@elastic.co>
2024-07-18 12:11:58 -07:00
Carlos Crespo
4950f7136e
[7.17] [Infra] Limit the number of metrics accepted by Metrics Explorer API (#188112) (#188447)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Infra] Limit the number of metrics accepted by Metrics Explorer API
(#188112)](https://github.com/elastic/kibana/pull/188112)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-07-16T13:44:05Z","message":"[Infra]
Limit the number of metrics accepted by Metrics Explorer API
(#188112)\n\npart of
[3628](https://github.com/elastic/observability-dev/issues/3628)\r\n-
private\r\n\r\n## Summary\r\n\r\nAfter adding 20 items, users can no
longer add more fields and will see\r\nthe message below\r\n\r\n\r\n<img
width=\"1725\"
alt=\"image\"\r\nsrc=\"fd504212-0e0f-485d-a8fe-b991c829950e\">\r\n\r\n\r\n###
Extra\r\n\r\n- There was an unused and duplicate `metrics_explorer`
route in infra. I\r\nremoved it. It should've been removed when the
`metrics_data_access`\r\nplugin was created.\r\n- Cleaned up `constants`
field in `metrics_data_access` and `infra`\r\nplugins\r\n\r\n### How to
test\r\n\r\n- Start a local Kibana instance pointing to an oblt
cluster\r\n- Navigate to Infrastructure > Metrics Explorer\r\n- Try to
select more than 20 fields in the metrics
field\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5ec5b994dcc4c47912ad29e6b8da92c4f855041f","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0"],"number":188112,"url":"https://github.com/elastic/kibana/pull/188112","mergeCommit":{"message":"[Infra]
Limit the number of metrics accepted by Metrics Explorer API
(#188112)\n\npart of
[3628](https://github.com/elastic/observability-dev/issues/3628)\r\n-
private\r\n\r\n## Summary\r\n\r\nAfter adding 20 items, users can no
longer add more fields and will see\r\nthe message below\r\n\r\n\r\n<img
width=\"1725\"
alt=\"image\"\r\nsrc=\"fd504212-0e0f-485d-a8fe-b991c829950e\">\r\n\r\n\r\n###
Extra\r\n\r\n- There was an unused and duplicate `metrics_explorer`
route in infra. I\r\nremoved it. It should've been removed when the
`metrics_data_access`\r\nplugin was created.\r\n- Cleaned up `constants`
field in `metrics_data_access` and `infra`\r\nplugins\r\n\r\n### How to
test\r\n\r\n- Start a local Kibana instance pointing to an oblt
cluster\r\n- Navigate to Infrastructure > Metrics Explorer\r\n- Try to
select more than 20 fields in the metrics
field\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5ec5b994dcc4c47912ad29e6b8da92c4f855041f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188112","number":188112,"mergeCommit":{"message":"[Infra]
Limit the number of metrics accepted by Metrics Explorer API
(#188112)\n\npart of
[3628](https://github.com/elastic/observability-dev/issues/3628)\r\n-
private\r\n\r\n## Summary\r\n\r\nAfter adding 20 items, users can no
longer add more fields and will see\r\nthe message below\r\n\r\n\r\n<img
width=\"1725\"
alt=\"image\"\r\nsrc=\"fd504212-0e0f-485d-a8fe-b991c829950e\">\r\n\r\n\r\n###
Extra\r\n\r\n- There was an unused and duplicate `metrics_explorer`
route in infra. I\r\nremoved it. It should've been removed when the
`metrics_data_access`\r\nplugin was created.\r\n- Cleaned up `constants`
field in `metrics_data_access` and `infra`\r\nplugins\r\n\r\n### How to
test\r\n\r\n- Start a local Kibana instance pointing to an oblt
cluster\r\n- Navigate to Infrastructure > Metrics Explorer\r\n- Try to
select more than 20 fields in the metrics
field\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5ec5b994dcc4c47912ad29e6b8da92c4f855041f"}},{"url":"https://github.com/elastic/kibana/pull/188442","number":188442,"branch":"8.15","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-07-18 00:32:21 +01:00
Jean-Louis Leysens
81dceedbac
[7.17] [Saved Objects] Provide stable sorting to the rows extracted from UI (#187545) (#188406)
Close https://github.com/elastic/kibana/issues/179977

# Backport

This will backport the following commits from `main` to `7.17`:
- [[Saved Objects] Provide stable sorting to the rows extracted from UI
(#187545)](https://github.com/elastic/kibana/pull/187545)

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

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

<!--BACKPORT [{"author":{"name":"Jean-Louis
Leysens","email":"jeanlouis.leysens@elastic.co"},"sourceCommit":{"committedDate":"2024-07-08T10:40:32Z","message":"[Saved
Objects] Provide stable sorting to the rows extracted from UI
(#187545)\n\n## Summary\r\n\r\nPer the title\r\n\r\nClose
https://github.com/elastic/kibana/issues/179977","sha":"809a83df82ffe53102e7b1c4df1f6db120a054ea","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Core","Feature:Saved
Objects","release_note:skip","backport:skip","v8.16.0"],"number":187545,"url":"https://github.com/elastic/kibana/pull/187545","mergeCommit":{"message":"[Saved
Objects] Provide stable sorting to the rows extracted from UI
(#187545)\n\n## Summary\r\n\r\nPer the title\r\n\r\nClose
https://github.com/elastic/kibana/issues/179977","sha":"809a83df82ffe53102e7b1c4df1f6db120a054ea"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/187545","number":187545,"mergeCommit":{"message":"[Saved
Objects] Provide stable sorting to the rows extracted from UI
(#187545)\n\n## Summary\r\n\r\nPer the title\r\n\r\nClose
https://github.com/elastic/kibana/issues/179977","sha":"809a83df82ffe53102e7b1c4df1f6db120a054ea"}}]}]
BACKPORT-->
2024-07-17 15:59:25 +01:00
Tiago Costa
73bc501be5
[7.17] chore(NA): remove usage of re2 and replace it with a non native module (#188134) (#188369)
# Backport

This will backport the following commits from `main` to `7.17`:
- [chore(NA): remove usage of re2 and replace it with a non native
module (#188134)](https://github.com/elastic/kibana/pull/188134)

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

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2024-07-15T19:33:28Z","message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.16.0"],"number":188134,"url":"https://github.com/elastic/kibana/pull/188134","mergeCommit":{"message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188134","number":188134,"mergeCommit":{"message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13"}}]}]
BACKPORT-->
2024-07-16 23:12:51 +01:00
Walter Rafelsberger
d785d2f1c4
[ML] Anomaly Detection: Fix API integration tests for field caps. (#188309)
## Summary

Follow up to #183110.
Fixes #188382.

The number of fields returned by the field caps API is different across
ES versions in forward compatibility tests.
In ES 8.16.0, the `_index_mode` field was added
(https://github.com/elastic/elasticsearch/pull/110676).

This refactors the test to not test for all fields anymore, it just
checks that certain fields are returned and the overall number of fields
is bigger than 20.

To test this locally (you have to run this on the `7.17` branch!), the
following commands for the functional tests server and runner can be
used to run the tests in different forward compatibility scenarios:

```
# 7.17 tests server
node scripts/functional_tests_server.js --config x-pack/test/api_integration/config.ts
# 7.17 tests runner
node scripts/functional_test_runner --config x-pack/test/api_integration/config.ts
```

Note in `7.17` the API integration tests are not split up yet into
several configs so the commands above will run ALL Kibana API
integration tests.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2024-07-16 20:27:54 +02:00
Tiago Costa
0e46798235
[7.17] [ML] Removing use of re2 library (#186104) (#188372)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[ML] Removing use of re2 library
(#186104)](https://github.com/elastic/kibana/pull/186104)

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

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2024-06-13T05:43:40Z","message":"[ML]
Removing use of re2 library (#186104)\n\nWe no longer need to use `re2`
over the standard regex
library.","sha":"ed70d4c6ffb77324f9c6e74e26ed559303ae6c3f","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","backport:skip","v8.15.0"],"number":186104,"url":"https://github.com/elastic/kibana/pull/186104","mergeCommit":{"message":"[ML]
Removing use of re2 library (#186104)\n\nWe no longer need to use `re2`
over the standard regex
library.","sha":"ed70d4c6ffb77324f9c6e74e26ed559303ae6c3f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/186104","number":186104,"mergeCommit":{"message":"[ML]
Removing use of re2 library (#186104)\n\nWe no longer need to use `re2`
over the standard regex
library.","sha":"ed70d4c6ffb77324f9c6e74e26ed559303ae6c3f"}}]}]
BACKPORT-->

---------

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2024-07-16 07:14:22 +01:00
Jon
87294b7dcf
[7.17] Upgrade Node.js to 20.15.1 (#187791) (#188344)
#187791
2024-07-15 18:19:27 -05:00
Tiago Costa
4f88cd3751
skip failing es forward compatibility suites (#188382) 2024-07-15 23:49:41 +01:00
Melissa Alvarez
2dfe86372d
[ML] Functional tests: unskip forecast flaky test (#187906)
## Summary

Fixes https://github.com/elastic/kibana/issues/186091
Backport for https://github.com/elastic/kibana/pull/187795

Investigation indicated something in the testing environment - likely
the chrome version. That has been updated since so letting the CI run to
confirm

Flaky test runner build
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6498


### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-07-15 16:16:26 -06:00
Elena Stoeva
d61e9cd405
[7.17][Rollup] Unskip 7.17 rollup API integration tests (#187339)
Fixes https://github.com/elastic/kibana/issues/184275
Fixes https://github.com/elastic/kibana/issues/184227

## Summary

This PR unskips the 7.17 rollup API integration tests which failed
during the 7.17 ES 8.15 forward compatibility tests.

To run the tests locally with ES 8.15:

```
ES_SNAPSHOT_MANIFEST="https://storage.googleapis.com/kibana-ci-es-snapshots-daily/8.15.0/manifest-latest-verified.json" node scripts/functional_tests_server.js --config x-pack/test/api_integration/config.ts
```

```
ES_SNAPSHOT_MANIFEST="https://storage.googleapis.com/kibana-ci-es-snapshots-daily/8.15.0/manifest-latest-verified.json" node scripts/functional_test_runner.js --config x-pack/test/api_integration/config.ts --grep="rollup"
```

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2024-07-15 21:49:43 +01:00
Elena Stoeva
05f4e98c8c
[7.17][Rollup] Unskip 7.17 rollup functional tests (#187350)
Fixes https://github.com/elastic/kibana/issues/184229
Fixes https://github.com/elastic/kibana/issues/184230
Fixes https://github.com/elastic/kibana/issues/184277
Fixes https://github.com/elastic/kibana/issues/184278
Fixes https://github.com/elastic/kibana/issues/184357
Fixes https://github.com/elastic/kibana/issues/57065

## Summary

This PR unskips the 7.17 rollup functional tests which failed during the
7.17 ES 8.15 forward compatibility tests.

To run the tests locally with ES 8.15:

```
ES_SNAPSHOT_MANIFEST="https://storage.googleapis.com/kibana-ci-es-snapshots-daily/8.15.0/manifest-latest-verified.json" node scripts/functional_tests_server.js --config x-pack/test/functional/config.js
```

```
ES_SNAPSHOT_MANIFEST="https://storage.googleapis.com/kibana-ci-es-snapshots-daily/8.15.0/manifest-latest-verified.json" node scripts/functional_test_runner.js --config x-pack/test/functional/config.js --grep="rollup job"

```

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2024-07-15 21:46:59 +01:00
Carlos Crespo
8197581056
[7.17] [Infra] Limit the number of metrics accepted by Snapshot API (#188181) (#188242)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Infra] Limit the number of metrics accepted by Snapshot API
(#188181)](https://github.com/elastic/kibana/pull/188181)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-07-12T13:53:53Z","message":"[Infra]
Limit the number of metrics accepted by Snapshot API (#188181)\n\npart
of [3628](https://github.com/elastic/observability-dev/issues/3628)\r\n-
private\r\n\r\n\r\n## Summary\r\n\r\nAfter adding 20 items, users can no
longer add more metrics and will see\r\nthe \"Add metric\" button
disabled with a tooltip\r\n\r\n<img width=\"1713\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c784b08b-e118-4491-b53d-46bfde898216\">\r\n\r\n\r\n###
How to test\r\n\r\n- Start a local Kibana instance pointing to an oblt
cluster\r\n- Navigate to Infrastructure\r\n- Try to add more than 20
metrics in the Metrics
dropdown.","sha":"f2d1a8b6d24486cedb0dad97e71cd660845f353c","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0"],"number":188181,"url":"https://github.com/elastic/kibana/pull/188181","mergeCommit":{"message":"[Infra]
Limit the number of metrics accepted by Snapshot API (#188181)\n\npart
of [3628](https://github.com/elastic/observability-dev/issues/3628)\r\n-
private\r\n\r\n\r\n## Summary\r\n\r\nAfter adding 20 items, users can no
longer add more metrics and will see\r\nthe \"Add metric\" button
disabled with a tooltip\r\n\r\n<img width=\"1713\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c784b08b-e118-4491-b53d-46bfde898216\">\r\n\r\n\r\n###
How to test\r\n\r\n- Start a local Kibana instance pointing to an oblt
cluster\r\n- Navigate to Infrastructure\r\n- Try to add more than 20
metrics in the Metrics
dropdown.","sha":"f2d1a8b6d24486cedb0dad97e71cd660845f353c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188181","number":188181,"mergeCommit":{"message":"[Infra]
Limit the number of metrics accepted by Snapshot API (#188181)\n\npart
of [3628](https://github.com/elastic/observability-dev/issues/3628)\r\n-
private\r\n\r\n\r\n## Summary\r\n\r\nAfter adding 20 items, users can no
longer add more metrics and will see\r\nthe \"Add metric\" button
disabled with a tooltip\r\n\r\n<img width=\"1713\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/c784b08b-e118-4491-b53d-46bfde898216\">\r\n\r\n\r\n###
How to test\r\n\r\n- Start a local Kibana instance pointing to an oblt
cluster\r\n- Navigate to Infrastructure\r\n- Try to add more than 20
metrics in the Metrics
dropdown.","sha":"f2d1a8b6d24486cedb0dad97e71cd660845f353c"}},{"url":"https://github.com/elastic/kibana/pull/188231","number":188231,"branch":"8.15","state":"OPEN"}]}]
BACKPORT-->
2024-07-15 18:10:58 +02:00
Jorge Sanz
4d78f78692
[7.17] [Maps] Update ems-client@7.17.3 (#188121)
Related with #188099

Updates `@elastic/ems-client` to
[7.17.3](https://github.com/elastic/ems-client/releases/tag/v7.17.3)
which is an update in the library dependencies without any new features.
2024-07-12 15:39:26 +02:00
Carlos Crespo
693456ff0a
[APM] Unskip ml jobs test (#188054)
closes [#179168](https://github.com/elastic/kibana/issues/179168)
## Summary

I ran this test against 8.14.0, 8.14.1, 8.14.2, and 8.14.3 and got no
errors.

### How to test


`ES_SNAPSHOT_MANIFEST="https://storage.googleapis.com/kibana-ci-es-snapshots-daily/ES_VERSION/manifest-latest-verified.json"
yarn test:ftr:server --config
x-pack/test/apm_api_integration/trial/config.ts`

`yarn test:ftr:runner --es-version=ESVERSION
--config=x-pack/test/apm_api_integration/trial/config.ts --grep="ML
jobs"`

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-07-12 13:41:25 +02:00
Alex Szabo
3248376da7
[7.17][BK] Migrate ES Forward's agent targeting rules (#187341)
## Summary
The ES forward testing only happens from the direction of 7.17, so this
file only exists on 7.17, thus it's not a backport, but a direct
adjustment of these rules.

Follows up: https://github.com/elastic/kibana/pull/184018
2024-07-10 12:08:43 +02:00
Brad White
1f073b5910
[7.17] Sync auto approve actions with main (#187919)
## Summary

Workflows are based on their state in the target branch, so this brings
the two actions in sync with `main` so we can backport in the future if
needed and the behavior is consistent.

[8.14 PR](https://github.com/elastic/kibana/pull/187918)
2024-07-09 15:11:54 -07:00
Brad White
8a962974b1
[7.17] Remove Agent Debug Info (#187126) (#187805)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Remove Agent Debug Info
(#187126)](https://github.com/elastic/kibana/pull/187126)

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

### 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-07-08T21:10:14Z","message":"Remove
Agent Debug Info (#187126)\n\n## Summary\r\n\r\n- Removes SSH info to
avoid confusion since we cannot SSH into agents on\r\nthe new infra\r\n-
Removes old agent metrics and logs links because they are in
a\r\ndifferent cluster and the new links are in an
annotation","sha":"dd9d6434cae8b7beb3b730cd42898b8f63dbee91","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.15.0","v8.16.0"],"number":187126,"url":"https://github.com/elastic/kibana/pull/187126","mergeCommit":{"message":"Remove
Agent Debug Info (#187126)\n\n## Summary\r\n\r\n- Removes SSH info to
avoid confusion since we cannot SSH into agents on\r\nthe new infra\r\n-
Removes old agent metrics and logs links because they are in
a\r\ndifferent cluster and the new links are in an
annotation","sha":"dd9d6434cae8b7beb3b730cd42898b8f63dbee91"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/187802","number":187802,"state":"OPEN"},{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/187126","number":187126,"mergeCommit":{"message":"Remove
Agent Debug Info (#187126)\n\n## Summary\r\n\r\n- Removes SSH info to
avoid confusion since we cannot SSH into agents on\r\nthe new infra\r\n-
Removes old agent metrics and logs links because they are in
a\r\ndifferent cluster and the new links are in an
annotation","sha":"dd9d6434cae8b7beb3b730cd42898b8f63dbee91"}}]}]
BACKPORT-->
2024-07-09 08:56:20 -05:00
Alex Szabo
0833f58bce
[7.17][CI]Revert removing package testing related scripts (#187856)
## Summary
This reverts commit 5e19b82973.
2024-07-09 14:22:04 +02:00
Jon
4f4bd4f8b4
[7.17] Update babel (main) (#187028) (#187088)
#187028

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 13:27:49 -05:00
Alex Szabo
dfe26f4b7e
[7.17] Clean up pipelines (#187490)
## Summary
Removes unused pipelines, and their related scripts: 
 - package_testing.yml
 - demo_env.yml

Updates a pipeline to the new buildkite agent targeting format:
 - performance/daily.yml (missed backport after migration)
2024-07-08 14:25:52 +02:00
Jon
2fd50f395a
[7.17] [ci] Use org wide PR status bot (#187386) (#187515)
#187386

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-07-05 11:29:05 -05:00
Alex Szabo
05443dc383
Rewrite brittle test to more resilient, ignoring FORCE_COLOR (#187539)
## Summary
We've seen the tests go both ways on the new infra. Sometimes the
received object would have, sometimes it wouldn't have `FORCE_COLOR`.
The value comes from here:
41eb6e2b12/packages/kbn-cli-dev-mode/src/using_server_process.ts (L39)
- meaning `process.stdout.isTTY` is not always true?

Here, it fails because the snapshot doesn't have the flag:
https://buildkite.com/elastic/kibana-on-merge/builds/47027#01907bbb-3fae-48c4-95ca-85118ba2c2b8
Here, it because the snapshot has the flag:
https://buildkite.com/elastic/kibana-pull-request/builds/219429

This PR tries to ignore that part of the received object.
2024-07-05 04:26:03 +01:00
Tiago Costa
668b6d2b41
Revert "Revert "[7.17] Update failing snapshot for kbn dev cli (#187532)""
This reverts commit e1f240a0f1.
2024-07-05 04:06:38 +01:00
Tiago Costa
e1f240a0f1
Revert "[7.17] Update failing snapshot for kbn dev cli (#187532)"
This reverts commit 7c49235dad.
2024-07-05 04:03:24 +01:00