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

[deprecations/dataviews]: Check in all spaces #202354

Merged

Conversation

afharo
Copy link
Member

@afharo afharo commented Nov 29, 2024

Summary

In order to show all potential deprecations, the SO request should include all spaces by appending namespaces: ['*'].

This PR adds that, although it doesn't change the test (which, IMO, should include the offending space). Feel free to commit to this PR or to create a follow-up (whatever you prefer).

Related: #202341

@afharo afharo requested a review from a team as a code owner November 29, 2024 16:48
@afharo afharo added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Nov 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@afharo afharo self-assigned this Nov 29, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @afharo

Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Thanks for raising and addressing this, LGTM 👍 I agree about surfacing the spaces to users, and I'm building on this change in #202250 to support showing spaces in the deprecation message:
image

@afharo afharo merged commit 5ed54ec into elastic:main Dec 2, 2024
9 checks passed
@afharo afharo deleted the deprecations/data_views/check-all-spaces branch December 2, 2024 15:40
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 2, 2024
## Summary

In order to show all potential deprecations, the SO request should
include all spaces by appending `namespaces: ['*']`.

This PR adds that, although it doesn't change the test (which, IMO,
should include the offending space). Feel free to commit to this PR or
to create a follow-up (whatever you prefer).

Related: elastic#202341
(cherry picked from commit 5ed54ec)
@kibanamachine
Copy link
Contributor

💚 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 added a commit that referenced this pull request Dec 2, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[deprecations/dataviews]: Check in all spaces
(#202354)](#202354)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-02T15:40:16Z","message":"[deprecations/dataviews]:
Check in all spaces (#202354)\n\n## Summary\n\nIn order to show all
potential deprecations, the SO request should\ninclude all spaces by
appending `namespaces: ['*']`.\n\nThis PR adds that, although it doesn't
change the test (which, IMO,\nshould include the offending space). Feel
free to commit to this PR or\nto create a follow-up (whatever you
prefer).\n\nRelated:
https://github.com/elastic/kibana/issues/202341","sha":"5ed54ec93c573f2a23a00d59075000ec085fef98","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor"],"title":"[deprecations/dataviews]:
Check in all
spaces","number":202354,"url":"https://github.com/elastic/kibana/pull/202354","mergeCommit":{"message":"[deprecations/dataviews]:
Check in all spaces (#202354)\n\n## Summary\n\nIn order to show all
potential deprecations, the SO request should\ninclude all spaces by
appending `namespaces: ['*']`.\n\nThis PR adds that, although it doesn't
change the test (which, IMO,\nshould include the offending space). Feel
free to commit to this PR or\nto create a follow-up (whatever you
prefer).\n\nRelated:
https://github.com/elastic/kibana/issues/202341","sha":"5ed54ec93c573f2a23a00d59075000ec085fef98"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202354","number":202354,"mergeCommit":{"message":"[deprecations/dataviews]:
Check in all spaces (#202354)\n\n## Summary\n\nIn order to show all
potential deprecations, the SO request should\ninclude all spaces by
appending `namespaces: ['*']`.\n\nThis PR adds that, although it doesn't
change the test (which, IMO,\nshould include the offending space). Feel
free to commit to this PR or\nto create a follow-up (whatever you
prefer).\n\nRelated:
https://github.com/elastic/kibana/issues/202341","sha":"5ed54ec93c573f2a23a00d59075000ec085fef98"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <[email protected]>
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) release_note:skip Skip the PR/issue when compiling release notes Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants