Skip to content

[Search] Fix indices route and remove obsolete code#226595

Merged
sphilipse merged 9 commits intoelastic:mainfrom
sphilipse:es3-fix-indices-route
Jul 9, 2025
Merged

[Search] Fix indices route and remove obsolete code#226595
sphilipse merged 9 commits intoelastic:mainfrom
sphilipse:es3-fix-indices-route

Conversation

@sphilipse
Copy link
Copy Markdown
Member

@sphilipse sphilipse commented Jul 4, 2025

Summary

This fixes the Serverless search indices route, which was broken: the stats API it called never worked on Serverless, so that breaks the entire route.

Additionally, this removes an used documents component that was calling that route. That's probably the only route that calls that API, but we should double check. We will follow up on that.

@sphilipse sphilipse requested a review from a team as a code owner July 4, 2025 14:33
@sphilipse sphilipse added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Search v9.2.0 labels Jul 4, 2025
@sphilipse sphilipse changed the title [ES3] Fix indices route and remove obsolete code [Search] Fix indices route and remove obsolete code Jul 4, 2025
@cnasikas cnasikas added bug Fixes for quality problems that affect the customer experience v9.1.0 v8.19.0 backport:version Backport to applied version labels and removed backport:skip This PR does not require backporting labels Jul 7, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #20 / management index management index templates simulate should simulate an index template by name with a related data stream

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
serverlessSearch 410 381 -29

Async chunks

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

id before after diff
serverlessSearch 346.5KB 323.0KB -23.6KB

Page load bundle

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

id before after diff
serverlessSearch 26.2KB 25.7KB -585.0B
Unknown metric groups

async chunk count

id before after diff
serverlessSearch 11 10 -1

ESLint disabled line counts

id before after diff
serverlessSearch 7 6 -1

Total ESLint disabled count

id before after diff
serverlessSearch 7 6 -1

History

@sphilipse sphilipse merged commit 596ce61 into elastic:main Jul 9, 2025
13 checks passed
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 11, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

3 similar comments
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

5 similar comments
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
## Summary

This fixes the Serverless search indices route, which was broken: the
stats API it called never worked on Serverless, so that breaks the
entire route.

Additionally, this removes an used documents component that was calling
that route. That's probably the only route that calls that API, but we
should double check. We will follow up on that.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Saikat Sarkar <132922331+saikatsarkar056@users.noreply.github.com>
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

5 similar comments
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226595 locally
cc: @sphilipse

@sphilipse sphilipse added the backport:skip This PR does not require backporting label Aug 4, 2025
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting backport:version Backport to applied version labels bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Search v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants