-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[9.0] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) #231625
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
Merged
Conversation
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
7ab14ea to
8313ded
Compare
8313ded to
a57b164
Compare
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
|
dplumlee
approved these changes
Aug 13, 2025
banderror
added a commit
that referenced
this pull request
Aug 17, 2025
…ess to reduce flakiness (#229689) (#231823) # Backport This will backport the following commits from `main` to `9.1`: - [[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)](#229689) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-13T12:31:26Z","message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","impact:high","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.1.3","v8.19.3","v9.0.6","v8.18.6"],"title":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness","number":229689,"url":"https://github.com/elastic/kibana/pull/229689","mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},"sourceBranch":"main","suggestedTargetBranches":["9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229689","number":229689,"mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231613","number":231613,"state":"OPEN"},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231625","number":231625,"state":"MERGED","mergeCommit":{"sha":"486b8164ee7c6eabf4cd31d183409fe5c366a553","message":"[9.0] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231625)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"8.18","label":"v8.18.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231628","number":231628,"state":"MERGED","mergeCommit":{"sha":"931e5ea6edad4fad74a3b116fea66e8f440eab43","message":"[8.18] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231628)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.18`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}}]}] BACKPORT--> Co-authored-by: Maxim Palenov <[email protected]>
banderror
added a commit
that referenced
this pull request
Aug 17, 2025
…ress to reduce flakiness (#229689) (#231998) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)](#229689) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Maxim Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-13T12:31:26Z","message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","impact:high","backport missing","Team:Detections and Resp","Team: SecuritySolution","Team:Detection Rule Management","Feature:Prebuilt Detection Rules","backport:version","v9.2.0","v9.1.3","v8.19.3","v9.0.6","v8.18.6"],"title":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness","number":229689,"url":"https://github.com/elastic/kibana/pull/229689","mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229689","number":229689,"mergeCommit":{"message":"[Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689)\n\n**Resolves: https://github.com/elastic/kibana/issues/182441**\n**Resolves: https://github.com/elastic/kibana/issues/182442**\n**Resolves: https://github.com/elastic/kibana/issues/228942**\n**Relates to: https://github.com/elastic/kibana/pull/227689**\n\n## Summary\n\nThis PR installs mock prebuilt rules package for e2e Cypress test to\nreduce flakniess caused by accessing to the real EPR. It's similar to\nthe mock package installation in integration tests\n[PR](https://github.com/elastic/kibana/pull/227689).\n\n**Flaky test runner**\n- ESS:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9120\n- Serverless:\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9121","sha":"980add17c585d370d555e93b9146bbaad5d7a2d4"}},{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231823","number":231823,"state":"OPEN"},{"branch":"8.19","label":"v8.19.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231613","number":231613,"state":"OPEN"},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231625","number":231625,"state":"MERGED","mergeCommit":{"sha":"486b8164ee7c6eabf4cd31d183409fe5c366a553","message":"[9.0] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231625)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"8.18","label":"v8.18.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/231628","number":231628,"state":"MERGED","mergeCommit":{"sha":"931e5ea6edad4fad74a3b116fea66e8f440eab43","message":"[8.18] [Security Solution] Install mock prebuilt rules package in Cypress to reduce flakiness (#229689) (#231628)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.18`:\n- [[Security Solution] Install mock prebuilt rules package in Cypress to\nreduce flakiness\n(#229689)](https://github.com/elastic/kibana/pull/229689)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}}]}] BACKPORT--> Co-authored-by: Maxim Palenov <[email protected]>
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.
Backport
This will backport the following commits from
mainto9.0:Questions ?
Please refer to the Backport tool documentation