[Automatic Migrations] Include a key property for better identification of migration options.#253676
Merged
angorayc merged 4 commits intoelastic:mainfrom Feb 19, 2026
Merged
[Automatic Migrations] Include a key property for better identification of migration options.#253676angorayc merged 4 commits intoelastic:mainfrom
key property for better identification of migration options.#253676angorayc merged 4 commits intoelastic:mainfrom
Conversation
Contributor
|
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Contributor
|
Starting backport for target branches: 9.3 https://github.com/elastic/kibana/actions/runs/22179570311 |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
History
|
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Feb 19, 2026
…tion of migration options. (elastic#253676) ## Summary elastic#244525 Fixes EuiComboBox migration selection when multiple migrations share the same name by ensuring options have a unique key (id) and by deriving selectedOptions from the existing option instance matched by migration id. ### Steps to reproduce 1. Create a few SIEM migrations with the same name 2. Visit the migrations page 3. Select one of the migrations ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 7a7ed9b)
Contributor
💚 All backports created successfully
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
Feb 19, 2026
…tification of migration options. (#253676) (#253945) # Backport This will backport the following commits from `main` to `9.3`: - [[Automatic Migrations] Include a `key` property for better identification of migration options. (#253676)](#253676) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Angela Chuang","email":"6295984+angorayc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-02-19T11:17:24Z","message":"[Automatic Migrations] Include a `key` property for better identification of migration options. (#253676)\n\n## Summary\n\nhttps://github.com//issues/244525\n\nFixes EuiComboBox migration selection when multiple migrations share the\nsame name by ensuring options have a unique key (id) and by deriving\nselectedOptions from the existing option instance matched by migration\nid.\n\n### Steps to reproduce\n\n1. Create a few SIEM migrations with the same name\n2. Visit the migrations page\n3. Select one of the migrations\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"7a7ed9be51fa94c4ff732655c54a7a1c89bf3fcb","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat Hunting","backport:version","v9.4.0","v9.3.1"],"title":"[Automatic Migrations] Include a `key` property for better identification of migration options.","number":253676,"url":"https://github.com/elastic/kibana/pull/253676","mergeCommit":{"message":"[Automatic Migrations] Include a `key` property for better identification of migration options. (#253676)\n\n## Summary\n\nhttps://github.com//issues/244525\n\nFixes EuiComboBox migration selection when multiple migrations share the\nsame name by ensuring options have a unique key (id) and by deriving\nselectedOptions from the existing option instance matched by migration\nid.\n\n### Steps to reproduce\n\n1. Create a few SIEM migrations with the same name\n2. Visit the migrations page\n3. Select one of the migrations\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"7a7ed9be51fa94c4ff732655c54a7a1c89bf3fcb"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253676","number":253676,"mergeCommit":{"message":"[Automatic Migrations] Include a `key` property for better identification of migration options. (#253676)\n\n## Summary\n\nhttps://github.com//issues/244525\n\nFixes EuiComboBox migration selection when multiple migrations share the\nsame name by ensuring options have a unique key (id) and by deriving\nselectedOptions from the existing option instance matched by migration\nid.\n\n### Steps to reproduce\n\n1. Create a few SIEM migrations with the same name\n2. Visit the migrations page\n3. Select one of the migrations\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"7a7ed9be51fa94c4ff732655c54a7a1c89bf3fcb"}},{"branch":"9.3","label":"v9.3.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
ersin-erdal
pushed a commit
to ersin-erdal/kibana
that referenced
this pull request
Feb 19, 2026
…tion of migration options. (elastic#253676) ## Summary elastic#244525 Fixes EuiComboBox migration selection when multiple migrations share the same name by ensuring options have a unique key (id) and by deriving selectedOptions from the existing option instance matched by migration id. ### Steps to reproduce 1. Create a few SIEM migrations with the same name 2. Visit the migrations page 3. Select one of the migrations ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#244525
Fixes EuiComboBox migration selection when multiple migrations share the same name by ensuring options have a unique key (id) and by deriving selectedOptions from the existing option instance matched by migration id.
Steps to reproduce
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.