kibana/packages/core
Kibana Machine 419cd20b4e
[8.8] Fix config stacking order (#158827) (#159025)
# Backport

This will backport the following commits from `main` to `8.8`:
- [Fix config stacking order
(#158827)](https://github.com/elastic/kibana/pull/158827)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2023-06-05T13:15:07Z","message":"Fix
config stacking order (#158827)\n\n## Summary\r\nFixes: #155154
(introduced in #149878), builds on #155436 .\r\n\r\n- Adds tests to
ensure the configuration merging order, check those
for\r\nreference.\r\n- Updates the README to explain the intention\r\n
\r\nFor the tests, I needed to output something to the logs. I hope it's
not\r\na big issue to log it. If needed, I might hide that behind a
verbose- or\r\nfeature flag.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c57589ec57e5e8265a66cd9c8c2102005736f6d8","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:fix","backport:prev-minor","v8.9.0"],"number":158827,"url":"https://github.com/elastic/kibana/pull/158827","mergeCommit":{"message":"Fix
config stacking order (#158827)\n\n## Summary\r\nFixes: #155154
(introduced in #149878), builds on #155436 .\r\n\r\n- Adds tests to
ensure the configuration merging order, check those
for\r\nreference.\r\n- Updates the README to explain the intention\r\n
\r\nFor the tests, I needed to output something to the logs. I hope it's
not\r\na big issue to log it. If needed, I might hide that behind a
verbose- or\r\nfeature flag.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c57589ec57e5e8265a66cd9c8c2102005736f6d8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/158827","number":158827,"mergeCommit":{"message":"Fix
config stacking order (#158827)\n\n## Summary\r\nFixes: #155154
(introduced in #149878), builds on #155436 .\r\n\r\n- Adds tests to
ensure the configuration merging order, check those
for\r\nreference.\r\n- Updates the README to explain the intention\r\n
\r\nFor the tests, I needed to output something to the logs. I hope it's
not\r\na big issue to log it. If needed, I might hide that behind a
verbose- or\r\nfeature flag.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c57589ec57e5e8265a66cd9c8c2102005736f6d8"}}]}]
BACKPORT-->

---------

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2023-06-05 11:05:34 -07:00
..
analytics Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
application Upgraded EUI to v76.0.0 (#152506) 2023-03-14 14:27:40 -05:00
apps Upgrade EUI to v77.0.0 (#154379) 2023-04-10 17:06:26 -05:00
base implement "plugin" package type (#149370) 2023-01-30 10:47:53 -07:00
capabilities Capability resolver: minor optimizations (#152784) 2023-03-09 08:37:42 +01:00
chrome Add EuiSkipLink to Kibana header (#153810) 2023-03-28 11:46:47 -07:00
config/core-config-server-internal Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
custom-branding [Custom Branding] Fetch custom branding on unauthenticated pages (#149207) 2023-01-31 10:01:35 +01:00
deprecations Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
doc-links Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
elasticsearch [8.8] Refactor KibanaMigrator, improve readability, maintainability and UT (#155693) (#158953) 2023-06-03 07:19:59 -07:00
environment Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
execution-context Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
fatal-errors Upgraded EUI to v76.0.0 (#152506) 2023-03-14 14:27:40 -05:00
http [HTTP] Switch default handler resolution based on Kibana config (#155142) 2023-04-20 15:20:09 +02:00
i18n [Unified search] Fixes the comma delimeter copy paste on multifields (#153772) 2023-03-29 11:00:15 +03:00
injected-metadata [Custom Branding] Fetch custom branding on unauthenticated pages (#149207) 2023-01-31 10:01:35 +01:00
integrations Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
lifecycle Per User Dark Mode Preference (#151507) 2023-04-25 15:19:20 -04:00
logging Generate kbn/ecs with ECS 8.6.1 (#151642) 2023-02-21 15:02:38 +01:00
metrics Adds support for event loop utilization to the core metrics service (#153717) 2023-03-29 14:35:55 -07:00
mount-utils Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
node [ZDT] Kibana as migration runner (#152813) 2023-03-08 10:51:06 -07:00
notifications [Discover] Inline data fetching errors (#152311) 2023-03-20 20:48:43 -03:00
overlays [8.8] fix console errors in inspector (#156894) (#157748) 2023-05-15 09:16:17 -07:00
plugins Per User Dark Mode Preference (#151507) 2023-04-25 15:19:20 -04:00
preboot Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
rendering [8.8] Fixing User Profiles/Kibana.yml config light mode precedence logic (#158177) (#158210) 2023-05-22 11:53:57 -07:00
root [8.8] Fix config stacking order (#158827) (#159025) 2023-06-05 11:05:34 -07:00
saved-objects [8.8] [Migrations] Update all aliases with a single updateAliases() when relocating SO documents #158940 (#158992) 2023-06-05 10:20:28 +02:00
status Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
test-helpers Introduce the SO versionModel API (#150149) 2023-02-07 09:14:26 -07:00
theme Flags core mocks packages as devOnly (#149466) 2023-01-26 08:46:06 -07:00
ui-settings Per User Dark Mode Preference (#151507) 2023-04-25 15:19:20 -04:00
usage-data Split the .kibana saved objects index into multiple indices (#154888) 2023-04-25 09:43:42 +02:00
user-settings Update CODEOWNERS to proper team (#155865) 2023-04-26 11:22:42 -04:00