-
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
[Response Ops] Remove ephemeral tasks from action and alerting plugins #197421
Merged
JiaweiWu
merged 13 commits into
elastic:main
from
JiaweiWu:issue-151461-remove-ephemeral-tasks
Dec 2, 2024
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e60b9f9
Remove ephemeral tasks from action and alerting plugins
JiaweiWu 21ff4d2
Merge branch 'main' into issue-151461-remove-ephemeral-tasks
JiaweiWu 96dc47f
fix CI
JiaweiWu d8b76a1
Addressed comments
JiaweiWu 814585b
Merge conflicts
JiaweiWu 9bcd9a9
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 270fbc3
Merge branch 'main' into issue-151461-remove-ephemeral-tasks
JiaweiWu 5a2ed3f
Fix type check and remove unused test
JiaweiWu ffe4a29
remove ephemeral task check in cleanup function
JiaweiWu 684485f
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 6935204
Merge branch 'main' into issue-151461-remove-ephemeral-tasks
JiaweiWu b2981fa
Bring back task runner tests and address comments
JiaweiWu 5958a7d
Merge branch 'main' into issue-151461-remove-ephemeral-tasks
elasticmachine 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
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.
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.
We'll probably need a cloud PR to remove them from the allow-list: https://github.com/elastic/cloud/pull/84878
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.
hmmm ... not sure. I know the allow-list must be used when creating / updating the Kibana yml in the clould admin panels, but when else would it be used? If it gets used at some other time (cluster restart), then potentially it could prevent the restart because of invalid config?
It's fine if it's only used while creating / updating the Kibana yml in the cloud admin panel - presumably the config wouldn't be saveable next time a customer edited it, till they removed the config setting.
Have we done this in the past? I feel like we must have ...
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.
I guess that's true. I guess we're just ignoring it now if it's set so it doesn't matter if it's still there
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.
Perhaps we should create a PR to label these in comments as deprecated, if we're not sure? Breadcrumbs for future cleanups?
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.
From https://github.com/elastic/cloud/pull/133738#discussion_r1828211350, we can set a
max
value as we have to keep it around for deployments running 8.x for a long time.