-
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
[Actionable Observability][BUG] Fix connectors doesn't appear in the Rule Details page after creating first connector #133737
[Actionable Observability][BUG] Fix connectors doesn't appear in the Rule Details page after creating first connector #133737
Conversation
@elasticmachine merge upstream |
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
@elasticmachine merge upstream |
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.
@fkanout I had seen this error before, it was very random and I couldn't always reproduce. Nice work here finding the root of the problem and giving exact steps to reproduce!
I tested it locally and the issue is fixed. I followed the steps in your issue description and issue is not reproducible anymore. Action connectors are always being updated now!
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @fkanout |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
21 similar comments
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
…Rule Details page after creating first connector (#133737) * Move rule actions to the hook which is right call * Update naming * Fix when a connector is deleted from connector page in Stack Management * Fix tests * Update tests and mock loadAllActions API * Remove unused import * Call the connectors API only when the rule has actions (cherry picked from commit 44026a5)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
…Rule Details page after creating first connector (elastic#133737) (elastic#138484) * Move rule actions to the hook which is right call * Update naming * Fix when a connector is deleted from connector page in Stack Management * Fix tests * Update tests and mock loadAllActions API * Remove unused import * Call the connectors API only when the rule has actions (cherry picked from commit 44026a5) Co-authored-by: Faisal Kanout <[email protected]>
Summary
it fixes #133515 by updating the hook to make it returns only the rule actions.
Before, the hook is returning all the actions connectors even the ones that are NOT related to the given rule.
Now:
No Actions
when the connector is deleted from the Rule and Connectors page.