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

[Security Solution] show correct failed transform on failed transform banner #117608

Merged
merged 2 commits into from
Nov 5, 2021

Conversation

joeypoon
Copy link
Member

@joeypoon joeypoon commented Nov 4, 2021

Summary

Endpoint list failed transform banner was always only showing the first transform id even if it wasn't failing. It will now display the correct failing transform(s).

only united transform is stopped:
Screen Shot 2021-11-04 at 4 15 15 PM

shows name of failing united transform:
Screen Shot 2021-11-04 at 4 15 07 PM

Checklist

For maintainers

@joeypoon joeypoon added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 v8.1.0 labels Nov 4, 2021
@joeypoon joeypoon requested a review from a team November 4, 2021 22:26
@joeypoon joeypoon force-pushed the fix/failed-transform-banner-id branch from 1ce3fb7 to 7d7565b Compare November 4, 2021 22:30
@joeypoon joeypoon marked this pull request as ready for review November 5, 2021 00:33
@joeypoon joeypoon requested a review from a team as a code owner November 5, 2021 00:33
@joeypoon joeypoon requested review from pzl and dasansol92 November 5, 2021 00:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt)

<>
<FormattedMessage
id="xpack.securitySolution.endpoint.list.transformFailed.message"
defaultMessage="A required transform, {transformId}, is currently failing. Most of the time this can be fixed by {transformsPage}. For additional help, please visit the {docsPage}"
values={{
transformId: metadataTransformStats[0]?.id || metadataTransformPrefix,
transformId: failingTransformIds || metadataTransformPrefix,
Copy link
Member

Choose a reason for hiding this comment

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

heh, I guess this made sense when we only had one

@kevinlog
Copy link
Contributor

kevinlog commented Nov 5, 2021

@joeypoon this looks awesome - can you also update the docs link to this? https://www.elastic.co/guide/en/security/7.16/ts-management.html

This provides more focused troubleshooting instructions

@joeypoon joeypoon force-pushed the fix/failed-transform-banner-id branch from 7d7565b to f26fade Compare November 5, 2021 16:48
@joeypoon joeypoon requested a review from a team as a code owner November 5, 2021 16:48
@joeypoon joeypoon enabled auto-merge (squash) November 5, 2021 16:49
@joeypoon joeypoon force-pushed the fix/failed-transform-banner-id branch from f26fade to 243af9f Compare November 5, 2021 16:50
@joeypoon joeypoon force-pushed the fix/failed-transform-banner-id branch from 243af9f to 23a04d2 Compare November 5, 2021 17:22
@kibanamachine
Copy link
Contributor

💚 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.5MB 4.5MB +43.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 267.1KB 267.2KB +89.0B

History

  • 💔 Build #4727 failed 243af9f791aff8ca92ab40f373ce17638d35c4dd
  • 💚 Build #4545 succeeded 7d7565b637f5d4bc6f1d986c060b99c942ed7371

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

Copy link
Contributor

@kevinlog kevinlog left a comment

Choose a reason for hiding this comment

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

LGTM! Just need a review from kibana-core

Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

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

Doc links changes LGTM!

@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
8.0
7.16

The backport PRs will be merged automatically after passing CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v7.16.0 v8.0.0 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants