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

[Discover] Advanced integration of adhoc Data Views #139984

Closed

Conversation

dimaanj
Copy link
Contributor

@dimaanj dimaanj commented Sep 2, 2022

Summary

Follow up of #138283

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

dimaanj and others added 30 commits August 8, 2022 18:13
…ce-hoc-data-views

# Conflicts:
#	src/plugins/unified_search/public/dataview_picker/change_dataview.tsx
#	test/functional/page_objects/unified_search_page.ts
@dimaanj dimaanj self-assigned this Sep 2, 2022
…ce-hoc-data-views

# Conflicts:
#	src/plugins/discover/public/__mocks__/services.ts
#	src/plugins/discover/public/application/main/components/top_nav/on_save_search.test.tsx
@dimaanj dimaanj added the WIP Work in progress label Sep 5, 2022
dimaanj and others added 21 commits September 5, 2022 18:05
…nj/kibana into complete-adhoc-data-view-integration

# Conflicts:
#	x-pack/plugins/lens/public/indexpattern_datasource/utils.tsx
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
discover 527 530 +3

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
discover 78 79 +1

Async chunks

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

id before after diff
dataViewEditor 31.9KB 31.9KB +6.0B
discover 463.1KB 467.8KB +4.7KB
lens 1.2MB 1.2MB -20.0B
total +4.7KB

Page load bundle

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

id before after diff
data 430.6KB 430.7KB +147.0B
discover 26.1KB 26.2KB +130.0B
maps 81.2KB 81.2KB +2.0B
total +279.0B
Unknown metric groups

API count

id before after diff
discover 95 96 +1

ESLint disabled line counts

id before after diff
data 46 47 +1
discover 37 38 +1
total +2

References to deprecated APIs

id before after diff
lens 4 3 -1

Total ESLint disabled count

id before after diff
data 48 49 +1
discover 38 39 +1
total +2

History

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

cc @dimaanj

@dimaanj
Copy link
Contributor Author

dimaanj commented Sep 28, 2022

Closing it, since #140885 created instead

@dimaanj dimaanj closed this Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants