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

Kertal discover adhoc dataview #136266

Closed
wants to merge 14 commits into from

Conversation

ppisljar
Copy link
Member

Summary

Summarize your PR. If it involves visual changes include a screenshot or gif.

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.

When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:

Risk Probability Severity Mitigation/Notes
Multiple Spaces—unexpected behavior in non-default Kibana Space. Low High Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces.
Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. High Low Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure.
Code should gracefully handle cases when feature X or plugin Y are disabled. Medium High Unit tests will verify that any feature flag or plugin combination still results in our service operational.
See more potential risk examples

For maintainers

@ppisljar ppisljar requested review from a team as code owners July 13, 2022 10:10
@ppisljar ppisljar mentioned this pull request Jul 13, 2022
9 tasks
@kibana-ci
Copy link
Collaborator

kibana-ci commented Jul 18, 2022

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #22 / a11y tests using flights sample data Filter panel "before all" hook for "a11y test on add filter panel"
  • [job] [logs] FTR Configs #22 / a11y tests using flights sample data Filter panel "before all" hook for "a11y test on add filter panel"
  • [job] [logs] FTR Configs #13 / apps machine learning basic license data visualizer field statistics in Discover when enabled with farequote index pattern displays the 'Field statistics' table content correctly
  • [job] [logs] FTR Configs #13 / apps machine learning basic license data visualizer field statistics in Discover when enabled with farequote index pattern displays the 'Field statistics' table content correctly
  • [job] [logs] FTR Configs #10 / context app context accessibility should navigate to the single doc view and give focus to the title h1 on navigate
  • [job] [logs] FTR Configs #10 / context app context accessibility should navigate to the single doc view and give focus to the title h1 on navigate
  • [job] [logs] FTR Configs #24 / dashboard app - group 3 dashboard time picker Saved search updated when time picker changes
  • [job] [logs] FTR Configs #27 / dashboard app - group 3 dashboard time picker Saved search updated when time picker changes
  • [job] [logs] FTR Configs #24 / dashboard app - group 3 dashboard time picker Saved search updated when time picker changes
  • [job] [logs] FTR Configs #27 / dashboard app - group 3 dashboard time picker Saved search updated when time picker changes
  • [job] [logs] FTR Configs #21 / dashboard app - group 5 old charts library dashboard state "after all" hook for "Saved search will update when the query is changed in the URL"
  • [job] [logs] FTR Configs #21 / dashboard app - group 5 old charts library dashboard state "after all" hook for "Saved search will update when the query is changed in the URL"
  • [job] [logs] FTR Configs #21 / dashboard app - group 5 old charts library dashboard state Saved search with no changes will update when the saved object changes
  • [job] [logs] FTR Configs #21 / dashboard app - group 5 old charts library dashboard state Saved search with no changes will update when the saved object changes
  • [job] [logs] FTR Configs #21 / dashboard drilldowns Dashboard to URL drilldown should create dashboard to URL drilldown and use it to navigate to discover
  • [job] [logs] FTR Configs #21 / dashboard drilldowns Dashboard to URL drilldown should create dashboard to URL drilldown and use it to navigate to discover
  • [job] [logs] FTR Configs #36 / dashboard sample data dashboard "before all" hook for "should launch sample flights data set dashboard"
  • [job] [logs] FTR Configs #36 / dashboard sample data dashboard "before all" hook for "should launch sample flights data set dashboard"
  • [job] [logs] FTR Configs #1 / data plugin Session management Discover "before all" hook for "Starts on index pattern select"
  • [job] [logs] FTR Configs #1 / data plugin Session management Discover "before all" hook for "Starts on index pattern select"
  • [job] [logs] FTR Configs #41 / Discover alerting Search source Alert should navigate to discover via view in app link
  • [job] [logs] FTR Configs #41 / Discover alerting Search source Alert should navigate to discover via view in app link
  • [job] [logs] FTR Configs #15 / discover app discover no data adds a new data view when no data views
  • [job] [logs] FTR Configs #15 / discover app discover no data adds a new data view when no data views
  • [job] [logs] FTR Configs #18 / discover app discover tab field data search php should show the correct hit count
  • [job] [logs] FTR Configs #18 / discover app discover tab field data search php should show the correct hit count
  • [job] [logs] FTR Configs #43 / Discover discover async search "before all" hook for "search session id should change between searches"
  • [job] [logs] FTR Configs #43 / Discover discover async search "before all" hook for "search session id should change between searches"
  • [job] [logs] FTR Configs #30 / discover feature controls discover feature controls security global discover all privileges "before all" hook for "shows discover navlink"
  • [job] [logs] FTR Configs #30 / discover feature controls discover feature controls security global discover all privileges "before all" hook for "shows discover navlink"
  • [job] [logs] FTR Configs #32 / home app Kibana browser back navigation should work detect navigate back issues
  • [job] [logs] FTR Configs #32 / home app Kibana browser back navigation should work detect navigate back issues
  • [job] [logs] FTR Configs #8 / lens app - group 1 lens query context should carry over time range and pinned filters to discover
  • [job] [logs] FTR Configs #8 / lens app - group 1 lens query context should carry over time range and pinned filters to discover
  • [job] [logs] FTR Configs #38 / machine learning - data visualizer field statistics in Discover when enabled with farequote index pattern displays the 'Field statistics' table content correctly
  • [job] [logs] FTR Configs #38 / machine learning - data visualizer field statistics in Discover when enabled with farequote index pattern displays the 'Field statistics' table content correctly
  • [job] [logs] FTR Configs #37 / management scripted fields creating and using Painless numeric scripted fields discover scripted field should see scripted field value in Discover
  • [job] [logs] FTR Configs #37 / management scripted fields creating and using Painless numeric scripted fields discover scripted field should see scripted field value in Discover
  • [job] [logs] FTR Configs #46 / maps app discover visualize button should link geo_shape fields to Maps application
  • [job] [logs] FTR Configs #46 / maps app discover visualize button should link geo_shape fields to Maps application
  • [job] [logs] FTR Configs #16 / Reporting Functional Tests with Deprecated Security configuration enabled Security with reporting_user built-in role Discover: Generate CSV does not allow user that does not have reporting_user role
  • [job] [logs] FTR Configs #16 / Reporting Functional Tests with Deprecated Security configuration enabled Security with reporting_user built-in role Discover: Generate CSV does not allow user that does not have reporting_user role
  • [job] [logs] FTR Configs #14 / Reporting Functional Tests with Security enabled Security with reporting_user built-in role Discover: Generate CSV does not allow user that does not have reporting privileges
  • [job] [logs] FTR Configs #14 / Reporting Functional Tests with Security enabled Security with reporting_user built-in role Discover: Generate CSV does not allow user that does not have reporting privileges
  • [job] [logs] Jest Tests #4 / Resolve index pattern tests returns fallback data for an invalid index pattern
  • [job] [logs] FTR Configs #40 / security app dls user East should only see EAST doc
  • [job] [logs] FTR Configs #40 / security app dls user East should only see EAST doc
  • [job] [logs] FTR Configs #14 / visualize app visualize lab mode "after all" hook for "disabling does not break loading saved searches"
  • [job] [logs] FTR Configs #14 / visualize app visualize lab mode "after all" hook for "disabling does not break loading saved searches"
  • [job] [logs] FTR Configs #14 / visualize app visualize lab mode disabling does not break loading saved searches
  • [job] [logs] FTR Configs #14 / visualize app visualize lab mode disabling does not break loading saved searches
  • [job] [logs] FTR Configs #42 / Visualize pre_calculated_histogram appears correctly in discover
  • [job] [logs] FTR Configs #42 / Visualize pre_calculated_histogram appears correctly in discover

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
discover 492.5KB 492.3KB -130.0B
Unknown metric groups

ESLint disabled in files

id before after diff
apm 14 13 -1
observability 6 5 -1
securitySolution 74 73 -1
total -3

ESLint disabled line counts

id before after diff
apm 86 83 -3
enterpriseSearch 9 7 -2
observability 48 47 -1
synthetics 61 55 -6
ux 10 9 -1
total -13

Total ESLint disabled count

id before after diff
apm 100 96 -4
enterpriseSearch 9 7 -2
observability 54 52 -2
securitySolution 514 513 -1
synthetics 67 61 -6
ux 13 12 -1
total -16

History

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

@@ -76,6 +77,8 @@ export function DiscoverMainRoute(props: Props) {
const loadDefaultOrCurrentIndexPattern = useCallback(
async (searchSource: ISearchSource) => {
try {
debugger;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you have forgotten to remove debugger here. It might be the reason of ci failures.

@ppisljar ppisljar closed this Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants