Skip to content

Conversation

@ymao1
Copy link
Contributor

@ymao1 ymao1 commented Sep 5, 2025

Fixes #233770

Summary

Added some debug logging to the task manager migrations to verify that the 8.8.0 migrations are being applied. Added a retry so the test will wait a little longer for the migration to be complete and the task instance to be updated with the UUID.

Flaky test runner:

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#9294

[❌] x-pack/platform/test/plugin_api_integration/config.ts: 79/100 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#9295

[❌] x-pack/platform/test/plugin_api_integration/config.ts: 122/150 tests passed.

see run history

@ymao1 ymao1 changed the title Adding logging Fixes Failing test: Plugin Functional Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts Sep 5, 2025
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#9298

[✅] x-pack/platform/test/plugin_api_integration/config.ts: 200/200 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#9299

[✅] x-pack/platform/test/plugin_api_integration/config.ts: 200/200 tests passed.

see run history

@ymao1 ymao1 self-assigned this Sep 5, 2025
@ymao1 ymao1 added release_note:skip Skip the PR/issue when compiling release notes Feature:Task Manager backport:skip This PR does not require backporting Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v9.2.0 labels Sep 5, 2025
@ymao1 ymao1 marked this pull request as ready for review September 5, 2025 19:45
@ymao1 ymao1 requested a review from a team as a code owner September 5, 2025 19:45
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@ymao1 ymao1 requested review from guskovaue and pmuellr September 5, 2025 19:45
Copy link
Contributor

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

Change looks fine, but doesn't really match the PR description.

Also, do we want to backport this? Guessing it would be a safe backport to 8.19 and in between ...

@ymao1 ymao1 added v9.1.4 v8.19.4 backport:version Backport to applied version labels and removed backport:skip This PR does not require backporting labels Sep 8, 2025
@ymao1
Copy link
Contributor Author

ymao1 commented Sep 8, 2025

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @ymao1

@ymao1 ymao1 merged commit 0552314 into elastic:main Sep 8, 2025
12 checks passed
@ymao1 ymao1 deleted the flaky-test-233770 branch September 8, 2025 15:07
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 8, 2025
…in_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (elastic#234189)

Fixes elastic#233770

## Summary

Added some debug logging to the task manager migrations to verify that
the 8.8.0 migrations are being applied. Added a retry so the test will
wait a little longer for the migration to be complete and the task
instance to be updated with the UUID.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 0552314)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- [ska] relocate esArchives to platform/test/fixtures (#229750)
9.1

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 234189

Questions ?

Please refer to the Backport tool documentation

@ymao1
Copy link
Contributor Author

ymao1 commented Sep 8, 2025

💚 All backports created successfully

Status Branch Result
8.19

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

Questions ?

Please refer to the Backport tool documentation

ymao1 added a commit to ymao1/kibana that referenced this pull request Sep 8, 2025
…in_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (elastic#234189)

Fixes elastic#233770

## Summary

Added some debug logging to the task manager migrations to verify that
the 8.8.0 migrations are being applied. Added a retry so the test will
wait a little longer for the migration to be complete and the task
instance to be updated with the UUID.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 0552314)

# Conflicts:
#	x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations.ts
kibanamachine added a commit that referenced this pull request Sep 8, 2025
…t/plugin_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189) (#234329)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)](#234189)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-09-08T15:07:18Z","message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Task
Manager","Team:ResponseOps","backport:version","v9.2.0","v9.1.4","v8.19.4"],"title":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all
alerts","number":234189,"url":"https://github.com/elastic/kibana/pull/234189","mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234189","number":234189,"mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},{"branch":"9.1","label":"v9.1.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ying Mao <ying.mao@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
ymao1 added a commit that referenced this pull request Sep 8, 2025
…st/plugin_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189) (#234331)

# Backport

This will backport the following commits from `main` to `8.19`:
- [Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)](#234189)

<!--- Backport version: 10.0.2 -->

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

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-09-08T15:07:18Z","message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Task
Manager","Team:ResponseOps","backport:version","v9.2.0","v9.1.4","v8.19.4"],"title":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all
alerts","number":234189,"url":"https://github.com/elastic/kibana/pull/234189","mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234189","number":234189,"mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},{"branch":"9.1","label":"v9.1.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/234329","number":234329,"state":"OPEN"},{"branch":"8.19","label":"v8.19.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@ymao1 ymao1 added v8.18.8 v9.0.8 backport:version Backport to applied version labels and removed backport:version Backport to applied version labels labels Sep 11, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.18, 8.19, 9.0, 9.1

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

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.18 Backport failed because of merge conflicts
8.19 Cherrypick failed because the selected commit (0552314) is empty. It looks like the commit was already backported in #234331
9.0 Backport failed because of merge conflicts
9.1 Cherrypick failed because the selected commit (0552314) is empty. It looks like the commit was already backported in #234329

Manual backport

To create the backport manually run:

node scripts/backport --pr 234189

Questions ?

Please refer to the Backport tool documentation

@ymao1
Copy link
Contributor Author

ymao1 commented Sep 11, 2025

💚 All backports created successfully

Status Branch Result
9.0
8.18

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

Questions ?

Please refer to the Backport tool documentation

ymao1 added a commit to ymao1/kibana that referenced this pull request Sep 11, 2025
…in_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (elastic#234189)

Fixes elastic#233770

## Summary

Added some debug logging to the task manager migrations to verify that
the 8.8.0 migrations are being applied. Added a retry so the test will
wait a little longer for the migration to be complete and the task
instance to be updated with the UUID.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 0552314)

# Conflicts:
#	x-pack/test/plugin_api_integration/test_suites/task_manager/migrations.ts
ymao1 added a commit to ymao1/kibana that referenced this pull request Sep 11, 2025
…in_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (elastic#234189)

Fixes elastic#233770

## Summary

Added some debug logging to the task manager migrations to verify that
the 8.8.0 migrations are being applied. Added a retry so the test will
wait a little longer for the migration to be complete and the task
instance to be updated with the UUID.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 0552314)

# Conflicts:
#	x-pack/test/plugin_api_integration/test_suites/task_manager/migrations.ts
ymao1 added a commit that referenced this pull request Sep 12, 2025
…t/plugin_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189) (#234821)

# Backport

This will backport the following commits from `main` to `9.0`:
- [Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)](#234189)

<!--- Backport version: 10.0.2 -->

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

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-09-08T15:07:18Z","message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Task
Manager","Team:ResponseOps","backport:version","v9.2.0","v9.1.4","v8.19.4","v8.18.8","v9.0.8"],"title":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all
alerts","number":234189,"url":"https://github.com/elastic/kibana/pull/234189","mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234189","number":234189,"mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},{"branch":"9.1","label":"v9.1.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/234329","number":234329,"state":"MERGED","mergeCommit":{"sha":"c2f399413feb5017cd49d031f49c084c20be0e66","message":"[9.1]
Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189)
(#234329)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.1`:\n- [Fixes Failing test: Plugin
Functional\nTests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts\n-
task_manager migrations 8.8.0 adds UUIDs to all
alerts\n(#234189)](https://github.com/elastic/kibana/pull/234189)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Ying Mao <ying.mao@elastic.co>\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>"}},{"branch":"8.19","label":"v8.19.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/234331","number":234331,"state":"MERGED","mergeCommit":{"sha":"f5ca91c0a7fce10183a981a46f13e57570104b0a","message":"[8.19]
Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189)
(#234331)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.19`:\n- [Fixes Failing test: Plugin
Functional\nTests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts\n-
task_manager migrations 8.8.0 adds UUIDs to all
alerts\n(#234189)](https://github.com/elastic/kibana/pull/234189)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>"}},{"branch":"8.18","label":"v8.18.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
ymao1 added a commit that referenced this pull request Sep 12, 2025
…st/plugin_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189) (#234822)

# Backport

This will backport the following commits from `main` to `8.18`:
- [Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)](#234189)

<!--- Backport version: 10.0.2 -->

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

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-09-08T15:07:18Z","message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Task
Manager","Team:ResponseOps","backport:version","v9.2.0","v9.1.4","v8.19.4","v8.18.8","v9.0.8"],"title":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all
alerts","number":234189,"url":"https://github.com/elastic/kibana/pull/234189","mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234189","number":234189,"mergeCommit":{"message":"Fixes
Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts
(#234189)\n\nFixes https://github.com/elastic/kibana/issues/233770\n\n##
Summary\n\nAdded some debug logging to the task manager migrations to
verify that\nthe 8.8.0 migrations are being applied. Added a retry so
the test will\nwait a little longer for the migration to be complete and
the task\ninstance to be updated with the UUID.\n\nFlaky test
runner:\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299\n-\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"0552314bd6734ac51a6c5431ee66fddf58b44688"}},{"branch":"9.1","label":"v9.1.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/234329","number":234329,"state":"MERGED","mergeCommit":{"sha":"c2f399413feb5017cd49d031f49c084c20be0e66","message":"[9.1]
Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189)
(#234329)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.1`:\n- [Fixes Failing test: Plugin
Functional\nTests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts\n-
task_manager migrations 8.8.0 adds UUIDs to all
alerts\n(#234189)](https://github.com/elastic/kibana/pull/234189)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Ying Mao <ying.mao@elastic.co>\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>"}},{"branch":"8.19","label":"v8.19.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/234331","number":234331,"state":"MERGED","mergeCommit":{"sha":"f5ca91c0a7fce10183a981a46f13e57570104b0a","message":"[8.19]
Fixes Failing test: Plugin Functional
Tests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts
- task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189)
(#234331)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.19`:\n- [Fixes Failing test: Plugin
Functional\nTests.x-pack/platform/test/plugin_api_integration/test_suites/task_manager/migrations·ts\n-
task_manager migrations 8.8.0 adds UUIDs to all
alerts\n(#234189)](https://github.com/elastic/kibana/pull/234189)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>"}},{"branch":"8.18","label":"v8.18.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
KodeRad pushed a commit to KodeRad/kibana that referenced this pull request Sep 15, 2025
…in_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (elastic#234189)

Fixes elastic#233770

## Summary

Added some debug logging to the task manager migrations to verify that
the 8.8.0 migrations are being applied. Added a retry so the test will
wait a little longer for the migration to be complete and the task
instance to be updated with the UUID.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Sep 24, 2025
…in_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (elastic#234189)

Fixes elastic#233770

## Summary

Added some debug logging to the task manager migrations to verify that
the 8.8.0 migrations are being applied. Added a retry so the test will
wait a little longer for the migration to be complete and the task
instance to be updated with the UUID.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
niros1 pushed a commit that referenced this pull request Sep 30, 2025
…in_api_integration/test_suites/task_manager/migrations·ts - task_manager migrations 8.8.0 adds UUIDs to all alerts (#234189)

Fixes #233770

## Summary

Added some debug logging to the task manager migrations to verify that
the 8.8.0 migrations are being applied. Added a retry so the test will
wait a little longer for the migration to be complete and the task
instance to be updated with the UUID.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9299
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9298

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels Feature:Task Manager release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v8.18.7 v8.18.8 v8.19.4 v9.0.7 v9.0.8 v9.1.4 v9.2.0

Projects

None yet

4 participants