-
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
Set refresh according to stateful vs stateless when indexing alert documents #201209
Merged
mikecote
merged 16 commits into
elastic:main
from
mikecote:alerting/refresh-stateful-vs-stateless
Nov 28, 2024
+188
−37
Merged
Changes from 13 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d7c9a8c
Alerting plugin changes
mikecote 3aa0ce4
Fix type checks
mikecote 5ed3e9e
Add support in rule registry to refresh based on stateless vs stateful
mikecote 39adad8
Pass isServerless for rule preview
mikecote c837ea7
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 2a2acf7
Fix more test failures
mikecote 1badc7d
Merge branch 'alerting/refresh-stateful-vs-stateless' of github.com:m…
mikecote ba9f8ec
Fix more tests
mikecote 06de7b8
Merge branch 'main' of github.com:elastic/kibana into alerting/refres…
mikecote 2aa31e6
New way to check if serverless
mikecote 0920460
Fix type check
mikecote 7c19b45
Add some testing logs
mikecote 97f6bde
Merge branch 'main' into alerting/refresh-stateful-vs-stateless
mikecote d5397e7
Revert "Add some testing logs"
mikecote 35213a5
Add back refresh condition
mikecote cc2cadc
Merge with main
mikecote 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
Oops, something went wrong.
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.
should we remove this console log?
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.
Yes, there's two places it should be removed. I plan to revert 7c19b45 before merging but left it there in case someone wanted to test using the PR deployments / projects. Some serverless projects are still being deployed atm.