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

[uiActionsEnhanced] reduce bundle size #112956

Merged
merged 5 commits into from
Sep 27, 2021
Merged

Conversation

Dosant
Copy link
Contributor

@Dosant Dosant commented Sep 23, 2021

Summary

Close #109891
Close #95872

  • Lazy load handle bars
  • Lazy load UI components

Before

After

Screen Shot 2021-09-23 at 14 54 57

@Dosant Dosant changed the title [uiActionsEnhanced] lazy load handlebars [uiActionsEnhanced] reduce bundle size Sep 23, 2021
@Dosant Dosant added release_note:skip Skip the PR/issue when compiling release notes Team:AppServices v7.16.0 v8.0.0 labels Sep 23, 2021
@Dosant Dosant marked this pull request as ready for review September 23, 2021 15:24
@Dosant Dosant requested review from a team as code owners September 23, 2021 15:24
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@Dosant Dosant requested a review from vadimkibana September 23, 2021 15:24
@botelastic botelastic bot added the Feature:Drilldowns Embeddable panel Drilldowns label Sep 23, 2021
@Dosant
Copy link
Contributor Author

Dosant commented Sep 27, 2021

@elasticmachine merge upstream

Copy link
Contributor

@vadimkibana vadimkibana left a comment

Choose a reason for hiding this comment

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

LGTM, left a couple of optional nits.

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Reporting Functional Tests With Deprecated Roles config.x-pack/test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges·ts.Reporting Functional Tests with Deprecated Security configuration enabled Security with `reporting_user` built-in role Discover: Generate CSV does allow user with reporting_user role

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]                     │
[00:00:00]                       └-: Reporting Functional Tests with Deprecated Security configuration enabled
[00:00:00]                         └-> "before all" hook in "Reporting Functional Tests with Deprecated Security configuration enabled"
[00:00:00]                         └-> "before all" hook in "Reporting Functional Tests with Deprecated Security configuration enabled"
[00:00:00]                           │ debg creating role data_analyst
[00:00:00]                           │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [data_analyst]
[00:00:00]                           │ debg creating user data_analyst
[00:00:00]                           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [data_analyst]
[00:00:00]                           │ debg created user data_analyst
[00:00:00]                           │ debg creating user reporting_user
[00:00:00]                           │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [reporting_user]
[00:00:00]                           │ debg created user reporting_user
[00:00:00]                         └-: Security with `reporting_user` built-in role
[00:00:00]                           └-> "before all" hook in "Security with `reporting_user` built-in role"
[00:00:00]                           └-> "before all" hook in "Security with `reporting_user` built-in role"
[00:00:00]                             │ info [x-pack/test/functional/es_archives/reporting/ecommerce] Loading "mappings.json"
[00:00:00]                             │ info [x-pack/test/functional/es_archives/reporting/ecommerce] Loading "data.json.gz"
[00:00:00]                             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [ecommerce] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                             │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[ecommerce][0]]])." previous.health="YELLOW" reason="shards started [[ecommerce][0]]"
[00:00:00]                             │ info [x-pack/test/functional/es_archives/reporting/ecommerce] Created index "ecommerce"
[00:00:00]                             │ debg [x-pack/test/functional/es_archives/reporting/ecommerce] "ecommerce" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:02]                             │ info [x-pack/test/functional/es_archives/reporting/ecommerce] Indexed 4675 docs into "ecommerce"
[00:00:02]                             │ debg resolved import for x-pack/test/functional/fixtures/kbn_archiver/reporting/ecommerce.json to /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/fixtures/kbn_archiver/reporting/ecommerce.json
[00:00:02]                             │ info importing 12 saved objects { space: undefined }
[00:00:02]                             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/YgOJ6AdaSp-IFR4IXfWRnQ] update_mapping [_doc]
[00:00:03]                             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/YgOJ6AdaSp-IFR4IXfWRnQ] update_mapping [_doc]
[00:00:03]                             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/YgOJ6AdaSp-IFR4IXfWRnQ] update_mapping [_doc]
[00:00:03]                             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/YgOJ6AdaSp-IFR4IXfWRnQ] update_mapping [_doc]
[00:00:03]                             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/YgOJ6AdaSp-IFR4IXfWRnQ] update_mapping [_doc]
[00:00:03]                             │ succ import success
[00:01:55]                           └-: Discover: Generate CSV
[00:01:55]                             └-> "before all" hook for "does not allow user that does not have reporting_user role"
[00:01:55]                             └-> does not allow user that does not have reporting_user role
[00:01:55]                               └-> "before each" hook: global before each for "does not allow user that does not have reporting_user role"
[00:01:55]                               │ debg SecurityPage.forceLogout
[00:01:55]                               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:01:55]                               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:01:56]                               │ debg Redirecting to /logout to force the logout
[00:01:56]                               │ debg Waiting on the login form to appear
[00:01:56]                               │ debg Waiting for Login Page to appear.
[00:01:56]                               │ debg Waiting up to 100000ms for login page...
[00:01:56]                               │ debg browser[INFO] http://localhost:61211/logout?_t=1632739747050 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:56]                               │
[00:01:56]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:56]                               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:01:59]                               │ debg browser[INFO] http://localhost:61211/login?msg=LOGGED_OUT 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:59]                               │
[00:01:59]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:59]                               │ERROR browser[SEVERE] http://localhost:61211/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:01:59]                               │ debg TestSubjects.exists(loginForm)
[00:01:59]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:59]                               │ debg Waiting for Login Form to appear.
[00:01:59]                               │ debg Waiting up to 100000ms for login form...
[00:01:59]                               │ debg TestSubjects.exists(loginForm)
[00:01:59]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:01:59]                               │ debg TestSubjects.setValue(loginUsername, data_analyst)
[00:01:59]                               │ debg TestSubjects.click(loginUsername)
[00:01:59]                               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:59]                               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:59]                               │ debg TestSubjects.setValue(loginPassword, data_analyst-password)
[00:01:59]                               │ debg TestSubjects.click(loginPassword)
[00:01:59]                               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:59]                               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:59]                               │ debg TestSubjects.click(loginSubmit)
[00:01:59]                               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:59]                               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:59]                               │ debg Waiting for login result, expected: undefined.
[00:01:59]                               │ debg Waiting up to 20000ms for logout button visible...
[00:01:59]                               │ debg TestSubjects.exists(userMenuButton)
[00:01:59]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:59]                               │ proc [kibana]   log   [10:49:10.352] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:02:01]                               │ debg browser[INFO] http://localhost:61211/app/home 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:01]                               │
[00:02:01]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:01]                               │ debg TestSubjects.exists(userMenu)
[00:02:01]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:02:04]                               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:02:05]                               │ debg TestSubjects.click(userMenuButton)
[00:02:05]                               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:02:05]                               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:02:05]                               │ debg TestSubjects.exists(userMenu)
[00:02:05]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:02:05]                               │ debg TestSubjects.exists(userMenu > logoutLink)
[00:02:05]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:02:05]                               │ debg Opening saved search: Ecommerce Data
[00:02:05]                               │ debg navigating to discover url: http://localhost:61211/app/discover#/
[00:02:05]                               │ debg navigate to: http://localhost:61211/app/discover#/
[00:02:05]                               │ debg browser[INFO] http://localhost:61211/app/discover?_t=1632739755831#/ 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:05]                               │
[00:02:05]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:05]                               │ debg ... sleep(700) start
[00:02:06]                               │ debg ... sleep(700) end
[00:02:06]                               │ debg returned from get, calling refresh
[00:02:07]                               │ debg browser[INFO] http://localhost:61211/app/discover?_t=1632739755831#/ 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:07]                               │
[00:02:07]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:07]                               │ debg currentUrl = http://localhost:61211/app/discover#/
[00:02:07]                               │          appUrl = http://localhost:61211/app/discover#/
[00:02:07]                               │ debg TestSubjects.find(kibanaChrome)
[00:02:07]                               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:07]                               │ debg ... sleep(501) start
[00:02:08]                               │ debg ... sleep(501) end
[00:02:08]                               │ debg in navigateTo url = http://localhost:61211/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:%275193f870-d861-11e9-a311-0fa548c5f953%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(order_date,desc)))
[00:02:08]                               │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:02:08]                               │ debg ... sleep(501) start
[00:02:09]                               │ debg ... sleep(501) end
[00:02:09]                               │ debg in navigateTo url = http://localhost:61211/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:%275193f870-d861-11e9-a311-0fa548c5f953%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(order_date,desc)))
[00:02:09]                               │ debg TestSubjects.exists(loadSearchForm)
[00:02:09]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:02:11]                               │ debg --- retry.tryForTime error: [data-test-subj="loadSearchForm"] is not displayed
[00:02:12]                               │ debg Waiting up to 20000ms for saved search panel is opened...
[00:02:12]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:02:12]                               │ debg TestSubjects.find(discoverOpenButton)
[00:02:12]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:12]                               │ debg TestSubjects.click(discoverOpenButton)
[00:02:12]                               │ debg Find.clickByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:12]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:12]                               │ debg isGlobalLoadingIndicatorVisible
[00:02:12]                               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:12]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:14]                               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:14]                               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:14]                               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:14]                               │ debg TestSubjects.exists(loadSearchForm)
[00:02:14]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:02:14]                               │ debg TestSubjects.click(savedObjectTitleEcommerce-Data)
[00:02:14]                               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleEcommerce-Data"]') with timeout=10000
[00:02:14]                               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleEcommerce-Data"]') with timeout=10000
[00:02:14]                               │ debg isGlobalLoadingIndicatorVisible
[00:02:14]                               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:14]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:16]                               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:16]                               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:16]                               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:16]                               │ debg openCsvReportingPanel
[00:02:16]                               │ debg openShareMenuItem title:CSV Reports
[00:02:16]                               │ debg TestSubjects.exists(shareContextMenu)
[00:02:16]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:02:19]                               │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:02:19]                               │ debg TestSubjects.click(shareTopNavButton)
[00:02:19]                               │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:02:19]                               │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:02:19]                               │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:02:19]                               │ debg TestSubjects.click(sharePanel-CSVReports)
[00:02:19]                               │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-CSVReports"]') with timeout=10000
[00:02:19]                               │ debg Find.findByCssSelector('[data-test-subj="sharePanel-CSVReports"]') with timeout=10000
[00:02:19]                               │ debg Find.waitForElementStale with timeout=10000
[00:02:20]                               │ debg TestSubjects.click(generateReportButton)
[00:02:20]                               │ debg Find.clickByCssSelector('[data-test-subj="generateReportButton"]') with timeout=10000
[00:02:20]                               │ debg Find.findByCssSelector('[data-test-subj="generateReportButton"]') with timeout=10000
[00:02:20]                               │ debg TestSubjects.exists(errorToastMessage)
[00:02:20]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="errorToastMessage"]') with timeout=2500
[00:02:20]                               │ERROR browser[SEVERE] http://localhost:61211/api/reporting/generate/csv_searchsource - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:02:20]                               └- ✓ pass  (24.4s) "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"
[00:02:20]                             └-> does allow user with reporting_user role
[00:02:20]                               └-> "before each" hook: global before each for "does allow user with reporting_user role"
[00:02:20]                               │ debg SecurityPage.forceLogout
[00:02:20]                               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:02:20]                               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:02:20]                               │ debg Redirecting to /logout to force the logout
[00:02:20]                               │ debg Waiting on the login form to appear
[00:02:20]                               │ debg Waiting for Login Page to appear.
[00:02:20]                               │ debg Waiting up to 100000ms for login page...
[00:02:20]                               │ debg browser[INFO] http://localhost:61211/logout?_t=1632739771378 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:20]                               │
[00:02:20]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:20]                               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:02:23]                               │ debg browser[INFO] http://localhost:61211/login?msg=LOGGED_OUT 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:23]                               │
[00:02:23]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:23]                               │ERROR browser[SEVERE] http://localhost:61211/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:23]                               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:02:24]                               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:02:24]                               │ debg TestSubjects.exists(loginForm)
[00:02:24]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:02:24]                               │ debg Waiting for Login Form to appear.
[00:02:24]                               │ debg Waiting up to 100000ms for login form...
[00:02:24]                               │ debg TestSubjects.exists(loginForm)
[00:02:24]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:02:24]                               │ debg TestSubjects.setValue(loginUsername, reporting_user)
[00:02:24]                               │ debg TestSubjects.click(loginUsername)
[00:02:24]                               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:24]                               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:24]                               │ debg TestSubjects.setValue(loginPassword, reporting_user-password)
[00:02:24]                               │ debg TestSubjects.click(loginPassword)
[00:02:24]                               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:24]                               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:24]                               │ debg TestSubjects.click(loginSubmit)
[00:02:24]                               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:24]                               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:24]                               │ debg Waiting for login result, expected: undefined.
[00:02:24]                               │ debg Waiting up to 20000ms for logout button visible...
[00:02:24]                               │ debg TestSubjects.exists(userMenuButton)
[00:02:24]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:02:24]                               │ proc [kibana]   log   [10:49:35.359] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:02:26]                               │ debg browser[INFO] http://localhost:61211/app/home 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:26]                               │
[00:02:26]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:27]                               │ debg TestSubjects.exists(userMenu)
[00:02:27]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:02:29]                               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:02:30]                               │ debg TestSubjects.click(userMenuButton)
[00:02:30]                               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:02:30]                               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:02:30]                               │ debg TestSubjects.exists(userMenu)
[00:02:30]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:02:30]                               │ debg TestSubjects.exists(userMenu > logoutLink)
[00:02:30]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:02:30]                               │ debg Opening saved search: Ecommerce Data
[00:02:30]                               │ debg navigating to discover url: http://localhost:61211/app/discover#/
[00:02:30]                               │ debg navigate to: http://localhost:61211/app/discover#/
[00:02:30]                               │ debg browser[INFO] http://localhost:61211/app/discover?_t=1632739780855#/ 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:30]                               │
[00:02:30]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:30]                               │ debg ... sleep(700) start
[00:02:31]                               │ debg ... sleep(700) end
[00:02:31]                               │ debg returned from get, calling refresh
[00:02:31]                               │ debg browser[INFO] http://localhost:61211/app/discover?_t=1632739780855#/ 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:31]                               │
[00:02:31]                               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:32]                               │ debg currentUrl = http://localhost:61211/app/discover#/
[00:02:32]                               │          appUrl = http://localhost:61211/app/discover#/
[00:02:32]                               │ debg TestSubjects.find(kibanaChrome)
[00:02:32]                               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:32]                               │ debg ... sleep(501) start
[00:02:32]                               │ERROR browser[SEVERE] http://localhost:61211/internal/spaces/_active_space - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:02:32]                               │ debg browser[INFO] http://localhost:61211/46505/bundles/core/core.entry.js 7:95831 "Detected an unhandled Promise rejection.
[00:02:32]                               │      TypeError: Failed to fetch"
[00:02:32]                               │ERROR browser[SEVERE] http://localhost:61211/46505/bundles/core/core.entry.js 0:15073 
[00:02:32]                               │ERROR browser[SEVERE] http://localhost:61211/api/saved_objects/_find?fields=title&fields=type&fields=typeMeta&per_page=10000&type=index-pattern - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:02:32]                               │ debg browser[INFO] http://localhost:61211/46505/bundles/core/core.entry.js 7:95831 "Detected an unhandled Promise rejection.
[00:02:32]                               │      TypeError: Failed to fetch"
[00:02:32]                               │ERROR browser[SEVERE] http://localhost:61211/46505/bundles/core/core.entry.js 0:15073 
[00:02:33]                               │ debg ... sleep(501) end
[00:02:33]                               │ debg in navigateTo url = http://localhost:61211/app/discover#/
[00:02:33]                               │ debg TestSubjects.exists(loadSearchForm)
[00:02:33]                               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:02:35]                               │ debg --- retry.tryForTime error: [data-test-subj="loadSearchForm"] is not displayed
[00:02:36]                               │ debg Waiting up to 20000ms for saved search panel is opened...
[00:02:36]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:02:36]                               │ debg TestSubjects.find(discoverOpenButton)
[00:02:36]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:46]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:02:46]                               │      Wait timed out after 10021ms
[00:02:46]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:02:46]                               │ debg TestSubjects.find(discoverOpenButton)
[00:02:46]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:56]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:02:56]                               │      Wait timed out after 10019ms
[00:02:57]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:02:57]                               │ debg TestSubjects.find(discoverOpenButton)
[00:02:57]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:03:07]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:03:07]                               │      Wait timed out after 10047ms
[00:03:07]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:03:07]                               │ debg TestSubjects.find(discoverOpenButton)
[00:03:07]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:03:17]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:03:17]                               │      Wait timed out after 10057ms
[00:03:18]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:03:18]                               │ debg TestSubjects.find(discoverOpenButton)
[00:03:18]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:03:28]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:03:28]                               │      Wait timed out after 10016ms
[00:03:28]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:03:28]                               │ debg TestSubjects.find(discoverOpenButton)
[00:03:28]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:03:38]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:03:38]                               │      Wait timed out after 10007ms
[00:03:39]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:03:39]                               │ debg TestSubjects.find(discoverOpenButton)
[00:03:39]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:03:49]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:03:49]                               │      Wait timed out after 10032ms
[00:03:49]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:03:49]                               │ debg TestSubjects.find(discoverOpenButton)
[00:03:49]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:03:59]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:03:59]                               │      Wait timed out after 10054ms
[00:04:00]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:04:00]                               │ debg TestSubjects.find(discoverOpenButton)
[00:04:00]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:04:10]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:04:10]                               │      Wait timed out after 10013ms
[00:04:10]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:04:10]                               │ debg TestSubjects.find(discoverOpenButton)
[00:04:10]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:04:20]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:04:20]                               │      Wait timed out after 10019ms
[00:04:21]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:04:21]                               │ debg TestSubjects.find(discoverOpenButton)
[00:04:21]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:04:31]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:04:31]                               │      Wait timed out after 10032ms
[00:04:31]                               │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:04:31]                               │ debg TestSubjects.find(discoverOpenButton)
[00:04:31]                               │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:04:42]                               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:04:42]                               │      Wait timed out after 10023ms
[00:04:42]                               │ debg --- retry.waitFor error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:04:42]                               │      Wait timed out after 10023ms
[00:04:42]                               │          at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:42]                               │          at runMicrotasks (<anonymous>)
[00:04:42]                               │          at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:43]                               │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/Reporting Functional Tests with Deprecated Security configuration enabled Security with _reporting_user_ built-in role Discover_ Generate CSV does allow user with reporting_user role.png"
[00:04:43]                               │ info Current URL is: http://localhost:61211/app/discover#/
[00:04:43]                               │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/Reporting Functional Tests with Deprecated Security configuration enabled Security with _reporting_user_ built-in role Discover_ Generate CSV does allow user with reporting_user role.html
[00:04:43]                               └- ✖ fail: Reporting Functional Tests with Deprecated Security configuration enabled Security with `reporting_user` built-in role Discover: Generate CSV does allow user with reporting_user role
[00:04:43]                               │      timed out waiting for saved search panel is opened -- last error: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:04:43]                               │ Wait timed out after 10023ms
[00:04:43]                               │     at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:43]                               │     at runMicrotasks (<anonymous>)
[00:04:43]                               │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:43]                               │     at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:43]                               │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:43]                               │     at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
[00:04:43]                               │     at TestSubjects.moveMouseTo (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:265:5)
[00:04:43]                               │     at DiscoverPageObject.clickLoadSavedSearchButton (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:142:5)
[00:04:43]                               │     at /dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:110:7
[00:04:43]                               │     at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:43]                               │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:43]                               │     at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:04:43]                               │     at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:04:43]                               │     at DiscoverPageObject.openLoadSavedSearchPanel (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:109:5)
[00:04:43]                               │     at DiscoverPageObject.loadSavedSearch (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:127:5)
[00:04:43]                               │     at Object.openSavedSearch (/dev/shm/workspace/parallel/21/kibana/x-pack/test/reporting_functional/services/scenarios.ts:68:5)
[00:04:43]                               │     at Context.<anonymous> (/dev/shm/workspace/parallel/21/kibana/x-pack/test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges.ts:64:9)
[00:04:43]                               │     at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:04:43]                               │   Error: timed out waiting for saved search panel is opened -- last error: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
[00:04:43]                               │   Wait timed out after 10023ms
[00:04:43]                               │       at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:43]                               │       at runMicrotasks (<anonymous>)
[00:04:43]                               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:43]                               │       at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:43]                               │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:43]                               │       at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
[00:04:43]                               │       at TestSubjects.moveMouseTo (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:265:5)
[00:04:43]                               │       at DiscoverPageObject.clickLoadSavedSearchButton (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:142:5)
[00:04:43]                               │       at /dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:110:7
[00:04:43]                               │       at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:43]                               │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:43]                               │       at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:04:43]                               │       at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:04:43]                               │       at DiscoverPageObject.openLoadSavedSearchPanel (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:109:5)
[00:04:43]                               │       at DiscoverPageObject.loadSavedSearch (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:127:5)
[00:04:43]                               │       at Object.openSavedSearch (test/reporting_functional/services/scenarios.ts:68:5)
[00:04:43]                               │       at Context.<anonymous> (test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges.ts:64:9)
[00:04:43]                               │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:04:43]                               │       at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:04:43]                               │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:43]                               │       at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:04:43]                               │       at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
[00:04:43]                               │       at DiscoverPageObject.openLoadSavedSearchPanel (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:109:5)
[00:04:43]                               │       at DiscoverPageObject.loadSavedSearch (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:127:5)
[00:04:43]                               │       at Object.openSavedSearch (test/reporting_functional/services/scenarios.ts:68:5)
[00:04:43]                               │       at Context.<anonymous> (test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges.ts:64:9)
[00:04:43]                               │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:04:43]                               │ 
[00:04:43]                               │ 

Stack Trace

Error: timed out waiting for saved search panel is opened -- last error: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverOpenButton"])
Wait timed out after 10023ms
    at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:31:12)
    at TestSubjects.moveMouseTo (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:265:5)
    at DiscoverPageObject.clickLoadSavedSearchButton (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:142:5)
    at /dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:110:7
    at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
    at DiscoverPageObject.openLoadSavedSearchPanel (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:109:5)
    at DiscoverPageObject.loadSavedSearch (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:127:5)
    at Object.openSavedSearch (test/reporting_functional/services/scenarios.ts:68:5)
    at Context.<anonymous> (test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges.ts:64:9)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
    at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at retryForTruthy (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:59:5)
    at DiscoverPageObject.openLoadSavedSearchPanel (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:109:5)
    at DiscoverPageObject.loadSavedSearch (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/discover_page.ts:127:5)
    at Object.openSavedSearch (test/reporting_functional/services/scenarios.ts:68:5)
    at Context.<anonymous> (test/reporting_functional/reporting_and_deprecated_security/security_roles_privileges.ts:64:9)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
uiActionsEnhanced 181 170 -11

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
uiActionsEnhanced 147 145 -2

Async chunks

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

id before after diff
uiActionsEnhanced 6.4KB 128.4KB +122.0KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
uiActionsEnhanced 10 9 -1

Page load bundle

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

id before after diff
uiActionsEnhanced 148.7KB 25.5KB -123.2KB
urlDrilldown 14.6KB 14.6KB +30.0B
total -123.2KB
Unknown metric groups

API count

id before after diff
uiActionsEnhanced 205 203 -2

async chunk count

id before after diff
uiActionsEnhanced 1 4 +3

History

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

@Dosant Dosant added the auto-backport Deprecated - use backport:version if exact versions are needed label Sep 27, 2021
@Dosant Dosant merged commit ac0fd7c into elastic:master Sep 27, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 112956

Dosant added a commit to Dosant/kibana that referenced this pull request Sep 27, 2021
# Conflicts:
#	packages/kbn-optimizer/limits.yml
Dosant added a commit that referenced this pull request Sep 27, 2021
* [uiActionsEnhanced] reduce bundle size (#112956)

# Conflicts:
#	packages/kbn-optimizer/limits.yml

* adjust bundle limit
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 Feature:Drilldowns Embeddable panel Drilldowns release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0
Projects
None yet
5 participants