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

[Ingest Manager] Fix condition for filtering to installed packages #79205

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

jen-huang
Copy link
Contributor

Summary

Resolves #71289. Fixes a silly typo in the condition where we check for installed packages, before checking if the package is limited. The typo caused us to fetch all packages rather than just installed packages 🤦🏻‍♀️

I happened to run into this due to getting an error about a missing package after I switched between remote and local registries. Fortunately, this didn't have any consequences on our releases apart from slowing the loading of Add integration selection step.

@jen-huang jen-huang added bug Fixes for quality problems that affect the customer experience v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 Team:Fleet Team label for Observability Data Collection Fleet team v7.9.3 labels Oct 1, 2020
@jen-huang jen-huang requested a review from a team October 1, 2020 20:15
@jen-huang jen-huang self-assigned this Oct 1, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

Copy link
Contributor

@jfsiii jfsiii left a comment

Choose a reason for hiding this comment

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

Nice find! Thanks for the fix

Copy link
Contributor

@EricDavisX EricDavisX left a comment

Choose a reason for hiding this comment

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

lgtm;

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@jen-huang jen-huang merged commit 5f18730 into elastic:master Oct 1, 2020
@jen-huang jen-huang deleted the ingest/fix/installed-condition branch October 1, 2020 21:50
jen-huang added a commit to jen-huang/kibana that referenced this pull request Oct 1, 2020
jen-huang added a commit to jen-huang/kibana that referenced this pull request Oct 1, 2020
# Conflicts:
#	x-pack/plugins/ingest_manager/server/services/epm/packages/get.ts
@ph
Copy link
Contributor

ph commented Oct 2, 2020

@jen-huang When I was working on a demo, I perceived a slowness in the "search box" in the add integration would that fix that?

cc @mostlyjason

@jen-huang
Copy link
Contributor Author

@ph Yes this fix should speed that up.

jen-huang added a commit that referenced this pull request Oct 2, 2020
)

* Fix condition for filtering to installed packages (#79205)

# Conflicts:
#	x-pack/plugins/ingest_manager/server/services/epm/packages/get.ts

* Patch test fix from b08f4c9
@ghost
Copy link

ghost commented Oct 20, 2020

Hi @jen-huang

We have validated this defect on latest 7.9.3 BC1 Kibana Cloud environment with commit 289d920

Observed that:

  1. Add integration menu opens up instantly and integrations take less than 2 sec to load on clicking 'Add integration' button for Default configuration under Configurations->Integrations tab.

Screenshot:
integration

  1. User is able to instantly search the integration in search box of Add integration.

Screenshot:

instant_search

Please let us know if anything is missing from our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.9.3 v7.10.0 v8.0.0
Projects
None yet
6 participants