[Discover] Don't make redundant requests when breakdown or chart interval changes#245523
Merged
jughosta merged 4 commits intoelastic:mainfrom Dec 10, 2025
Conversation
Contributor
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10008[✅] src/platform/test/functional/apps/discover/group3/config.ts: 10/10 tests passed. |
Contributor
|
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
akowalska622
approved these changes
Dec 9, 2025
Contributor
akowalska622
left a comment
There was a problem hiding this comment.
Nice change, LGTM thanks!
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
History
cc @jughosta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Previously Discover was making 2 requests (document and chart) when the breakdown field or chart time interval were changing. This PR removes the redundant fetch for the documents and keeps the refetch for the chart only.
Checklist
release_note:*label is applied per the guidelinesbackport:*labels.