Skip to content

Address some of the no_group_crossing dependencies#198261

Merged
gsoldevila merged 16 commits intoelastic:mainfrom
gsoldevila:kbn-team-1079-fix-illegal-deps-1
Nov 6, 2024
Merged

Address some of the no_group_crossing dependencies#198261
gsoldevila merged 16 commits intoelastic:mainfrom
gsoldevila:kbn-team-1079-fix-illegal-deps-1

Conversation

@gsoldevila
Copy link
Contributor

@gsoldevila gsoldevila commented Oct 30, 2024

Summary

This PR relocates some plugins and packages that are incorrectly categorised, aiming at reducing inter-solution dependencies. It also fixes some incorrect import statements that introduce unnecessary dependencies with other components.

@gsoldevila gsoldevila added Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor labels Oct 30, 2024
@gsoldevila gsoldevila requested review from a team as code owners October 30, 2024 09:00
@gsoldevila gsoldevila requested review from a team October 30, 2024 09:00
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Oct 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

LGTM

@gsoldevila gsoldevila marked this pull request as draft October 30, 2024 10:24
@gsoldevila gsoldevila marked this pull request as ready for review October 31, 2024 10:20
@gsoldevila gsoldevila requested a review from a team as a code owner October 31, 2024 10:20
@kibanamachine
Copy link
Contributor

PR Project deployment started at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/71

@kibanamachine
Copy link
Contributor

Project deployed, see credentials at: https://buildkite.com/elastic/kibana-deploy-project-from-pr/builds/71

Copy link
Contributor

@consulthys consulthys left a comment

Choose a reason for hiding this comment

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

LGT Stack Monitoring

Copy link
Contributor

@mgiota mgiota left a comment

Choose a reason for hiding this comment

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

LGTM! I played with o11y table's column headers and actions and works same as before!

@gsoldevila gsoldevila requested review from maryam-saeidi and removed request for maryam-saeidi November 5, 2024 11:05
@gsoldevila gsoldevila removed the request for review from maryam-saeidi November 5, 2024 14:32
@gsoldevila gsoldevila enabled auto-merge (squash) November 5, 2024 14:33
@elasticmachine
Copy link
Contributor

elasticmachine commented Nov 6, 2024

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: 0f3c93e
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-198261-0f3c93e20aa2

Failed CI Steps

Metrics [docs]

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
telemetryCollectionXpack 1 0 -1

Async chunks

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

id before after diff
observability 471.5KB 471.1KB -444.0B

Page load bundle

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

id before after diff
upgradeAssistant 24.6KB 24.6KB -46.0B
Unknown metric groups

API count

id before after diff
telemetryCollectionXpack 1 0 -1

History

@gsoldevila gsoldevila merged commit 730f4c9 into elastic:main Nov 6, 2024
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11705882876

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [Fleet] [Cloud Security] Add Testing Library ESLint for handling waitFor (#198735)

Manual backport

To create the backport manually run:

node scripts/backport --pr 198261

Questions ?

Please refer to the Backport tool documentation

@gsoldevila
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Nov 6, 2024
### Summary

This PR relocates some plugins and packages that are incorrectly
categorised, aiming at reducing inter-solution dependencies. It also
fixes some incorrect import statements that introduce unnecessary
dependencies with other components.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
(cherry picked from commit 730f4c9)

# Conflicts:
#	.eslintrc.js
#	src/plugins/ai_assistant_management/selection/kibana.jsonc
#	x-pack/packages/kbn-ai-assistant/kibana.jsonc
#	x-pack/plugins/dashboard_enhanced/kibana.jsonc
#	x-pack/plugins/observability_solution/observability_ai_assistant/kibana.jsonc
#	x-pack/plugins/screenshotting/kibana.jsonc
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Nov 7, 2024
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

gsoldevila added a commit that referenced this pull request Nov 8, 2024
…199165)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Address some of the `no_group_crossing` dependencies
(#198261)](#198261)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-11-06T14:44:35Z","message":"Address
some of the `no_group_crossing` dependencies (#198261)\n\n###
Summary\r\n\r\nThis PR relocates some plugins and packages that are
incorrectly\r\ncategorised, aiming at reducing inter-solution
dependencies. It also\r\nfixes some incorrect import statements that
introduce unnecessary\r\ndependencies with other
components.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"730f4c9d2a5119a9f30e9b94ccb28ec418af270a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:Obs
AI
Assistant","ci:project-deploy-observability","Team:obs-ux-management"],"number":198261,"url":"https://github.com/elastic/kibana/pull/198261","mergeCommit":{"message":"Address
some of the `no_group_crossing` dependencies (#198261)\n\n###
Summary\r\n\r\nThis PR relocates some plugins and packages that are
incorrectly\r\ncategorised, aiming at reducing inter-solution
dependencies. It also\r\nfixes some incorrect import statements that
introduce unnecessary\r\ndependencies with other
components.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"730f4c9d2a5119a9f30e9b94ccb28ec418af270a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198261","number":198261,"mergeCommit":{"message":"Address
some of the `no_group_crossing` dependencies (#198261)\n\n###
Summary\r\n\r\nThis PR relocates some plugins and packages that are
incorrectly\r\ncategorised, aiming at reducing inter-solution
dependencies. It also\r\nfixes some incorrect import statements that
introduce unnecessary\r\ndependencies with other
components.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"730f4c9d2a5119a9f30e9b94ccb28ec418af270a"}}]}]
BACKPORT-->
@kibanamachine kibanamachine added v8.17.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// Team:Obs AI Assistant Observability AI Assistant v8.17.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.