Spencer
a6c0371b75
[8.2] [ftr] handle unexpected Kibana/ES shutdowns better ( #131767 ) ( #131812 )
...
* [ftr] handle unexpected Kibana/ES shutdowns better (#131767 )
(cherry picked from commit c6108ba076
)
# Conflicts:
# packages/kbn-test/src/functional_test_runner/functional_test_runner.ts
* fix rxjs usage
2022-05-09 09:41:13 -07:00
Spencer
85ffa79b2d
[8.2] [ci-stats-reporter] use v2 test group APIs ( #131001 ) ( #131438 )
...
* [ci-stats-reporter] use v2 test group APIs (#131001 )
* [ci-stats-reporter] use v2 test group APIs
* fix bazel deps
* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'
* avoid importing kbn/std in kbn-pm
* removed kbn/std dependency
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 7fd166176d
)
# Conflicts:
# packages/kbn-pm/dist/index.js
* [ci-stats-reporter] use a default timeout of 60 seconds (#131428 )
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 06b958d2a2
)
2022-05-03 12:44:47 -07:00
Spencer
db7db0e4ca
[ci-stats-reporter] prevent Request body larger than maxBodyLength limit
error ( #128840 )
...
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-03-29 17:53:38 -06:00
Spencer
92d65484a5
[plugin-discovery] move logic to a package ( #128684 )
2022-03-29 13:19:58 -06:00
Spencer
461415b24c
[vscode] automatically disable repo discovery ( #127985 )
2022-03-17 11:24:52 -07:00
Spencer
e378c0d890
[kbn/optimizer] extract string diffing logic ( #127394 )
2022-03-09 17:14:57 -06:00
Spencer
ad0eb60772
[kbn/generate] add basic package generator ( #127095 )
2022-03-08 18:04:45 -07:00
Spencer
4f2321d34c
[ToolingLog] remove some manual indent management ( #126636 )
...
* [ToolingLog] remove some manual indent management
* improve log message
* [dev/build] write the newline after a failed step
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-03 08:15:46 -07:00
Spencer
614139b8e5
[bazel] avoid a little boilerplate in packages ( #126309 )
...
* [bazel] avoid a little boilerplate for @types packages
* [bazel/ts] stop building sourcemaps since they're ignored
2022-02-24 12:43:12 -06:00
Spencer
48e8a84c8c
[ci-stats] add Client class for accessing test group stats ( #125164 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-14 14:25:17 -07:00
Spencer
cc0380a461
[ci-stats] send test results to ci-stats service ( #123740 )
...
* [ci-stats] send test results to ci-stats service
* move export to export type
2022-02-03 16:00:38 -08:00
Spencer
12e63dd469
[ftr] support filtering tests by es version ( #123289 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-19 15:46:32 -07:00
Tiago Costa
64468b7a3e
chore(NA): splits types from code on @kbn/utils ( #121924 )
2021-12-23 03:18:10 +00:00
Rudolf Meijering
1a6a9ae438
Surfacing deprecations with rich context from ES warning header ( #120044 )
...
* First stab at surfacing deprecations from warning header
* Log deprecations with error level but disable logger context by default
* Don't filter out error logs from ProcRunner
* Another try at not having messages ignored on CI
* Log deprecation logs with warn not info
* Tests
* Let write() do it's writing
* Commit pre-built @kbn/pm package
* Second try to commit pre-built @kbn/pm package
* Enable deprecation logger for jest_integration even though logs aren't interleaved
* Apply suggestions from code review
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
* deprecations logger: warn for kibana and debug for users
* Refactor split query and deprecation logger out of configure_client
* Unit test for tooling_log_text_writer
* Fix TS
* Use event.meta.request.params.headers to include Client constructor headers
* Fix tests
* Ignore deprecation warnings not from Elasticsearch
* Log on info level
* Log in JSON so that entire deprecation message is on one line
* commit built kbn-pm package
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-08 18:32:44 +01:00
Tiago Costa
de5dd787b1
chore(NA): splits types from code on @kbn/dev-utils ( #120531 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-07 20:12:18 +00:00
Spencer
371a1ffc6c
[vscode] ignore tsconfig.tsbuildinfo and .map files ( #117458 )
2021-11-04 03:58:21 +00:00
Spencer
4385ac4d83
[eslint] enable type-specific lint rules ( #114184 )
...
* [eslint] enable type-specific lint rules
* autofix violations
* duplicate eslint-disable to new export statement
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 16:56:17 -06:00
Tyler Smalley
4749e933b1
[vscode] Exclude api_docs directory from search and watch ( #115786 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-20 12:53:19 -04:00
Jonathan Budzenski
7d66002da2
Bump node to 16.11.1 ( #110684 )
...
* Bump node to ^16
* fix comment
* use jest timers
* bump mock-fs
* Fix core type errors
* Unskipping tests that work on my machine
* skip new unhandled promise rejection
* Fix Nodejs v16 regression due to https://github.com/nodejs/node/issues/38924
* Fix failing concurrent connections collector test
* Fix types after merge from master
* update servicenow test
* Skip unhandledRejection tests
* Skip tests with unhandled promise rejection
* Fix discover jest failures
* bump node to 16.11.1
* revert timeout increase
* skip unhandled promise rejection
* rm jest import
* skip unhandled promise rejection
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-10-16 16:21:58 -05:00
Aleh Zasypkin
025861c189
Add API integration tests for Interactive Setup. ( #111879 )
2021-10-14 20:14:01 +02:00
Spencer
eeed2ca6ae
[ci] filter out proc-runner logs from stdout on CI ( #114568 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-13 11:03:04 -05:00
Tyler Smalley
690c25112c
[ci-metrics] Use git rev-parse for branch ( #114736 )
...
--show-current was added in 2.22, which is still relatively new.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-12 21:17:01 -04:00
Spencer
7c087fea82
[ci-stats] support sending meta with metrics ( #114198 )
...
* [ci-stats] support sending meta with metrics
* update kbn/pm dist
* improve comments stat
* update kbn/pm dist
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 23:01:02 -05:00
Spencer
912eb0d937
[ftr] ensure indentation is reset between configs ( #114359 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 00:29:10 +01:00
Spencer
032473ba29
[ci-stats-reporter] ensure HTTP adapter is used ( #114367 )
...
* [ci-stats-reporter] ensure HTTP adapter is used
* update kbn/pm dist
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 17:52:44 -05:00
Tyler Smalley
b59e3ff460
[vscode] Set typescript.tsserver.maxTsServerMemory ( #113959 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-06 08:11:12 -07:00
Liza Katz
b62566da33
[ci-stats] Collects additional timings for cli tools ( #113030 )
...
* [ci-stats] Collects additional metrics about bootstrap
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* test reporting
* [ci-stats] Collects additional metrics about bootstrap
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Move ts timing to build_ts_refs_cli script
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Add timings to run
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* info debug level
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* fix build
* Move report function to dev-utils
align name of tests
report from functional test runner
* report snapshot install \ ready times
fix event names
* Report memory usage and branch hash
* fix eslint
* fix integration test
* build
* mergy merge
* mergy merge 2
* eslint
* eslint
* ready events
* Update packages/kbn-es/src/cli_commands/snapshot.js
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* Update packages/kbn-es/src/cluster.js
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* Update packages/kbn-es/src/cli_commands/snapshot.js
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* Update packages/kbn-test/src/functional_tests/cli/start_servers/cli.js
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* Update src/dev/run_check_published_api_changes.ts
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* Update packages/kbn-test/src/jest/run.ts
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* Update src/dev/run_i18n_check.ts
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* Update packages/kbn-test/src/functional_test_runner/cli.ts
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
* code review
* pm
* merge
* dist
* jest fix
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2021-10-05 12:57:40 +03:00
Tyler Smalley
284732f058
[ci-stats] Local metrics fixes ( #113492 )
...
* Rename `{ group: 'yarn start', id: 'started' }` to `{ group: 'scripts/kibana', id: 'dev server started' }` for consistency
* Rename `{ group: '@kbn/optimizer' }` to `{ group: 'scripts/build_kibana_platform_plugins' }` for consistency
* Include email for Elastic employees
* Standardize on Unix paths
* Set `subProcess: true` if the timing is already captured by a parent.
* Move nestedTiming to global and use normalize-path
2021-10-03 11:43:45 -05:00
renovate[bot]
17d3cb844f
Update babel (master) ( #113352 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-01 15:07:55 -07:00
Tyler Smalley
14e65bf05d
[vscode] Set typescript.enablePromptUseWorkspaceTsdk ( #113476 )
...
To prompt users to use the workspace configured version of Typescript.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 18:13:45 -04:00
Tyler Smalley
d20a696e95
[ci-stats] Collects additional timings about bootstrap ( #112919 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 20:56:49 -04:00
Spencer
bc9ad13190
[vscode] support managing string keys and manage typescript.tsdk ( #112185 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-14 21:30:41 -07:00
Spencer
c5887450c6
[ci-stats] retry requests that respond with a 500 or greater ( #111967 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-13 11:56:41 -07:00
Tiago Costa
7c4e4f507b
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule ( #110620 )
...
* chore(NA): replace babel config files by inline presets by default in the js_ts_transpiler rule
* chore(NA): update @kbn/ace build to exclude worker file
* chore(NA): remove config file support
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 21:17:46 +01:00
Spencer
8c567624d3
[ci-stats] retry calls to ci-stats slower ( #110845 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-01 15:41:13 -04:00
Spencer
1500534a51
add script to update VSCode config with proper excludes ( #110161 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 16:43:28 -07:00
Stacey Gammon
52ee65b8d5
Make owner attribute required on kibana.json ( #108231 )
...
* make owner attribute required
* Add owner properties in more places
* add test for owner attribute
* add error check too in the test
* Fix tests
* fix tests and update docs
* wip
* More test fixes
* Fix All The Errorz
* Adding more owner attributes
* Update x-pack/test/saved_object_api_integration/common/fixtures/saved_object_test_plugin/kibana.json
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
* Update x-pack/test/ui_capabilities/common/fixtures/plugins/foo_plugin/kibana.json
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
* commeeeooonnnn
* Update docs
* soooo many kibanajsons
* adjust plugin generator to add an owner
* Add owner to the plugin generator scripts
* update snapshot
* Fix snapshot
* review updates
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-24 10:02:32 -04:00
Spencer
c0395c9ef6
[build_ts_refs] improve caches, allow building a subset of projects ( #107981 )
...
* [build_ts_refs] improve caches, allow building a subset of projects
* cleanup project def script and update refs in type check script
* rename browser_bazel config to avoid kebab-case
* remove execInProjects() helper
* list references for tsconfig.types.json for api-extractor workload
* disable composite features of tsconfig.types.json for api-extractor
* set declaration: true to avoid weird debug error
* fix jest tests
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-10 22:12:45 -07:00
Tiago Costa
b9acd3ce74
chore(NA): moving @kbn/dev-utils to babel transpiler ( #107245 )
...
* chore(NA): moving @kbn/dev-utils to babel transpiler
* chore(NA): fix types field on tsconfig files for packages missing it
* chore(NA): update package.jsons
* chore(NA): update kbn/pm dist
* chore(NA): update types field on package jsons
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-30 16:03:42 -04:00
Tiago Costa
e0ea3233d9
chore(NA): moving @kbn/es-query to babel transpiler ( #107281 )
...
* chore(NA): moving @kbn/es-query to babel transpiler
* chore(NA): update limits
2021-07-30 18:38:02 +01:00
Spencer
926db441b9
[dev-utils/run] support --info flag when default log level changed ( #107244 )
...
* [dev-utils/run] support --info flag when default log level changed
* update kbn/pm dist and remove excess --debug flag
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-30 10:22:18 -07:00
Spencer
ec160d5c47
[kbn/dev-utils] pull in extract() helper ( #106277 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-20 13:13:48 -07:00
Greg Thompson
fa03028688
Enable CSS-in-JS styling with emotion
( #98157 )
...
* emotion deps
* kbn-babel
* kbn-test
* examples
* babel-plugin-styled-components config
* css prop type fixes
* type context
* declaration location
* some emotion types resolved
* clean up
* emotion v10 accomodations
* types
* kbn-crypto
* kbn-telemetry-tools
* bazel
* eslint rule; shared file regex array
* update paths
* Update packages/kbn-eslint-plugin-eslint/rules/module_migration.js
Co-authored-by: Spencer <email@spalger.com>
* remove placeholder styles
* doc api changes
* snapshot updates
* storybook comments
* use constant
* bump new deps
* condense versions
Co-authored-by: Spencer <email@spalger.com>
2021-07-09 13:42:50 -05:00
Domenico Andreoli
5b49380787
CCS Cypress integration ( #103941 )
...
* Add CCS Cypress test runner
* Split flow for CCS Cypress tests
* Make esArchiver load data onto the remote cluster
* Add CCS specific rules with customizable remote name
* Allow overriding @kbn/dev-utils's CA_CERT_PATH
* Add CCS related docs
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2021-07-06 09:20:54 -07:00
Stacey Gammon
0254ff06b5
Support owner and description attributes inside the Manifest file, use in API docs ( #101786 )
...
* Support owner and description in manifest file, add to mdx output for each plugin
* Update parse_kibana_platform_plugin.ts
* edit a couple kibana.jsons
* Update write_plugin_mdx_docs.ts
* update api docs
* Update core server manifest plugin types
* update core docs
* Fix type_check failure
2021-06-09 16:18:21 -04:00
Tiago Costa
50616aa0f9
chore(NA): correctly setup dep order on js_library to fix windows build ( #100420 )
2021-05-21 00:03:54 +01:00
Tiago Costa
f690c60517
chore(NA): moving @kbn/dev-utils into bazel ( #98496 )
...
* chore(NA): moving @kbn/dev-utils into bazel
* docs(NA): updated generated plugin list
2021-04-28 23:46:33 +01:00
Tiago Costa
a8a8289b20
chore(NA): chore(NA): moving @kbn/utils into bazel ( #97833 )
...
* chore(NA): chore(NA): moving @kbn/utils into bazel
* chore(NA): run kbn-test integration test with preserve-symlinks
2021-04-22 17:55:38 +01:00
Tiago Costa
b6fd28884b
chore(NA): moving @kbn/babel-preset into bazel ( #97271 )
...
* chore(NA): moving @kbn/babel-preset into bazel
* chore(NA): remove unused deps from xpack package.json
2021-04-19 12:37:56 +02:00
Spencer
d8ef85e85b
[globby] normalize paths for windows support ( #96476 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-07 14:08:28 -07:00