[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness#259955
Merged
maximpn merged 1 commit intoelastic:mainfrom Mar 27, 2026
Merged
Conversation
Contributor
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#11248[✅] x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/group4/config.ts: 100/100 tests passed. |
Contributor
|
Pinging @elastic/response-ops (Team:ResponseOps) |
Contributor
💚 Build Succeeded
Metrics [docs]
cc @maximpn |
Contributor
|
Starting backport for target branches: 8.19, 9.2, 9.3 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Mar 27, 2026
…kiness (elastic#259955) **Resolves: elastic#259634 **Relates to:** elastic#258105 ## Summary This PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value. (cherry picked from commit 737848b)
Contributor
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
maximpn
added a commit
to maximpn/kibana
that referenced
this pull request
Mar 27, 2026
…kiness (elastic#259955) **Resolves: elastic#259634 **Relates to:** elastic#258105 ## Summary This PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value. (cherry picked from commit 737848b)
maximpn
added a commit
to maximpn/kibana
that referenced
this pull request
Mar 27, 2026
…kiness (elastic#259955) **Resolves: elastic#259634 **Relates to:** elastic#258105 ## Summary This PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value. (cherry picked from commit 737848b)
Contributor
Author
💚 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
Mar 27, 2026
…st flakiness (#259955) (#260055) # Backport This will backport the following commits from `main` to `9.3`: - [[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)](#259955) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2026-03-27T16:29:05Z","message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:ResponseOps","backport:version","v9.4.0","v9.3.3","v9.2.8","v8.19.14"],"title":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness","number":259955,"url":"https://github.com/elastic/kibana/pull/259955","mergeCommit":{"message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e"}},"sourceBranch":"main","suggestedTargetBranches":["9.3","9.2","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259955","number":259955,"mergeCommit":{"message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e"}},{"branch":"9.3","label":"v9.3.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.14","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
maximpn
added a commit
that referenced
this pull request
Mar 27, 2026
…st flakiness (#259955) (#260063) # Backport This will backport the following commits from `main` to `9.2`: - [[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)](#259955) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2026-03-27T16:29:05Z","message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:ResponseOps","backport:version","v9.4.0","v9.3.3","v9.2.8","v8.19.14"],"title":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness","number":259955,"url":"https://github.com/elastic/kibana/pull/259955","mergeCommit":{"message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259955","number":259955,"mergeCommit":{"message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e"}},{"branch":"9.3","label":"v9.3.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/260055","number":260055,"state":"OPEN"},{"branch":"9.2","label":"v9.2.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.14","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
maximpn
added a commit
that referenced
this pull request
Mar 27, 2026
…est flakiness (#259955) (#260065) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)](#259955) <!--- Backport version: 11.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2026-03-27T16:29:05Z","message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:ResponseOps","backport:version","v9.4.0","v9.3.3","v9.2.8","v8.19.14"],"title":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness","number":259955,"url":"https://github.com/elastic/kibana/pull/259955","mergeCommit":{"message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/259955","number":259955,"mergeCommit":{"message":"[Security Solution] Fix rule's lastRun.outcomeMsg functional test flakiness (#259955)\n\n**Resolves: https://github.com/elastic/kibana/issues/259634**\n**Relates to:** https://github.com/elastic/kibana/pull/258105\n\n## Summary\n\nThis PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.","sha":"737848bc8a0a670e95d9613635683d5e9a17796e"}},{"branch":"9.3","label":"v9.3.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/260055","number":260055,"state":"OPEN"},{"branch":"9.2","label":"v9.2.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.14","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
SoniaSanzV
pushed a commit
to SoniaSanzV/kibana
that referenced
this pull request
Mar 30, 2026
…kiness (elastic#259955) **Resolves: elastic#259634 **Relates to:** elastic#258105 ## Summary This PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.
jeramysoucy
pushed a commit
to jeramysoucy/kibana
that referenced
this pull request
Apr 1, 2026
…kiness (elastic#259955) **Resolves: elastic#259634 **Relates to:** elastic#258105 ## Summary This PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.
paulinashakirova
pushed a commit
to paulinashakirova/kibana
that referenced
this pull request
Apr 2, 2026
…kiness (elastic#259955) **Resolves: elastic#259634 **Relates to:** elastic#258105 ## Summary This PR fixes rule's `lastRun.outcomeMsg` functional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacy `outcomeMsg`'s value.
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.
Resolves: #259634
Relates to: #258105
Summary
This PR fixes rule's
lastRun.outcomeMsgfunctional test flakiness. The flakiness was caused by race condition between rule execution and setting the legacyoutcomeMsg's value.