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

Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux #204959

Open
wants to merge 41 commits into
base: main
Choose a base branch
from

Conversation

Dosant
Copy link
Contributor

@Dosant Dosant commented Dec 19, 2024

Summary

Part of #203163

Relocating only shared-ux-owned plugins for now . Tip on how to review changes if GitHub UI is unmanageable - https://elastic.slack.com/archives/C07TCKTA22E/p1734606026689389

node scripts/relocate.js --include "@kbn/advanced-settings-plugin" --include "@kbn/banners-plugin" --include "@kbn/content-management-plugin" --include "@kbn/custom-branding-plugin" --include "@kbn/files-management-plugin" --include "@kbn/files-plugin" --include "@kbn/global-search-bar-plugin" --include "@kbn/global-search-plugin" --include "@kbn/global-search-providers-plugin" --include "@kbn/guided-onboarding-plugin" --include "@kbn/home-plugin" --include "@kbn/image-embeddable-plugin" --include "@kbn/kibana-overview-plugin" --include "@kbn/kibana-react-plugin" --include "@kbn/kibana-utils-plugin" --include "@kbn/navigation-plugin" --include "@kbn/no-data-page-plugin" --include "@kbn/notifications-plugin" --include "@kbn/reporting-plugin" --include "@kbn/saved-objects-plugin" --include "@kbn/saved-objects-tagging-oss-plugin" --include "@kbn/saved-objects-tagging-plugin" --include "@kbn/screenshot-mode-plugin" --include "@kbn/serverless" --include "@kbn/share-plugin" --include --include "@kbn/ui-actions-enhanced-plugin" --include "@kbn/ui-actions-plugin"
  ┌─────────────────────────────────────────┬───────────────────────────────────────────────────────────┐
  │  Id                                     │  Target folder                                            │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/content-management-plugin         │  src/platform/plugins/shared/content_management           │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/custom-branding-plugin            │  x-pack/platform/plugins/private/custom_branding          │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/files-management-plugin           │  src/platform/plugins/private/files_management            │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/files-plugin                      │  src/platform/plugins/shared/files                        │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/global-search-bar-plugin          │  x-pack/platform/plugins/private/global_search_bar        │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/global-search-plugin              │  x-pack/platform/plugins/shared/global_search             │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/global-search-providers-plugin    │  x-pack/platform/plugins/private/global_search_providers  │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/guided-onboarding-plugin          │  src/platform/plugins/shared/guided_onboarding            │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/home-plugin                       │  src/platform/plugins/shared/home                         │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/image-embeddable-plugin           │  src/platform/plugins/private/image_embeddable            │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/kibana-overview-plugin            │  src/platform/plugins/private/kibana_overview             │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/kibana-react-plugin               │  src/platform/plugins/shared/kibana_react                 │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/kibana-utils-plugin               │  src/platform/plugins/shared/kibana_utils                 │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/navigation-plugin                 │  src/platform/plugins/shared/navigation                   │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/no-data-page-plugin               │  src/platform/plugins/private/no_data_page                │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/notifications-plugin              │  x-pack/platform/plugins/shared/notifications             │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/reporting-plugin                  │  x-pack/platform/plugins/private/reporting                │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/saved-objects-plugin              │  src/platform/plugins/shared/saved_objects                │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/saved-objects-tagging-oss-plugin  │  src/platform/plugins/shared/saved_objects_tagging_oss    │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/saved-objects-tagging-plugin      │  x-pack/platform/plugins/private/saved_objects_tagging    │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/screenshot-mode-plugin            │  src/platform/plugins/shared/screenshot_mode              │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/serverless                        │  x-pack/platform/plugins/shared/serverless                │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/share-plugin                      │  src/platform/plugins/shared/share                        │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/ui-actions-enhanced-plugin        │  src/platform/plugins/shared/ui_actions_enhanced          │
  ├─────────────────────────────────────────┼───────────────────────────────────────────────────────────┤
  │  @kbn/ui-actions-plugin                 │  src/platform/plugins/shared/ui_actions                   │
  └─────────────────────────────────────────┴───────────────────────────────────────────────────────────┘

Copy link
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@Dosant Dosant changed the title Kbn team 1309 relocate 20241219135219 Sustainable Kibana Architecture: Move plugins owned by @elastic/appex-sharedux Dec 19, 2024
@Dosant Dosant added release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Dec 19, 2024
@Dosant Dosant requested review from a team as code owners December 20, 2024 13:38
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

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

appex-qa changes LGTM

Copy link
Contributor

@gsoldevila gsoldevila left a comment

Choose a reason for hiding this comment

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

🚀

@Dosant
Copy link
Contributor Author

Dosant commented Dec 23, 2024

@elasticmachine merge upstream

Copy link
Contributor

@szwarckonrad szwarckonrad left a comment

Choose a reason for hiding this comment

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

DW changes are only related to a single URL in a comment.

@@ -164,8 +164,8 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/platform\/packages\/shared\/ai-infra/,
/^x-pack\/platform\/plugins\/shared\/ai_infra/,
/^x-pack\/platform\/plugins\/shared\/inference/,
/^x-pack\/platform\/platform\/plugins\/shared\/shared\/ai_infra/,
Copy link
Contributor

Choose a reason for hiding this comment

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

These paths don't look right, the "platform" part seems duplicated. (More occurrences in the file)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you! adjusted manually

cc @gsoldevila

Copy link
Contributor

@delanni delanni left a comment

Choose a reason for hiding this comment

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

Paths testing in pipeline.ts doesn't look right

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

single file impact, change LGTM for the Threat Hunting Investigations team

Copy link
Contributor

@mattkime mattkime left a comment

Choose a reason for hiding this comment

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

codeowner changes lgtm

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

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

id before after diff
kibanaReact 197.2KB 197.1KB -12.0B

Page load bundle

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

id before after diff
kibanaReact 40.0KB 39.6KB -421.0B

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) plugin groups Relocate all plugins and packages under their respective platform/solution groups release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

Successfully merging this pull request may close these issues.