Skip to content

[9.0] [chore][serverless] Remove dev-mode Project Switcher (#209144)#209446

Merged
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-209144
Feb 4, 2025
Merged

[9.0] [chore][serverless] Remove dev-mode Project Switcher (#209144)#209446
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-209144

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

As titled. The Project Switcher was created in elastic#155582 as a means of
allowing a developer to switch between project types without having to
restart Kibana. Since that first PR, Kibana *must* be started with a
particular project configuration in mind-- the switcher now does
nothing. This PR removes it and deprecates the config keys.

(cherry picked from commit 1f53a84)
@kibanamachine kibanamachine merged commit f97a71a into elastic:9.0 Feb 4, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #36 / Space awareness change space agent policies PUT /agent_policies/{id} should allow set policy in multiple space

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
serverless 67 56 -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
@kbn/serverless-project-switcher 7 - -7

Async chunks

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

id before after diff
serverless 27.5KB 27.5KB +34.0B

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
@kbn/serverless-project-switcher 1 - -1
@kbn/serverless-types 1 0 -1
total -2

Page load bundle

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

id before after diff
serverless 12.1KB 9.1KB -3.0KB
Unknown metric groups

API count

id before after diff
@kbn/serverless-project-switcher 10 - -10
serverless 25 24 -1
total -11

cc @clintandrewhall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants