Commit graph

2505 commits

Author SHA1 Message Date
Tim Sullivan
d4a4dde1b4
Puppeteer v18.1 (#143485) (#143713)
* use build options for smaller build

* update to puppeteer@18.1.0

* increase timeouts

- reporting.queue.timeout: 4m
- screenshotting.timeouts.openUrl: 1m
- screenshotting.timeouts.waitForElements: 1m
- screenshotting.timeouts.renderComplete: 2m

* update docs and refs for timeouts

* add arm64 info

* fix binaryChecksum for linux_x64

* restore comment?

* Build script changes from #143022

(cherry picked from commit 53d07a2283)
2022-10-19 16:56:43 -07:00
Tiago Costa
7c3461727d
chore(NA): bump version to 8.4.4 (#142782)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 20:04:11 +01:00
Jonathan Budzenski
aaf4230b8b
[8.4] Bump node to 16.17.1 (#141702) (#141712) 2022-09-23 15:19:18 -07:00
Tyler Smalley
990896d587
[8.4] Bumps version to 8.4.3 (#141114) 2022-09-20 09:34:28 -07:00
Kibana Machine
d4f5d7fa9d
Upgrade node-sass dependency (7.0.17.0.3). (#140366) (#140416)
(cherry picked from commit cfff4c102c)

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2022-09-09 08:29:56 -07:00
Aleh Zasypkin
5eeee7ead2
[8.4] Update platform security modules (main) (#139169) (#140027)
* Update platform security modules (main) (#139169)

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
(cherry picked from commit 5e0615f628)

* Fix yarn.lock.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 08:17:39 -07:00
Tiago Costa
f1b2209d57
chore(NA): bump version to 8.4.2 (#139714)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-31 04:33:35 +01:00
Jeramy Soucy
f5faf5cba2
[8.4] Remove file-type dependency via jimp (#137214) (#139433)
* Remove file-type dependency via jimp (#137214)

* Removed file-type from package.json deps.
Updated jimp to 0.16.1.
Updated light & dark dashboard baseline screenshots to resolve failure due to resize degradation.

* Replaced jimp with sharp and pixelmatch. Eliminates several deps, including file-type.
Eliminates quality degradation from image resizing.

* Fixed copy paste error, which lead to pass positives and errors.

* Integrated updateBaselines flag into dashboards report testing.
Fixed sharp resize to fit and not truncate the original image.

* Removed accidental '.only'

* Reverted area chart baseline.

* Removed explicit declaration of sharp from package.json.

* Adjusted dashboard screenshot size in attempt to eliminate layout scaling issues in CI testing.

* Reverted dashboard screenshot size. Lowered tolerance in dashboard PNG reporting tests to force failure and collect CI screenshots.

* Changed session save location for dashboard report images for better CI reporting.

* Fixed small dashboard baseline screenshot with correct aspect ratio.

* Updated 2 basline screenshots from CI. Lowered PNG match tolerance for dashboard screenshots to 1% for investigation of remaining screens.

* Update of dashboard controls light mode baseline.
Change of forced container width size in large dashboard layout test.

* Updated dashboard controls dark mode baseline screenshot.
Adjusted forced container width in large dashboard layout test for troubleshooting.

* Lowering tolerance of PNG compare tests from 9% to 1% for troubleshooting.
Replaced references to dedundant image service with existing, more adopted reporting service.
Ideally, the PNG functions of the reporting service would be merged with the screenshot service as an image service.

* Reverting tolerance of PNG compares to 0.09. Will create GH issues for specific teams to investigate.

* Implemented PngService to provide an accessible single reference to PNG compare testing.
Removed redundant implementations and references.

* Updated service reference and call to png compare function left out of last commit.

* Updated another missed PNG reference.

* Removed superfluous parameter.

* Update after bootstrap

* Updated area chart baseline to match new render with panel filters.

* Reverted limits in dashboard snapshot tests to original values.

* Merge and rebuild.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Update to dashboard screen test area chart baseline.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-29 07:05:09 -07:00
Tiago Costa
4915fc9639
chore(NA): bump version to 8.4.1 (#139381)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-24 19:07:48 +01:00
Thomas Watson
247bcc6cb2
Upgrade micromatch from v3.1.10 to v4.0.5 (#139187) (#139267)
(cherry picked from commit 491a461f3e)

# Conflicts:
#	yarn.lock
2022-08-23 02:59:13 -07:00
Nick Partridge
53debb7665
Update dependency @elastic/charts to v47.2.0 (#138093) (#139243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
(cherry picked from commit 20be5a8782)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 15:02:17 -07:00
Kibana Machine
4391d77dbc
Adds new proxy tests and manual proxy tester (#138071) (#138919)
The new proxy tests added can test a variety of different proxy
and target server configurations, however many of those tests
are broken with our current proxy agents.  Hopefully to be fixed
by replacing with hpagent instead.  In the meantime, we wanted to
get the basic test framework in as well.

In addition to tests, the stand-alone forward proxy has been
enhanced to use a better proxy server, `proxy`.  The existing
proxy server `http-proxy` does not support HTTPS out of the box,
and so any HTTPS testing with it is going to be a little sketchy.

Using the stand-alone forward proxy, I was able to post to Slack
through http/https proxies with and without auth, with
proxyRequestUnauthorized set to false.  Which shows the existing
proxy agents do work in _some_ environments.

(cherry picked from commit 9631649e72)

Co-authored-by: Patrick Mueller <patrick.mueller@elastic.co>
2022-08-16 08:13:57 -07:00
Kibana Machine
2898258f17
Bump chromedriver, selenium (#138607) (#138655)
(cherry picked from commit 826bf645a7)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-08-11 14:21:48 -05:00
Nick Partridge
31236b66ee
Update dependency @elastic/charts to v47.1.1 (#137762) (#138292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
(cherry picked from commit aea8603751)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 10:04:38 -07:00
Kibana Machine
dcc4ad744b
Update ejs 3.1.6 -> 3.1.8 (#137229) (#137513)
* Update ejs to 3.1.8

* Removed ejs package resolution. Fixed unmerged versions in yarn.lock.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6e920d43e1)

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2022-07-28 12:43:28 -07:00
Kibana Machine
572faf607d
Update simple-git 1.116.0 -> 3.10.0 (#137232) (#137520)
* Updates simple-git to 3.10.0

* Replaces deprecated simple-git imports. Adds needed null check for git status.

* Updated simple-git package dep with caret.

(cherry picked from commit 662adf84c5)

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2022-07-28 12:42:48 -07:00
Tiago Costa
6fc395615a
chore(NA): bump branch to 8.4 2022-07-27 16:14:14 +01:00
Pierre Gayvallet
0645a3ba38
Create common and api types packages for the savedObjects domain (#136722)
* Creating empty @kbn/core-saved-objects-common package

* start moving types around

* start fixing imports

* fix entrypoint exports

* fix external import

* create explicit ISavedObjectsRepository interface

* fix another external usage

* rewrite browser exports

* create explicit SavedObjectsClientContract interface

* move client/repository types to @kbn/core-saved-objects-api-server

* start fixing imports

* one more

* fix global re-exports

* fix some browser-side imports

* fix more violations

* prepare the browser-side client

* fix one more usage

* fix external usage

* fix more external usages

* one more

* Create @kbn/core-saved-objects-api-browser package

* fix more usages of error helper

* fix more internal imports

* use interface for SSO

* adapt more imports

* damn those types were a mess

* fix more usages of SSO

* Revert "fix more usages of SSO"

This reverts commit 07a12e5353.

* Revert "use interface for SSO"

This reverts commit 6240fc86c5.

* export the interface with the old name instead.

* adapt tests concrete usages of SSO

* export reference type, more fixes

* this gonna be long

* one more

* other resolve type change

* more usages

* Am I getting close?

* yet more fixes

* back to client impl

* fix bulkGetting undefined

* fix SS mock

* some cleanup

* self-review

* fix new usages
2022-07-26 04:01:33 -07:00
Clint Andrew Hall
b459ffa4c6
[home] Sample Data Tab w/ callout UI (#136790)
* [home] Sample Data Tab w/ callout UI

* Fix tests

* Update packages/home/sample_data_tab_content/src/demo_env_panel.tsx

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fixes

* Fixes

* Update test/functional/page_objects/home_page.ts

* Fix tests

* Add telemetry

* Add docs, more telemetry

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 18:34:32 -07:00
Spencer
20f9cf9fd4
[eslint] add rule for validating cross-boundary imports (#137116) 2022-07-25 18:49:17 -05:00
Christiane (Tina) Heiligers
d80890467f
Migrate core's metrics service to packages (#136909)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 09:09:33 -07:00
Pierre Gayvallet
6c9d93f3a0
Migrate server-side capabilities domain to packages (#136708)
* create @kbn/core-capabilities-common, start fixing imports

* create @kbn/core-capabilities-server

* adapt more imports

* adapt integration tests

* fix more type usages

* create the remaining packages

* move code to packages

* fix imports

* fix import from integration tests
2022-07-25 13:55:56 +02:00
renovate[bot]
1adaf53d25
Update dependency @elastic/charts to v47 (main) (#136984)
* Update dependency @elastic/charts to v47

* chore: fix typescript errors

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nickofthyme <nicholas.partridge@elastic.co>
2022-07-25 00:21:44 -07:00
renovate[bot]
600523f0bf
Update dependency vega-lite to ^5.3.0 (#136145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 10:18:22 +03:00
Jonathan Budzenski
22dc8c0739
Cleanup x-pack build (#136980) 2022-07-22 15:44:42 -05:00
Jonathan Budzenski
b8f41a0eea
Bump cssnano to ^5 (#136864)
* Bump cssnano to ^5

* include in css configuration

* fix

* cleanup
2022-07-22 12:15:07 -05:00
Bree Hall
44f7338f76
Upgrade EUI to v60.3.0 (#136405)
* Upgrade EUI to version 60.3.0

* Updated i18n translation mappings

* Updated snapshot for i18n test file

* Updated the regex pattern responsible for checking datagrid row and column names to match the updated pattern in the latest version of EUI

* update regex catpure group order

* update regex capture groups to ignore categorical info for text

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
2022-07-21 08:28:37 -04:00
renovate[bot]
d0fa29cbb9
Update platform security modules (#136700) 2022-07-21 10:14:29 +02:00
Jonathan Budzenski
96e284fdf4
Bump webpack-dev-server, cli (#136352) 2022-07-21 08:58:30 +02:00
renovate[bot]
c8e687b613
Update babel to ^7.18.9 (main) (#132064)
* Update babel to ^7.17.10

* coalese babel dep versions

* coalesce more versions

* update deps

* cleanup

* update yarn.lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: spalger <spencer@elastic.co>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-07-20 16:40:35 -05:00
Yaroslav Kuznietsov
d70945fbb7
[Dashboard] Upgraded react-sizeme from ^2.3.6 to 2.6.12 (#136628) 2022-07-20 20:28:25 +03:00
Jonathan Budzenski
8b6413ad3f
Bump emotion related packages (#136699)
* Bump emotion related packages

* update yarn.lock
2022-07-20 12:13:32 -05:00
Jonathan Budzenski
9e60ce0023
Bump chokidar to 3.5.3 (#136691) 2022-07-20 09:16:31 -07:00
Jonathan Budzenski
089398b995
Bump stylelint to ^14 (#136693)
* wip

* bump

* remove removed rule

* add custom syntax

* wip

* cleanup

* fix todo from postcss upgrade
2022-07-20 10:11:00 -05:00
Michael Dokolin
816264d5c4
[Reporting] Optimize images buffers handling on PDF generation (#136537)
* Bump `pdfmake` version
* Update PDF builder worker to reuse the existing image buffers
2022-07-20 16:04:41 +02:00
Pierre Gayvallet
3508350446
Migrate server-side ES domain to packages (#136297)
* create es types package

* start moving client types to @kbn/core-elasticsearch-server

* move ElasticsearchClientConfig to package

* start adapting usages

* start fixing imports

* fix more imports

* just a bit more

* move service types

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* fix more internal types

* move retry call cluster helpers outside of client package

* move client code and mocks to packages

* fix imports

* adapt external usages

* adapt more external usages

* adapt more external usages 2

* fix mocked module

* create empty domain packages

* more external usages fix

* move ALL the things (again)

* mock external import fix

* fix tests, add test dependencies

* fix some internal usages

* fix more internal usages

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* fix cli_setup usage

* desperate times force desperate decisions

* fix misc stuff

* update snapshots (?!)

* fix mocked package

* self review

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-20 10:07:48 +02:00
Corey Robertson
f128db1d30
[Canvas] Switch from style-it to emotion (#114393)
* Switch from style-it to emotion and remove style-it library

Co-authored-by: spalger <spencer@elastic.co>
Co-authored-by: Devon A Thomson <devon.thomson@elastic.co>
2022-07-19 16:19:33 -04:00
Jonathan Budzenski
88d64408c9
Bump postcss to ^8 (#136303)
* Bump postcss to ^8

* fixes

* fix config path

* fix path

* cleanup
2022-07-19 14:06:20 -05:00
renovate[bot]
d5c41569cd
Update dependency elastic-apm-node to ^3.37.0 (#136657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-19 09:55:07 -07:00
Tiago Costa
302bd423f3
chore(NA): eslint rule for disallowing naked eslint-disable (#136408)
* chore(NA): eslint rule for disallowing naked eslint-disable

* chore(NA): export new rule and update docs

* chore(NA): creation of rule in ts

* chore(NA): new corrected rule in ts

* refact(NA): remove old logic from older plugin

* docs(NA): update documentation

* docs(NA): update documentation

* docs(NA): update documentation

* refact(NA): include edge cases for better locating errors

* chore(NA): changed regex name

* docs(NA): correct name rule on docs

* refact(NA): use dedent in the template literals

* refact(NA): check for undefined

* fix(NA): introduces support for eslint-disable-line

* chore(NA): fix extra space

* test(NA): created more test cases

* chore(NA): rename plugin to eslint-plugin-disable

* docs(NA): update nav and operations landing page ids for eslint rule

* test(NA): use messageIds on test

* chore(NA): complete naked eslint disables with specific rules

* chore(NA): specific rules for a few naked eslint disable

* chore(NA): add focused eslint disable on big reindex_operation_with_large_error_message.ts file

* chore(NA): changes according PR feedback

* chore(NA): include specific eslint rules on latest naked eslint disable

* chore(NA): missing eslint disable specific rule

* fix(NA): remove comment for js annotator

* chore(NA): re add eslint focused disable rule to x-pack/plugins/osquery/cypress/support/coverage.ts

* chore(NA): re add eslint focused disable rule to x-pack/plugins/osquery/cypress/support/coverage.ts

* chore(NA): re add eslint focused disable rule to x-pack/plugins/osquery/cypress/support/coverage.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-19 17:11:04 +01:00
Søren Louv-Jansen
a5a9be439a
Bump backport v8.9.2 (#136620) 2022-07-19 10:29:55 -05:00
Pierre Gayvallet
0aa12c36fd
Migrate browser-side integrations service to packages (#136514)
* create empty packages

* move files to packages

* adapt imports

* add copy-files argument
2022-07-19 15:46:17 +02:00
renovate[bot]
99a01902ca
Update dependency core-js to ^3.23.5 (main) (#136489)
* Update dependency core-js to ^3.23.5

* dedupe

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-07-18 11:07:21 -05:00
Patryk Kopyciński
f0325b2f7d
Renovate react-query (#136480) 2022-07-18 17:57:28 +02:00
Spencer
4f817ad8a0
[kbn/pm] rewrite to avoid needing a build process (#136207)
* [kbn/pm] rewrite to avoid needing a build process

* uncomment timing reporting

* throw in a few missing comments

* Update README.md

* remove extra SomeDevLog interface from ci-stats-core

* remove non-stdio logging from bazel_runner, improve output formatting

* use private fields instead of just ts private props

* promote args to a positional arg

* optionally require the ci-stats-reporter after each command

* allow opt-ing out of vscode config management

* reduce to a single import

* add bit of docs regarding weird imports and package deps of kbn/pm

* clean extraDirs from Kibana's package.json file too

* tweak logging of run-in-packages to use --quiet and not just CI=true

* remove unlazy-loader

* add readme for @kbn/yarn-lock-validator

* convert @kbn/some-dev-logs docs to mdx

* remove missing navigation id and fix id in dev-cli-runner docs

* fix title of some-dev-logs docs page

* typo
2022-07-18 08:46:13 -07:00
renovate[bot]
68edf82552
Update ftr (main) (#136434)
* Update ftr

* dedupe

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-07-18 08:01:25 -07:00
renovate[bot]
74e0b586f6
Update dependency @elastic/charts to v46.13.0 (#136250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
2022-07-18 23:09:56 +09:30
Jonathan Budzenski
4498161a47
Bump moment-timezone to 0.5.34 (#136406)
Fixes a warning during bootstrap:
`info [bazel] warning " > @elastic/charts@46.12.0" has incorrect peer
dependency "moment-timezone@^0.5.32".`
2022-07-14 15:40:54 -05:00
Jonathan Budzenski
33b743c84e
Revert "Remove percy based visual regression tests (#136359)" (#136437)
* Revert "Remove percy based visual regression tests (#136359)"

This reverts commit a91aeb42ff.

* update codeowners
2022-07-14 14:53:12 -05:00
Jonathan Budzenski
a91aeb42ff
Remove percy based visual regression tests (#136359)
* Remove percy based visual regression tests

These have been disabled for ~3 years, the agent is deprecated, and our
snapshot environment is inactive.

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* update codeowners

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-14 10:03:49 -07:00