-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[searchService] Dedupe shard error toasts #131776
Merged
Merged
Changes from 22 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
1b82948
dedupe shard error toasts
mattkime 95c884b
Merge branch 'main' into dedupe_shard_toasts
mattkime b5b1932
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine b0d5cb1
fix debounce import
mattkime 6987ec6
fix debounce import
mattkime b6a9f46
fix debounce import
mattkime 4966f26
Merge branch 'main' into dedupe_shard_toasts
mattkime 3cad151
set fallback for uiSettings
mattkime 9281831
check ui settings in try/catch
mattkime 2cd1d1e
bind this
mattkime 986d91c
Merge branch 'main' into dedupe_shard_toasts
mattkime 3fca1f1
Update handle_response.tsx
mattkime 0997750
Merge branch 'main' into dedupe_shard_toasts
mattkime b8ffad0
refactor for handle warning
mattkime 7aa32db
fix jest test
mattkime a01de85
Merge branch 'main' into dedupe_shard_toasts
mattkime cd46eef
Merge branch 'main' into dedupe_shard_toasts
mattkime d54b3ec
Merge branch 'main' into dedupe_shard_toasts
mattkime d4685dd
dedupe and add tests, dedupe based on sessionId
mattkime f72751e
Merge branch 'main' into dedupe_shard_toasts
mattkime c5656b5
fix some tests
mattkime bb912be
Merge branch 'main' into dedupe_shard_toasts
mattkime a120ab4
Merge branch 'main' into dedupe_shard_toasts
mattkime c581b6a
bind addWarning
mattkime 0e36324
fix functional tests
mattkime 830b932
Merge branch 'main' into dedupe_shard_toasts
mattkime 9c5833e
Merge branch 'main' into dedupe_shard_toasts
mattkime 1a9baa5
debounce to 30s
mattkime 9b3032b
Merge branch 'dedupe_shard_toasts' of github.com:mattkime/kibana into…
mattkime 0fd3182
advance timers by 30s
mattkime d182486
functional test fix
mattkime File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that regardless of the deduping, we'll still only show a max of one warning every 10 seconds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The debounce is applied for a given
debounceKey
. Different debounceKeys within 10s would result in multiple warnings. The same debounceKey within 10s will result in only one warning, past 10s an additional warning is shown.