kibana
kibana copied to clipboard
[SharedUX/toMountPoint] Remove usage of deprecated toMountPoint
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.
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] Flaky Test Runner was used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more about keyboard accessibility)
- [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: FF, Chrome)
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
- [ ] This renders correctly on smaller devices using a responsive layout. (You can test this in your browser)
- [ ] This was checked for cross-browser compatibility
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
- [ ] This was checked for breaking API changes and was labeled appropriately
/ci
/ci
:broken_heart: Build Failed
- Buildkite Build
- Commit: 03cdcc47b71f893112c1775e360514cb6c026a80
- Interpreting CI Failures
- Storybooks Preview
Failed CI Steps
- Jest Tests #3
- Jest Tests #3
- Jest Tests #8
- Jest Tests #8
- Jest Tests #14
- Jest Tests #14
- FTR Configs #1
- FTR Configs #1
- FTR Configs #3
- FTR Configs #3
- FTR Configs #13
- FTR Configs #13
- FTR Configs #21
- FTR Configs #21
- FTR Configs #24
- FTR Configs #24
- FTR Configs #58
- FTR Configs #58
- FTR Configs #92
- FTR Configs #92
- APM Cypress Tests #1
- APM Cypress Tests #1
- Observability onboarding Cypress Tests #1
- Observability onboarding Cypress Tests #1
- Observability onboarding Cypress Tests #2
- Observability onboarding Cypress Tests #2
- Synthetics @elastic/synthetics Tests
- Synthetics @elastic/synthetics Tests
- Uptime @elastic/synthetics Tests
- Uptime @elastic/synthetics Tests
Test Failures
- [job] [logs] FTR Configs #3 / Cloud Security Posture Findings Page - Alerts Rule details The rule page contains the expected matching data
- [job] [logs] FTR Configs #3 / Cloud Security Posture Findings Page - Alerts Rule details The rule page contains the expected matching data
- [job] [logs] Jest Tests #14 / edit package policy page throws when both 'package-policy-edit' and 'package-policy-replace-define-step' are defined
- [job] [logs] Jest Tests #14 / edit package policy page throws when both 'package-policy-edit' and 'package-policy-replace-define-step' are defined
- [job] [logs] FTR Configs #1 / InfraOps App Metrics UI Home page alerts flyouts should open and close inventory alert flyout
- [job] [logs] FTR Configs #21 / InfraOps App Metrics UI Home page alerts flyouts should open and close inventory alert flyout
- [job] [logs] FTR Configs #1 / InfraOps App Metrics UI Home page alerts flyouts should open and close inventory alert flyout
- [job] [logs] FTR Configs #21 / InfraOps App Metrics UI Home page alerts flyouts should open and close inventory alert flyout
- [job] [logs] FTR Configs #13 / Monitoring app Cluster overview Alerts when create alerts options is selected in the alerts modal should show badges when entering setup mode
- [job] [logs] FTR Configs #13 / Monitoring app Cluster overview Alerts when create alerts options is selected in the alerts modal should show badges when entering setup mode
- [job] [logs] FTR Configs #13 / Observability Logs Explorer Header menu Discover fallback link should render a button link
- [job] [logs] FTR Configs #13 / Observability Logs Explorer Header menu Discover fallback link should render a button link
- [job] [logs] FTR Configs #24 / ObservabilityApp ExploratoryView should able to open exploratory view from ux app
- [job] [logs] FTR Configs #24 / ObservabilityApp ExploratoryView should able to open exploratory view from ux app
- [job] [logs] Jest Tests #14 / RuntimeFieldsPlugin should call core.overlays.openFlyout when opening the editor
- [job] [logs] Jest Tests #14 / RuntimeFieldsPlugin should call core.overlays.openFlyout when opening the editor
- [job] [logs] Jest Tests #8 / SearchInterceptor showError Renders a EsError
- [job] [logs] Jest Tests #8 / SearchInterceptor showError Renders a EsError
- [job] [logs] FTR Configs #58 / Uptime app with generated data uptime settings page loads the default settings
- [job] [logs] FTR Configs #58 / Uptime app with generated data uptime settings page loads the default settings
- [job] [logs] FTR Configs #92 / Uptime app with real-world data uptime alerts overview page alert flyout controls can open alert flyout
- [job] [logs] FTR Configs #92 / Uptime app with real-world data uptime alerts overview page alert flyout controls can open alert flyout
- [job] [logs] Jest Tests #14 / usePackageInstall useInstallPackage should handle install error
- [job] [logs] Jest Tests #14 / usePackageInstall useInstallPackage should handle install error
- [job] [logs] Jest Tests #14 / usePackageInstall useInstallPackage should work for install
- [job] [logs] Jest Tests #14 / usePackageInstall useInstallPackage should work for install
- [job] [logs] Jest Tests #14 / usePackageInstall useInstallPackage should work for upgrade
- [job] [logs] Jest Tests #14 / usePackageInstall useInstallPackage should work for upgrade
- [job] [logs] Jest Tests #3 / useStepFromQueryString should show datastream rollover modal if there is an error when updating mappings
- [job] [logs] Jest Tests #3 / useStepFromQueryString should show datastream rollover modal if there is an error when updating mappings
- [job] [logs] Jest Tests #3 / useStepFromQueryString should try to update mappings if there is impacted data_streams
- [job] [logs] Jest Tests #3 / useStepFromQueryString should try to update mappings if there is impacted data_streams
Metrics [docs]
Module Count
Fewer modules leads to a faster build time
id | before | after | diff |
---|---|---|---|
apm |
1675 | 1691 | +16 |
cloudSecurityPosture |
438 | 452 | +14 |
console |
248 | 252 | +4 |
dashboard |
446 | 447 | +1 |
devTools |
30 | 42 | +12 |
eventAnnotationListing |
509 | 523 | +14 |
filesManagement |
139 | 153 | +14 |
fleet |
998 | 1012 | +14 |
grokdebugger |
28 | 40 | +12 |
indexManagement |
652 | 656 | +4 |
infra |
1466 | 1476 | +10 |
metricsDataAccess |
264 | 274 | +10 |
observabilityOnboarding |
239 | 255 | +16 |
observabilityShared |
199 | 213 | +14 |
osquery |
336 | 346 | +10 |
painlessLab |
32 | 44 | +12 |
runtimeFields |
17 | 33 | +16 |
searchprofiler |
78 | 90 | +12 |
timelines |
121 | 137 | +16 |
total | +221 |
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 |
---|---|---|---|
@kbn/content-management-table-list-view-table |
33 | 30 | -3 |
timelines |
196 | 197 | +1 |
total | -2 |
Async chunks
Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app
id | before | after | diff |
---|---|---|---|
apm |
3.2MB | 3.2MB | +3.4KB |
cloudSecurityPosture |
452.1KB | 453.3KB | +1.2KB |
console |
441.2KB | 440.8KB | -404.0B |
dashboard |
397.1KB | 397.2KB | +21.0B |
data |
46.8KB | 46.7KB | -123.0B |
devTools |
5.5KB | 6.9KB | +1.4KB |
eventAnnotationListing |
198.5KB | 199.6KB | +1.1KB |
exploratoryView |
181.2KB | 181.2KB | +3.0B |
filesManagement |
90.5KB | 91.5KB | +1004.0B |
fleet |
1.3MB | 1.3MB | -589.0B |
graph |
387.4KB | 387.3KB | -91.0B |
grokdebugger |
8.7KB | 10.1KB | +1.4KB |
indexManagement |
656.2KB | 656.4KB | +161.0B |
infra |
1.5MB | 1.5MB | -25.0B |
kubernetesSecurity |
213.9KB | 214.1KB | +182.0B |
maps |
2.9MB | 2.9MB | +1.1KB |
metricsDataAccess |
83.4KB | 84.4KB | +991.0B |
observabilityOnboarding |
301.0KB | 304.5KB | +3.4KB |
observabilityShared |
54.9KB | 56.0KB | +1.1KB |
osquery |
1.0MB | 1.0MB | -491.0B |
painlessLab |
16.2KB | 17.6KB | +1.5KB |
profiling |
407.9KB | 407.9KB | -27.0B |
searchprofiler |
158.8KB | 160.2KB | +1.4KB |
slo |
720.3KB | 720.3KB | -3.0B |
synthetics |
1.0MB | 1.0MB | +48.0B |
threatIntelligence |
57.1KB | 57.4KB | +359.0B |
timelines |
30.3KB | 31.9KB | +1.7KB |
uptime |
468.1KB | 468.1KB | +16.0B |
visualizations |
273.6KB | 273.5KB | -63.0B |
total | +19.7KB |
Page load bundle
Size of the bundles that are downloaded on every page load. Target size is below 100kb
id | before | after | diff |
---|---|---|---|
cloudSecurityPosture |
16.0KB | 16.0KB | +52.0B |
console |
32.9KB | 32.8KB | -169.0B |
data |
417.5KB | 417.6KB | +102.0B |
devTools |
11.1KB | 11.0KB | -82.0B |
eventAnnotationListing |
10.7KB | 10.6KB | -21.0B |
filesManagement |
3.7KB | 3.6KB | -73.0B |
fleet |
159.9KB | 161.3KB | +1.4KB |
grokdebugger |
4.3KB | 4.5KB | +173.0B |
indexManagement |
42.3KB | 42.4KB | +106.0B |
infra |
102.5KB | 103.5KB | +1001.0B |
maps |
50.5KB | 50.6KB | +124.0B |
metricsDataAccess |
56.8KB | 56.8KB | +68.0B |
observabilityOnboarding |
6.6KB | 6.7KB | +124.0B |
osquery |
51.1KB | 52.7KB | +1.6KB |
painlessLab |
10.0KB | 10.2KB | +194.0B |
runtimeFields |
11.0KB | 12.9KB | +1.9KB |
searchprofiler |
18.8KB | 18.8KB | +3.0B |
timelines |
108.9KB | 109.2KB | +281.0B |
total | +6.8KB |
Unknown metric groups
API count
id | before | after | diff |
---|---|---|---|
@kbn/content-management-table-list-view-table |
50 | 46 | -4 |
timelines |
240 | 241 | +1 |
total | -3 |
References to deprecated APIs
id | before | after | diff |
---|---|---|---|
apm |
30 | 27 | -3 |
cloudSecurityPosture |
9 | 4 | -5 |
console |
5 | 1 | -4 |
crossClusterReplication |
2 | 1 | -1 |
dashboard |
28 | 24 | -4 |
data |
29 | 17 | -12 |
devTools |
3 | 0 | -3 |
eventAnnotationListing |
2 | 0 | -2 |
filesManagement |
6 | 1 | -5 |
fleet |
83 | 55 | -28 |
graph |
63 | 61 | -2 |
grokdebugger |
1 | 0 | -1 |
indexManagement |
2 | 0 | -2 |
infra |
4 | 1 | -3 |
maps |
33 | 25 | -8 |
metricsDataAccess |
3 | 0 | -3 |
observabilityOnboarding |
4 | 1 | -3 |
observabilityShared |
2 | 0 | -2 |
osquery |
22 | 9 | -13 |
painlessLab |
7 | 3 | -4 |
runtimeFields |
3 | 0 | -3 |
searchprofiler |
7 | 3 | -4 |
timelines |
2 | 0 | -2 |
visualizations |
62 | 60 | -2 |
total | -119 |
Unreferenced deprecated APIs
id | before | after | diff |
---|---|---|---|
kibanaReact |
2 | 3 | +1 |
History
- :broken_heart: Build #206697 failed f3b222d86eb35d48f53ee1cf0eebbe22d847ae2a
- :broken_heart: Build #206510 failed 64687b1c6344df7f880b00742db49b551a48a452
- :broken_heart: Build #206489 failed 88b62cd304af3a6b92699a7074b3f1d5289320cd
- :broken_heart: Build #206487 failed d72f2823c1ab048808120e013230aa6d9815d1e4
To update your PR or re-run it, just comment with:
@elasticmachine merge upstream
this has been split into separate PRs