Skip to content

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…equest fails (elastic#229698)

Closes elastic#225935

## Summary

This PR fixes an issue where after request to load snapshots fails, e.g.
due to one of repositories misconfiguration, user was not able to use
search bar to change query to access snapshots from different
repositories.

(cherry picked from commit 3d9c2bf)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Aug 1, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) August 1, 2025 15:04
@kibanamachine kibanamachine merged commit 234d29f into elastic:8.19 Aug 4, 2025
8 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Integration Tests #4 / Upgrade diffable rule "threat_query" (threat_match rule type) after preview in flyout field value validation blocks saving field value when value is invalid

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
esUiShared 98 99 +1

Async chunks

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

id before after diff
snapshotRestore 250.0KB 250.4KB +352.0B

Page load bundle

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

id before after diff
snapshotRestore 25.3KB 25.4KB +44.0B
Unknown metric groups

API count

id before after diff
esUiShared 100 101 +1

cc @damian-polewski

damian-polewski added a commit that referenced this pull request Aug 5, 2025
…shots request fails (#229698) (#230432)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698)](#229698)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Damian
Polewski","email":"125268832+damian-polewski@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-01T14:57:09Z","message":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request fails
(#229698)\n\nCloses #225935\n\n## Summary\n\nThis PR fixes an issue
where after request to load snapshots fails, e.g.\ndue to one of
repositories misconfiguration, user was not able to use\nsearch bar to
change query to access snapshots from
different\nrepositories.","sha":"3d9c2bfb5bb95098c882e57cdd315a86846ab5d3","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","Feature:Snapshot and
Restore","backport:all-open","v9.2.0","v9.0.5","v9.1.1","v8.19.1"],"title":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request
fails","number":229698,"url":"https://github.com/elastic/kibana/pull/229698","mergeCommit":{"message":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request fails
(#229698)\n\nCloses #225935\n\n## Summary\n\nThis PR fixes an issue
where after request to load snapshots fails, e.g.\ndue to one of
repositories misconfiguration, user was not able to use\nsearch bar to
change query to access snapshots from
different\nrepositories.","sha":"3d9c2bfb5bb95098c882e57cdd315a86846ab5d3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229698","number":229698,"mergeCommit":{"message":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request fails
(#229698)\n\nCloses #225935\n\n## Summary\n\nThis PR fixes an issue
where after request to load snapshots fails, e.g.\ndue to one of
repositories misconfiguration, user was not able to use\nsearch bar to
change query to access snapshots from
different\nrepositories.","sha":"3d9c2bfb5bb95098c882e57cdd315a86846ab5d3"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230260","number":230260,"state":"MERGED","mergeCommit":{"sha":"8118409719a4261ce6bb6b6664a582e78eea1204","message":"[9.0]
[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698) (#230260)\n\n# Backport\n\nThis will backport
the following commits from `main` to `9.0`:\n- [[Snapshot and restore]
Display snapshot searchbar even if snapshots\nrequest fails
(#229698)](https://github.com/elastic/kibana/pull/229698)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Damian Polewski
<125268832+damian-polewski@users.noreply.github.com>"}},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230261","number":230261,"state":"MERGED","mergeCommit":{"sha":"bc148fb9cfc7fb747dabc6dc3753b323b851b663","message":"[9.1]
[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698) (#230261)\n\n# Backport\n\nThis will backport
the following commits from `main` to `9.1`:\n- [[Snapshot and restore]
Display snapshot searchbar even if snapshots\nrequest fails
(#229698)](https://github.com/elastic/kibana/pull/229698)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Damian Polewski
<125268832+damian-polewski@users.noreply.github.com>"}},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230259","number":230259,"state":"MERGED","mergeCommit":{"sha":"234d29f36442871aba53f4d3d2a8184677a7a684","message":"[8.19]
[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698) (#230259)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.19`:\n- [[Snapshot and restore]
Display snapshot searchbar even if snapshots\nrequest fails
(#229698)](https://github.com/elastic/kibana/pull/229698)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Damian Polewski
<125268832+damian-polewski@users.noreply.github.com>"}}]}] BACKPORT-->
damian-polewski added a commit that referenced this pull request Aug 5, 2025
…shots request fails (#229698) (#230429)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698)](#229698)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Damian
Polewski","email":"125268832+damian-polewski@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-01T14:57:09Z","message":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request fails
(#229698)\n\nCloses #225935\n\n## Summary\n\nThis PR fixes an issue
where after request to load snapshots fails, e.g.\ndue to one of
repositories misconfiguration, user was not able to use\nsearch bar to
change query to access snapshots from
different\nrepositories.","sha":"3d9c2bfb5bb95098c882e57cdd315a86846ab5d3","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","Feature:Snapshot and
Restore","backport:all-open","v9.2.0","v9.0.5","v9.1.1","v8.19.1"],"title":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request
fails","number":229698,"url":"https://github.com/elastic/kibana/pull/229698","mergeCommit":{"message":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request fails
(#229698)\n\nCloses #225935\n\n## Summary\n\nThis PR fixes an issue
where after request to load snapshots fails, e.g.\ndue to one of
repositories misconfiguration, user was not able to use\nsearch bar to
change query to access snapshots from
different\nrepositories.","sha":"3d9c2bfb5bb95098c882e57cdd315a86846ab5d3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229698","number":229698,"mergeCommit":{"message":"[Snapshot
and restore] Display snapshot searchbar even if snapshots request fails
(#229698)\n\nCloses #225935\n\n## Summary\n\nThis PR fixes an issue
where after request to load snapshots fails, e.g.\ndue to one of
repositories misconfiguration, user was not able to use\nsearch bar to
change query to access snapshots from
different\nrepositories.","sha":"3d9c2bfb5bb95098c882e57cdd315a86846ab5d3"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230260","number":230260,"state":"MERGED","mergeCommit":{"sha":"8118409719a4261ce6bb6b6664a582e78eea1204","message":"[9.0]
[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698) (#230260)\n\n# Backport\n\nThis will backport
the following commits from `main` to `9.0`:\n- [[Snapshot and restore]
Display snapshot searchbar even if snapshots\nrequest fails
(#229698)](https://github.com/elastic/kibana/pull/229698)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Damian Polewski
<125268832+damian-polewski@users.noreply.github.com>"}},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230261","number":230261,"state":"MERGED","mergeCommit":{"sha":"bc148fb9cfc7fb747dabc6dc3753b323b851b663","message":"[9.1]
[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698) (#230261)\n\n# Backport\n\nThis will backport
the following commits from `main` to `9.1`:\n- [[Snapshot and restore]
Display snapshot searchbar even if snapshots\nrequest fails
(#229698)](https://github.com/elastic/kibana/pull/229698)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Damian Polewski
<125268832+damian-polewski@users.noreply.github.com>"}},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230259","number":230259,"state":"MERGED","mergeCommit":{"sha":"234d29f36442871aba53f4d3d2a8184677a7a684","message":"[8.19]
[Snapshot and restore] Display snapshot searchbar even if snapshots
request fails (#229698) (#230259)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.19`:\n- [[Snapshot and restore]
Display snapshot searchbar even if snapshots\nrequest fails
(#229698)](https://github.com/elastic/kibana/pull/229698)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Damian Polewski
<125268832+damian-polewski@users.noreply.github.com>"}}]}] BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants