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

[Upgrade Assistant] Add confirmation modal before migrating system indices #200117

Merged

Conversation

youhonglian
Copy link
Contributor

@youhonglian youhonglian commented Nov 14, 2024

Summary

close #199621

In this PR, add a confirmation modal when the migrate indices button is clicked.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_node:* label is applied per the guidelines

Identify risks

Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.

@youhonglian youhonglian requested a review from a team as a code owner November 14, 2024 07:08
@youhonglian
Copy link
Contributor Author

@elasticmachine merge upstream

@youhonglian
Copy link
Contributor Author

@sabarasaba Could you please take a look? :)

Copy link
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

Hey, thanks for having a look at this @youhonglian! Tested locally and works well, I left few comments for you to have a look. I would also love to see some tests implemented before we merge this.

Edit: There are also few broken tests that need to be looked at.

@sabarasaba sabarasaba added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes Feature:Upgrade Assistant backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Nov 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@sabarasaba
Copy link
Member

@elasticmachine merge upstream

@sabarasaba
Copy link
Member

/ci

@youhonglian
Copy link
Contributor Author

/ci

…/overview/migrate_system_indices/migrate_system_indices.tsx

Co-authored-by: wajihaparvez <[email protected]>
@sabarasaba
Copy link
Member

@elasticmachine merge upstream

@sabarasaba
Copy link
Member

/ci

@sabarasaba
Copy link
Member

/ci

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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
upgradeAssistant 159.0KB 159.8KB +863.0B

History

cc @youhonglian

Copy link
Member

@sabarasaba sabarasaba left a comment

Choose a reason for hiding this comment

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

Latest lgtm!

@sabarasaba
Copy link
Member

@elasticmachine run docs-build

@sabarasaba sabarasaba enabled auto-merge (squash) December 5, 2024 11:31
@sabarasaba sabarasaba merged commit bd576e6 into elastic:main Dec 5, 2024
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

@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 5, 2024
…tem indices (#200117) (#203085)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Upgrade Assistant] Add confirmation modal before migrating system
indices (#200117)](#200117)

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

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

<!--BACKPORT
[{"author":{"name":"youhonglian","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-05T11:54:34Z","message":"[Upgrade
Assistant] Add confirmation modal before migrating system indices
(#200117)","sha":"bd576e6cef57001692eb79c2befab09ac076714d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","Feature:Upgrade
Assistant","💝community","v9.0.0","backport:prev-minor"],"title":"[Upgrade
Assistant] Add confirmation modal before migrating system
indices","number":200117,"url":"https://github.com/elastic/kibana/pull/200117","mergeCommit":{"message":"[Upgrade
Assistant] Add confirmation modal before migrating system indices
(#200117)","sha":"bd576e6cef57001692eb79c2befab09ac076714d"}},"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/200117","number":200117,"mergeCommit":{"message":"[Upgrade
Assistant] Add confirmation modal before migrating system indices
(#200117)","sha":"bd576e6cef57001692eb79c2befab09ac076714d"}}]}]
BACKPORT-->

Co-authored-by: youhonglian <[email protected]>
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Dec 9, 2024
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Dec 9, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 9, 2024
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/kibana that referenced this pull request Dec 10, 2024
mykolaharmash pushed a commit to mykolaharmash/kibana that referenced this pull request Dec 11, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
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) 💝community Feature:Upgrade Assistant release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Upgrade Assistant] Add confirmation modal before migrating system indices
5 participants