Skip to content
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

[Triggers Actions UI] Fix double registry bug #131239

Merged

Conversation

academo
Copy link
Contributor

@academo academo commented Apr 29, 2022

Summary

Fixes a bug introduced by #130881 when the register is called twice.

@academo academo added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Cases Cases feature v8.3.0 labels Apr 29, 2022
@academo academo requested a review from a team as a code owner April 29, 2022 13:54
@academo academo self-assigned this Apr 29, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
securitySolution 4.8MB 4.8MB +21.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @academo

@XavierM XavierM merged commit f476109 into elastic:main Apr 29, 2022
@academo academo deleted the fix/actions-triggers-ui-security-registry branch April 29, 2022 15:50
@@ -17,6 +17,9 @@ const registerAlertsTableConfiguration = (
registry: AlertsTableConfigurationRegistryContract,
storage: Storage
) => {
if (registry.has(APP_ID)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have the proper unit test for this fix? I think we need to add the test coverage here.

dmlemeshko pushed a commit to dmlemeshko/kibana that referenced this pull request May 5, 2022
kertal pushed a commit to kertal/kibana that referenced this pull request May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Cases Cases feature release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants