Skip to content

Conversation

@ymao1
Copy link
Contributor

@ymao1 ymao1 commented 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
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@ymao1 ymao1 merged commit f5ca91c into elastic:8.19 Sep 8, 2025
8 checks passed
@ymao1 ymao1 deleted the backport/8.19/pr-234189 branch September 8, 2025 18:17
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-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants