Skip to content

Make saved_objects_tagging plugin shared#205695

Merged
gsoldevila merged 1 commit intoelastic:mainfrom
gsoldevila:make-saved-objects-tagging-shared
Jan 7, 2025
Merged

Make saved_objects_tagging plugin shared#205695
gsoldevila merged 1 commit intoelastic:mainfrom
gsoldevila:make-saved-objects-tagging-shared

Conversation

@gsoldevila
Copy link
Copy Markdown
Member

@gsoldevila gsoldevila commented Jan 7, 2025

Summary

So that it can be used from streams_app (o11y).
See #204309

Steps to relocate:

  1. Fetch latest main
  2. Update the group and/or visibility in the module's manifest.
  3. Run node scripts/relocate --moveOnly @kbn/saved-objects-tagging-plugin

@gsoldevila gsoldevila requested review from a team as code owners January 7, 2025 10:17
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 7, 2025

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.

if (!module.group || module.group === 'common' || !module.visibility) {
const { group, visibility } = module.manifest;

if (!group || group === 'common' || !visibility) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fix a bug in the script: use group and visibility from the manifest, rather than those inferred from path.

Copy link
Copy Markdown
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

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

thanks!

@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 Jan 7, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #108 / serverless observability UI Dataset Quality Degraded fields flyout detecting root cause for ignored fields current field limit issues should display increase field limit as a possible mitigation for special packages like apm app

Metrics [docs]

✅ unchanged

@gsoldevila gsoldevila merged commit a8579bb into elastic:main Jan 7, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x

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

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 205695

Questions ?

Please refer to the Backport tool documentation

gsoldevila added a commit to gsoldevila/kibana that referenced this pull request Jan 8, 2025
## Summary

So that it can be used from `streams_app` (o11y).
See  elastic#204309

Steps to relocate:

1. Fetch latest `main`
2. Update the `group` and/or `visibility` in the module's manifest.
3. Run `node scripts/relocate --moveOnly
@kbn/saved-objects-tagging-plugin`

(cherry picked from commit a8579bb)

# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-relocate/utils/relocate.ts
@gsoldevila
Copy link
Copy Markdown
Member 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

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jan 8, 2025
@kibanamachine
Copy link
Copy Markdown
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 Jan 9, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- [Make `saved_objects_tagging` plugin shared
(#205695)](#205695)

<!--- 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":"2025-01-07T17:15:17Z","message":"Make
`saved_objects_tagging` plugin shared (#205695)\n\n## Summary\r\n\r\nSo
that it can be used from `streams_app` (o11y).\r\nSee
https://github.com/elastic/kibana/pull/204309\r\n\r\nSteps to
relocate:\r\n\r\n1. Fetch latest `main`\r\n2. Update the `group` and/or
`visibility` in the module's manifest.\r\n3. Run `node scripts/relocate
--moveOnly\r\n@kbn/saved-objects-tagging-plugin`","sha":"a8579bb41f08ead668f0882ce8605ab8e8c07d2b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"number":205695,"url":"https://github.com/elastic/kibana/pull/205695","mergeCommit":{"message":"Make
`saved_objects_tagging` plugin shared (#205695)\n\n## Summary\r\n\r\nSo
that it can be used from `streams_app` (o11y).\r\nSee
https://github.com/elastic/kibana/pull/204309\r\n\r\nSteps to
relocate:\r\n\r\n1. Fetch latest `main`\r\n2. Update the `group` and/or
`visibility` in the module's manifest.\r\n3. Run `node scripts/relocate
--moveOnly\r\n@kbn/saved-objects-tagging-plugin`","sha":"a8579bb41f08ead668f0882ce8605ab8e8c07d2b"}},"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/205695","number":205695,"mergeCommit":{"message":"Make
`saved_objects_tagging` plugin shared (#205695)\n\n## Summary\r\n\r\nSo
that it can be used from `streams_app` (o11y).\r\nSee
https://github.com/elastic/kibana/pull/204309\r\n\r\nSteps to
relocate:\r\n\r\n1. Fetch latest `main`\r\n2. Update the `group` and/or
`visibility` in the module's manifest.\r\n3. Run `node scripts/relocate
--moveOnly\r\n@kbn/saved-objects-tagging-plugin`","sha":"a8579bb41f08ead668f0882ce8605ab8e8c07d2b"}}]}]
BACKPORT-->

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine kibanamachine added v8.18.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Jan 9, 2025
viduni94 pushed a commit to viduni94/kibana that referenced this pull request Jan 23, 2025
## Summary

So that it can be used from `streams_app` (o11y).
See  elastic#204309

Steps to relocate:

1. Fetch latest `main`
2. Update the `group` and/or `visibility` in the module's manifest.
3. Run `node scripts/relocate --moveOnly
@kbn/saved-objects-tagging-plugin`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants